source: projects/specs/trunk/g/gl2ps/gl2ps-vl.spec @ 10158

Revision 10158, 6.7 KB checked in by ara_t, 8 years ago (diff)

update to 1.3.9

Line 
1Summary:        An OpenGL to PostScript printing library
2Summary(ja):    OpenGL から PostScript を出力するライブラリ
3Summary(pl):    Biblioteka drukowania z OpenGL-a do PostScriptu
4Name:           gl2ps
5Version:        1.3.9
6Release:        3%{?_dist_release}
7License:        LGPLv2+ or GL2PS
8Group:          System Environment/Libraries
9URL:            http://www.geuz.org/gl2ps/
10
11Source0:        http://www.geuz.org/gl2ps/src/%{name}-%{version}.tgz
12
13# # Vine Patch
14# Patch700:       gl2ps-1.3.8-nostatic.patch
15
16BuildRoot:      %{_tmppath}/%{name}-%{version}-root
17BuildRequires:  cmake >= 2.4
18BuildRequires:  mesa-libGL-devel
19BuildRequires:  libpng-devel
20BuildRequires:  texlive
21BuildRequires:  zlib-devel
22
23%description
24GL2PS is a C library providing high quality vector output for any
25OpenGL application. The main difference between GL2PS and other
26similar libraries is the use of sorting algorithms capable of handling
27intersecting and stretched polygons, as well as non manifold objects.
28GL2PS provides advanced smooth shading and text rendering, culling of
29invisible primitives, mixed vector/bitmap output, and much more...
30
31GL2PS can currently create PostScript (PS), Encapsulated PostScript
32(EPS) and Portable Document Format (PDF) files, as well as LaTeX files
33for the text fragments. Adding new vector output formats should be
34relatively easy (and amongst the formats we would be interested in
35adding, SVG is first in line). Meanwhile, you can use the excellent
36pstoedit program to transform the PostScript files generated by GL2PS
37into many other vector formats such as xfig, cgm, wmf, etc.
38
39%description -l ja
40GL2PSはOpenGLアプリケーションの高品質のベクトル出力を提供するCライブラリです。
41GL2PSは高度なスムーズなシェーディングとテキストのレンダリング、
42混在ベクター/ビットマップ出力、目に見えないプリミティブのカリングを提供して
43います。
44
45現在、PostScript (PS)、カプセル化PostScript (EPS)、ポータブルドキュメント
46フォーマット (PDF)、スケーラブルベクターグラフィックス (SVG) ファイルと
47LaTeXファイルを作成することができます。
48
49%description -l pl
50GL2PS to biblioteka C zapewniająca wysokiej jakości wyjście wektorowe
51dla dowolnej aplikacji OpenGL. Główna różnica między GL2PS a innymi
52podobnymi bibliotekami polega na użyciu algorytmów sortujących
53potrafiących obsłużyć przecinające się i rozciągnięte wielokąty, a
54także obiekty nie będące rozmaitościami. GL2PS zapewnia zaawansowane
55gładkie cieniowanie i renderowanie tekstu, usuwanie niewidocznych
56prymitywów, mieszane wyjście wektorowo-bitmapowe i wiele więcej.
57
58GL2PS aktualnie potrafi tworzyć pliki PostScript (PS), Encapsulated
59PostScript (EPS) oraz Portable Document Format (PDF), a także pliki
60LaTeXa dla fragmentów tekstowych. Dodanie nowych wyjściowych formatów
61wektorowych powinno być względnie łatwe (a spośród formatów, których
62dodanie zainteresowani byliby autorzy, pierwszym jest SVG). Tymczasem
63można używać świetnego programu pstoedit do przekształcania plików
64PostScript generowanych przez GL2PS na wiele innych formatów
65wektorowych, takich jak xfig, cgm, wmf itp.
66
67%package devel
68Summary:        Header files for GL2PS library
69Summary(ja):    GL2PS ライブラリのヘッダファイル
70Summary(pl):    Pliki nagłówkowe biblioteki GL2PS
71Group:          Development/Libraries
72Requires:       %{name} = %{version}-%{release}
73Requires:       mesa-libGL-devel
74
75%description devel
76Header files for GL2PS library.
77
78%description devel -l ja
79GL2PSのヘッダーファイル
80
81%description devel -l pl
82Pliki nagłówkowe biblioteki GL2PS.
83
84%prep
85%setup -q -n %{name}-%{version}-source
86# %patch700 -p1 -b .nostatic
87
88%build
89%cmake .
90make %{?_smp_mflags}
91
92%install
93rm -rf %{buildroot}
94make DESTDIR=%{buildroot} install
95
96rm %{buildroot}%{_libdir}/libgl2ps.a
97rm -r %{buildroot}%{_docdir}/gl2ps
98
99%clean
100rm -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)
112%doc gl2ps.pdf gl2psTest*.c
113%{_libdir}/libgl2ps.so
114%{_includedir}/gl2ps.h
115
116%changelog
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
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
Note: See TracBrowser for help on using the repository browser.