1 Summary: GL2PS - an OpenGL to PostScript printing library
2 Summary(pl): GL2PS - biblioteka drukowania z OpenGL-a do PostScriptu
6 License: LGPL v2+ or GP2PS License v2+ (see COPYING.GL2PS)
8 Source0: http://www.geuz.org/gl2ps/src/%{name}-%{version}.tgz
9 # Source0-md5: 0fe27cf84d8bc4691982d8d5c6b2496f
10 URL: http://www.geuz.org/gl2ps/
11 BuildRequires: OpenGL-devel
12 BuildRequires: libtool
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 GL2PS is a C library providing high quality vector output for any
17 OpenGL application. The main difference between GL2PS and other
18 similar libraries is the use of sorting algorithms capable of handling
19 intersecting and stretched polygons, as well as non manifold objects.
20 GL2PS provides advanced smooth shading and text rendering, culling of
21 invisible primitives, mixed vector/bitmap output, and much more...
23 GL2PS can currently create PostScript (PS), Encapsulated PostScript
24 (EPS) and Portable Document Format (PDF) files, as well as LaTeX files
25 for the text fragments. Adding new vector output formats should be
26 relatively easy (and amongst the formats we would be interested in
27 adding, SVG is first in line). Meanwhile, you can use the excellent
28 pstoedit program to transform the PostScript files generated by GL2PS
29 into many other vector formats such as xfig, cgm, wmf, etc.
34 Summary: Header files for GL2PS library
35 Summary(pl): Pliki nag³ówkowe biblioteki GL2PS
36 Group: Development/Libraries
37 Requires: %{name} = %{version}-%{release}
38 Requires: OpenGL-devel
41 Header files for GL2PS library.
43 %description devel -l pl
44 Pliki nag³ówkowe biblioteki GL2PS.
47 Summary: Static GL2PS library
48 Summary(pl): Statyczna biblioteka GL2PS
49 Group: Development/Libraries
50 Requires: %{name}-devel = %{version}-%{release}
55 %description static -l pl
56 Statyczna biblioteka GL2PS.
62 libtool --mode=compile %{__cc} %{rpmcflags} -c -o gl2ps.lo gl2ps.c
63 libtool --mode=link %{__cc} %{rpmldflags} -o libgl2ps.la gl2ps.lo -rpath %{_libdir} -lGL -lm
66 rm -rf $RPM_BUILD_ROOT
67 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
69 libtool --mode=install install libgl2ps.la $RPM_BUILD_ROOT%{_libdir}
70 install gl2ps.h $RPM_BUILD_ROOT%{_includedir}
73 rm -rf $RPM_BUILD_ROOT
75 %post -p /sbin/ldconfig
76 %postun -p /sbin/ldconfig
79 %defattr(644,root,root,755)
80 %doc COPYING.GL2PS TODO
81 %attr(755,root,root) %{_libdir}/libgl2ps.so.*.*.*
84 %defattr(644,root,root,755)
86 %attr(755,root,root) %{_libdir}/libgl2ps.so
87 %{_libdir}/libgl2ps.la
88 %{_includedir}/gl2ps.h
91 %defattr(644,root,root,755)