rpms/gl2ps/devel gl2ps.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Dominik Mierzejewski (rathann)
fedora-extras-commits at redhat.com
Sat Jul 12 23:26:18 UTC 2008
Author: rathann
Update of /cvs/pkgs/rpms/gl2ps/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28874
Modified Files:
.cvsignore sources
Added Files:
gl2ps.spec
Log Message:
- initial import
--- NEW FILE gl2ps.spec ---
Summary: An OpenGL to PostScript printing library
Summary(pl): Biblioteka drukowania z OpenGL-a do PostScriptu
Name: gl2ps
Version: 1.3.2
Release: 1%{?dist}
License: LGPLv2+ or GL2PS
Group: System Environment/Libraries
Source0: http://www.geuz.org/gl2ps/src/%{name}-%{version}.tgz
# Source0-md5: 15cf4a6a790c109fc03c6601660d73a7
URL: http://www.geuz.org/gl2ps/
BuildRequires: libGL-devel
BuildRequires: libtool
BuildRoot: %{_tmppath}/%{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
GL2PS to biblioteka C zapewniajÄ
ca wysokiej jakoÅci wyjÅcie wektorowe
dla dowolnej aplikacji OpenGL. GÅówna różnica miÄdzy GL2PS a innymi
podobnymi bibliotekami polega na użyciu algorytmów sortujÄ
cych
potrafiÄ
cych obsÅużyÄ przecinajÄ
ce siÄ i rozciÄ
gniÄte wielokÄ
ty, a
także obiekty nie bÄdÄ
ce rozmaitoÅciami. GL2PS zapewnia zaawansowane
gÅadkie cieniowanie i renderowanie tekstu, usuwanie niewidocznych
prymitywów, mieszane wyjÅcie wektorowo-bitmapowe i wiele wiÄcej.
GL2PS aktualnie potrafi tworzyÄ pliki PostScript (PS), Encapsulated
PostScript (EPS) oraz Portable Document Format (PDF), a także pliki
LaTeXa dla fragmentów tekstowych. Dodanie nowych wyjÅciowych formatów
wektorowych powinno byÄ wzglÄdnie Åatwe (a spoÅród formatów, których
dodanie zainteresowani byliby autorzy, pierwszym jest SVG). Tymczasem
można używaÄ Åwietnego programu pstoedit do przeksztaÅcania plików
PostScript generowanych przez GL2PS na wiele innych formatów
wektorowych, takich jak xfig, cgm, wmf itp.
%package devel
Summary: Header files for GL2PS library
Summary(pl): Pliki nagÅówkowe biblioteki GL2PS
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: libGL-devel
%description devel
Header files for GL2PS library.
%description devel -l pl
Pliki nagÅówkowe biblioteki GL2PS.
%prep
%setup -q
%build
libtool --mode=compile %{__cc} %{optflags} -c -o gl2ps.lo gl2ps.c
libtool --mode=link %{__cc} %{optflags} -o libgl2ps.la gl2ps.lo -rpath %{_libdir} -lGL -lm
%install
rm -rf %{buildroot}
install -d %{buildroot}{%{_libdir},%{_includedir}}
libtool --mode=install install libgl2ps.la %{buildroot}%{_libdir}
install -pm644 gl2ps.h %{buildroot}%{_includedir}
rm %{buildroot}%{_libdir}/libgl2ps.{l,}a
%clean
rm -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(644,root,root,755)
%doc COPYING.GL2PS COPYING.LGPL
%attr(755,root,root) %{_libdir}/libgl2ps.so.*
%files devel
%defattr(644,root,root,755)
%doc gl2ps.pdf TODO
%attr(755,root,root) %{_libdir}/libgl2ps.so
%{_includedir}/gl2ps.h
%changelog
* Fri Jun 13 2008 Dominik Mierzejewski <rpm at greysector.net> 1.3.2-1
- adapted PLD spec r1.2
- dropped static package
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/gl2ps/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 17 Jun 2008 17:11:47 -0000 1.1
+++ .cvsignore 12 Jul 2008 23:25:32 -0000 1.2
@@ -0,0 +1 @@
+gl2ps-1.3.2.tgz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/gl2ps/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 17 Jun 2008 17:11:47 -0000 1.1
+++ sources 12 Jul 2008 23:25:32 -0000 1.2
@@ -0,0 +1 @@
+15cf4a6a790c109fc03c6601660d73a7 gl2ps-1.3.2.tgz
More information about the scm-commits
mailing list