Name: libspectre Version: 0.2.0 Release: 1%{?dist} Summary: A library for rendering PostScript(TM) documents Group: System Environment/Libraries License: GPLv2+ URL: http://libspectre.freedesktop.org Source0: http://libspectre.freedesktop.org/releases/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: ghostscript-devel >= 8.61 %description %{name} is a small library for rendering PostScript(TM) documents. It provides a convenient easy to use API for handling and rendering PostScript documents. %package devel Summary: Development files for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: pkgconfig %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %setup -q %build %configure --disable-static make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc COPYING AUTHORS NEWS README TODO %{_libdir}/*.so.* %files devel %defattr(-,root,root,-) %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/libspectre.pc %changelog * Tue Jan 29 2008 Matthias Clasen - 0.2.0-1 - Initial packaging