SPECS: libspectre.spec (NEW) - new

megabajt megabajt at pld-linux.org
Thu Feb 7 14:44:50 CET 2008


Author: megabajt                     Date: Thu Feb  7 13:44:50 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

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

---- Diffs:

================================================================
Index: SPECS/libspectre.spec
diff -u /dev/null SPECS/libspectre.spec:1.1
--- /dev/null	Thu Feb  7 14:44:50 2008
+++ SPECS/libspectre.spec	Thu Feb  7 14:44:45 2008
@@ -0,0 +1,96 @@
+# $Revision$, $Date$
+Summary:	A library for rendering PostScript documents
+Name:		libspectre
+Version:	0.2.0
+Release:	1
+License:	GPL v2+
+Group:		Libraries
+Source0:	http://libspectre.freedesktop.org/releases/%{name}-%{version}.tar.gz
+# Source0-md5:	6dc4382d8c9cd355a76c4516f6e6f6e3
+URL:		http://libspectre.freedesktop.org/
+BuildRequires:	autoconf >= 2.59
+BuildRequires:	automake >= 1:1.7
+BuildRequires:	ghostscript-devel >= 8.61-2
+BuildRequires:	libtool
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Small library for rendering PostScript documents. It provides a
+convenient easy to use API for handling and rendering PostScript
+documents.
+
+%package devel
+Summary:	Header files for libspectre library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki libspectre
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Header files for libspectre library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki libspectre.
+
+%package static
+Summary:	Static libspectre library
+Summary(pl.UTF-8):	Statyczna biblioteka libspectre
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static libspectre library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka libspectre.
+
+%prep
+%setup -q
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+	--disable-test
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README TODO
+%attr(755,root,root) %{_libdir}/libspectre.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libspectre.so.1
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libspectre.so
+%{_libdir}/libspectre.la
+%{_includedir}/libspectre
+%{_pkgconfigdir}/libspectre.pc
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libspectre.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  2008-02-07 13:44:45  megabajt
+- new
+
================================================================


More information about the pld-cvs-commit mailing list