gl2ps-vl.spec 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  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.8
  6. Release: 6%{?_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 pl
  34. GL2PS to biblioteka C zapewniająca wysokiej jakości wyjście wektorowe
  35. dla dowolnej aplikacji OpenGL. Główna różnica między GL2PS a innymi
  36. podobnymi bibliotekami polega na użyciu algorytmów sortujących
  37. potrafiących obsłużyć przecinające się i rozciągnięte wielokąty, a
  38. także obiekty nie będące rozmaitościami. GL2PS zapewnia zaawansowane
  39. gładkie cieniowanie i renderowanie tekstu, usuwanie niewidocznych
  40. prymitywów, mieszane wyjście wektorowo-bitmapowe i wiele więcej.
  41. GL2PS aktualnie potrafi tworzyć pliki PostScript (PS), Encapsulated
  42. PostScript (EPS) oraz Portable Document Format (PDF), a także pliki
  43. LaTeXa dla fragmentów tekstowych. Dodanie nowych wyjściowych formatów
  44. wektorowych powinno być względnie łatwe (a spośród formatów, których
  45. dodanie zainteresowani byliby autorzy, pierwszym jest SVG). Tymczasem
  46. można używać świetnego programu pstoedit do przekształcania plików
  47. PostScript generowanych przez GL2PS na wiele innych formatów
  48. wektorowych, takich jak xfig, cgm, wmf itp.
  49. %package devel
  50. Summary: Header files for GL2PS library
  51. Summary(ja): GL2PS ライブラリのヘッダファイル
  52. Summary(pl): Pliki nagłówkowe biblioteki GL2PS
  53. Group: Development/Libraries
  54. Requires: %{name} = %{version}-%{release}
  55. Requires: mesa-libGL-devel
  56. %description devel
  57. Header files for GL2PS library.
  58. %description devel -l pl
  59. Pliki nagłówkowe biblioteki GL2PS.
  60. %prep
  61. %setup -q -n %{name}-%{version}-source
  62. %patch700 -p1 -b .nostatic
  63. %build
  64. %cmake .
  65. make %{?_smp_mflags}
  66. %install
  67. rm -rf %{buildroot}
  68. make DESTDIR=%{buildroot} install
  69. rm -r %{buildroot}%{_docdir}/gl2ps
  70. %clean
  71. rm -rf %{buildroot}
  72. %post -p /sbin/ldconfig
  73. %postun -p /sbin/ldconfig
  74. %files
  75. %defattr(644,root,root,755)
  76. %doc COPYING.GL2PS COPYING.LGPL README.txt
  77. %attr(755,root,root) %{_libdir}/libgl2ps.so.*
  78. %files devel
  79. %defattr(644,root,root,755)
  80. %doc gl2ps.pdf TODO.txt gl2psTest*.c
  81. %{_libdir}/libgl2ps.so
  82. %{_includedir}/gl2ps.h
  83. %changelog
  84. * Sun Jan 25 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.3.8-6
  85. - Initial build for Vine Linux
  86. - added Patch700
  87. * Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.8-5
  88. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
  89. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.8-4
  90. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  91. * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.8-3
  92. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  93. * Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.8-2
  94. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  95. * Tue Nov 27 2012 Orion Poplawski <orion@cora.nwra.com> 1.3.8-1
  96. - Updated to 1.3.8
  97. - Dropped soversion patch applied upstream
  98. - Don't need to move library on 64bit anymore
  99. * Sat Sep 01 2012 Dominik Mierzejewski <rpm@greysector.net> 1.3.6-1
  100. - updated to 1.3.6
  101. * Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.5-5
  102. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  103. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.5-4
  104. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  105. * Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 1.3.5-3
  106. - Rebuild for new libpng
  107. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.5-2
  108. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  109. * Sat Dec 26 2009 Dominik Mierzejewski <rpm@greysector.net> 1.3.5-1
  110. - updated to 1.3.5
  111. - dropped upstreamed patches
  112. - fixed install in libdir
  113. - fixed missing SO version
  114. * Sun Aug 23 2009 Dominik Mierzejewski <rpm@greysector.net> 1.3.3-1
  115. - updated to 1.3.3
  116. - removed calls to exit(3)
  117. - added a simple build system (Makefile)
  118. - dropped libtool dependency
  119. - 1.3.3 added a new symbol, so made it versioned
  120. - added examples to -devel docs
  121. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-3
  122. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  123. * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-2
  124. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  125. * Fri Jun 13 2008 Dominik Mierzejewski <rpm@greysector.net> 1.3.2-1
  126. - adapted PLD spec r1.2
  127. - dropped static package