SPECS: gl2ps.spec (NEW) - new, saving work

qboosh qboosh at pld-linux.org
Sat Oct 29 11:09:48 CEST 2005


Author: qboosh                       Date: Sat Oct 29 09:09:48 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new, saving work

---- Files affected:
SPECS:
   gl2ps.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/gl2ps.spec
diff -u /dev/null SPECS/gl2ps.spec:1.1
--- /dev/null	Sat Oct 29 11:09:48 2005
+++ SPECS/gl2ps.spec	Sat Oct 29 11:09:43 2005
@@ -0,0 +1,102 @@
+# $Revision$, $Date$
+Summary:	GL2PS - an OpenGL to PostScript printing library
+Summary(pl):	GL2PS - biblioteka drukowania z OpenGL-a do PostScriptu
+Name:		gl2ps
+Version:	1.2.6
+Release:	0.1
+License:	LGPL v2+ or GP2PS License v2+ (see COPYING.GL2PS)
+Group:		Libraries
+Source0:	http://www.geuz.org/gl2ps/src/%{name}-%{version}.tgz
+# Source0-md5:	0fe27cf84d8bc4691982d8d5c6b2496f
+URL:		http://www.geuz.org/gl2ps/
+BuildRequires:	OpenGL-devel
+BuildRequires:	libtool
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+GL2PS is a C library providing high quality vector output for any
+OpenGL application. The main difference between GL2PS and other
+similar libraries is the use of sorting algorithms capable of handling
+intersecting and stretched polygons, as well as non manifold objects.
+GL2PS provides advanced smooth shading and text rendering, culling of
+invisible primitives, mixed vector/bitmap output, and much more...
+
+GL2PS can currently create PostScript (PS), Encapsulated PostScript
+(EPS) and Portable Document Format (PDF) files, as well as LaTeX files
+for the text fragments. Adding new vector output formats should be
+relatively easy (and amongst the formats we would be interested in
+adding, SVG is first in line). Meanwhile, you can use the excellent
+pstoedit program to transform the PostScript files generated by GL2PS
+into many other vector formats such as xfig, cgm, wmf, etc.
+
+#%description -l pl
+
+%package devel
+Summary:	Header files for GL2PS library
+Summary(pl):	Pliki nagłówkowe biblioteki GL2PS
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	OpenGL-devel
+
+%description devel
+Header files for GL2PS library.
+
+%description devel -l pl
+Pliki nagłówkowe biblioteki GL2PS.
+
+%package static
+Summary:	Static GL2PS library
+Summary(pl):	Statyczna biblioteka GL2PS
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static GL2PS library.
+
+%description static -l pl
+Statyczna biblioteka GL2PS.
+
+%prep
+%setup -q
+
+%build
+libtool --mode=compile %{__cc} %{rpmcflags} -c -o gl2ps.lo gl2ps.c
+libtool --mode=link %{__cc} %{rpmldflags} -o libgl2ps.la gl2ps.lo -rpath %{_libdir} -lGL -lm
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
+
+libtool --mode=install install libgl2ps.la $RPM_BUILD_ROOT%{_libdir}
+install gl2ps.h $RPM_BUILD_ROOT%{_includedir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc COPYING.GL2PS TODO
+%attr(755,root,root) %{_libdir}/libgl2ps.so.*.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%doc gl2ps.pdf
+%attr(755,root,root) %{_libdir}/libgl2ps.so
+%{_libdir}/libgl2ps.la
+%{_includedir}/gl2ps.h
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libgl2ps.a
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2005/10/29 09:09:43  qboosh
+- new, saving work
================================================================



More information about the pld-cvs-commit mailing list