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