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