libspectre/libspectre.spec

77 lines
1.7 KiB
RPMSpec
Raw Normal View History

2008-01-30 18:42:56 +00:00
Name: libspectre
2008-08-10 22:14:12 +00:00
Version: 0.2.1
Release: 1%{?dist}
2008-01-30 18:42:56 +00:00
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
2008-08-10 22:14:12 +00:00
* Sun Aug 10 2008 Matthias Clasen <mclasen@redhat.com> - 0.2.1-1
- Update to 0.2.1
2008-02-09 05:29:35 +00:00
* Sat Feb 9 2008 Matthias Clasen <mclasen@redhat.com> - 0.2.0-2
- Rebuild for gcc 4.3
2008-01-30 18:42:56 +00:00
* Tue Jan 29 2008 Matthias Clasen <mclasen@redhat.com> - 0.2.0-1
- Initial packaging