gl2ps-vl.spec 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. Summary: An OpenGL to PostScript printing library
  2. Summary(ja): OpenGL から PostScript を出力するライブラリ
  3. Summary(pl): Biblioteka drukowania z OpenGL-a do PostScriptu
  4. Name: gl2ps
  5. Version: 1.3.9
  6. Release: 3%{?_dist_release}
  7. License: LGPLv2+ or GL2PS
  8. Group: System Environment/Libraries
  9. URL: http://www.geuz.org/gl2ps/
  10. Source0: http://www.geuz.org/gl2ps/src/%{name}-%{version}.tgz
  11. # # Vine Patch
  12. # Patch700: gl2ps-1.3.8-nostatic.patch
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildRequires: cmake >= 2.4
  15. BuildRequires: mesa-libGL-devel
  16. BuildRequires: libpng-devel
  17. BuildRequires: texlive
  18. BuildRequires: zlib-devel
  19. %description
  20. GL2PS is a C library providing high quality vector output for any
  21. OpenGL application. The main difference between GL2PS and other
  22. similar libraries is the use of sorting algorithms capable of handling
  23. intersecting and stretched polygons, as well as non manifold objects.
  24. GL2PS provides advanced smooth shading and text rendering, culling of
  25. invisible primitives, mixed vector/bitmap output, and much more...
  26. GL2PS can currently create PostScript (PS), Encapsulated PostScript
  27. (EPS) and Portable Document Format (PDF) files, as well as LaTeX files
  28. for the text fragments. Adding new vector output formats should be
  29. relatively easy (and amongst the formats we would be interested in
  30. adding, SVG is first in line). Meanwhile, you can use the excellent
  31. pstoedit program to transform the PostScript files generated by GL2PS
  32. into many other vector formats such as xfig, cgm, wmf, etc.
  33. %description -l ja
  34. GL2PSはOpenGLアプリケーションの高品質のベクトル出力を提供するCライブラリです。
  35. GL2PSは高度なスムーズなシェーディングとテキストのレンダリング、
  36. 混在ベクター/ビットマップ出力、目に見えないプリミティブのカリングを提供して
  37. います。
  38. 現在、PostScript (PS)、カプセル化PostScript (EPS)、ポータブルドキュメント
  39. フォーマット (PDF)、スケーラブルベクターグラフィックス (SVG) ファイルと
  40. LaTeXファイルを作成することができます。
  41. %description -l pl
  42. GL2PS to biblioteka C zapewniająca wysokiej jakości wyjście wektorowe
  43. dla dowolnej aplikacji OpenGL. Główna różnica między GL2PS a innymi
  44. podobnymi bibliotekami polega na użyciu algorytmów sortujących
  45. potrafiących obsłużyć przecinające się i rozciągnięte wielokąty, a
  46. także obiekty nie będące rozmaitościami. GL2PS zapewnia zaawansowane
  47. gładkie cieniowanie i renderowanie tekstu, usuwanie niewidocznych
  48. prymitywów, mieszane wyjście wektorowo-bitmapowe i wiele więcej.
  49. GL2PS aktualnie potrafi tworzyć pliki PostScript (PS), Encapsulated
  50. PostScript (EPS) oraz Portable Document Format (PDF), a także pliki
  51. LaTeXa dla fragmentów tekstowych. Dodanie nowych wyjściowych formatów
  52. wektorowych powinno być względnie łatwe (a spośród formatów, których
  53. dodanie zainteresowani byliby autorzy, pierwszym jest SVG). Tymczasem
  54. można używać świetnego programu pstoedit do przekształcania plików
  55. PostScript generowanych przez GL2PS na wiele innych formatów
  56. wektorowych, takich jak xfig, cgm, wmf itp.
  57. %package devel
  58. Summary: Header files for GL2PS library
  59. Summary(ja): GL2PS ライブラリのヘッダファイル
  60. Summary(pl): Pliki nagłówkowe biblioteki GL2PS
  61. Group: Development/Libraries
  62. Requires: %{name} = %{version}-%{release}
  63. Requires: mesa-libGL-devel
  64. %description devel
  65. Header files for GL2PS library.
  66. %description devel -l ja
  67. GL2PSのヘッダーファイル
  68. %description devel -l pl
  69. Pliki nagłówkowe biblioteki GL2PS.
  70. %prep
  71. %setup -q -n %{name}-%{version}-source
  72. # %patch700 -p1 -b .nostatic
  73. %build
  74. %cmake .
  75. make %{?_smp_mflags}
  76. %install
  77. rm -rf %{buildroot}
  78. make DESTDIR=%{buildroot} install
  79. rm %{buildroot}%{_libdir}/libgl2ps.a
  80. rm -r %{buildroot}%{_docdir}/gl2ps
  81. %clean
  82. rm -rf %{buildroot}
  83. %post -p /sbin/ldconfig
  84. %postun -p /sbin/ldconfig
  85. %files
  86. %defattr(644,root,root,755)
  87. %doc COPYING.GL2PS COPYING.LGPL README.txt
  88. %attr(755,root,root) %{_libdir}/libgl2ps.so.*
  89. %files devel
  90. %defattr(644,root,root,755)
  91. %doc gl2ps.pdf gl2psTest*.c
  92. %{_libdir}/libgl2ps.so
  93. %{_includedir}/gl2ps.h
  94. %changelog
  95. * Mon Apr 11 2016 Toshiaki Ara <ara_t@384.jp> 1.3.9-3
  96. - merge with previous SPEC file
  97. * Mon Apr 11 2016 Toshiaki Ara <ara_t@384.jp> 1.3.9-2
  98. - correct SPEC file
  99. * Fri Mar 18 2016 Toshiaki Ara <ara_t@384.jp> 1.3.9-1
  100. - update to 1.3.9
  101. * Sun Jan 25 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.3.8-6
  102. - Initial build for Vine Linux
  103. - added Patch700
  104. * Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.8-5
  105. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
  106. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.8-4
  107. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  108. * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.8-3
  109. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  110. * Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.8-2
  111. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  112. * Tue Nov 27 2012 Orion Poplawski <orion@cora.nwra.com> 1.3.8-1
  113. - Updated to 1.3.8
  114. - Dropped soversion patch applied upstream
  115. - Don't need to move library on 64bit anymore
  116. * Sat Sep 01 2012 Dominik Mierzejewski <rpm@greysector.net> 1.3.6-1
  117. - updated to 1.3.6
  118. * Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.5-5
  119. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  120. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.5-4
  121. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  122. * Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 1.3.5-3
  123. - Rebuild for new libpng
  124. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.5-2
  125. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  126. * Sat Dec 26 2009 Dominik Mierzejewski <rpm@greysector.net> 1.3.5-1
  127. - updated to 1.3.5
  128. - dropped upstreamed patches
  129. - fixed install in libdir
  130. - fixed missing SO version
  131. * Sun Aug 23 2009 Dominik Mierzejewski <rpm@greysector.net> 1.3.3-1
  132. - updated to 1.3.3
  133. - removed calls to exit(3)
  134. - added a simple build system (Makefile)
  135. - dropped libtool dependency
  136. - 1.3.3 added a new symbol, so made it versioned
  137. - added examples to -devel docs
  138. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-3
  139. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  140. * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-2
  141. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  142. * Fri Jun 13 2008 Dominik Mierzejewski <rpm@greysector.net> 1.3.2-1
  143. - adapted PLD spec r1.2
  144. - dropped static package