| 1 | Summary: A library for rendering PostScript(TM) documents |
|---|
| 2 | Summary(ja): PostScript(TM) 文書をレンダリングするためのライブラリ |
|---|
| 3 | |
|---|
| 4 | Name: libspectre |
|---|
| 5 | Version: 0.2.1 |
|---|
| 6 | Release: 2%{?_dist_release} |
|---|
| 7 | |
|---|
| 8 | Group: System Environment/Libraries |
|---|
| 9 | License: GPLv2+ |
|---|
| 10 | URL: http://libspectre.freedesktop.org |
|---|
| 11 | Source0: http://libspectre.freedesktop.org/releases/%{name}-%{version}.tar.gz |
|---|
| 12 | |
|---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
|---|
| 14 | |
|---|
| 15 | BuildRequires: ghostscript-devel >= 8.63 |
|---|
| 16 | |
|---|
| 17 | %description |
|---|
| 18 | %{name} is a small library for rendering PostScript(TM) documents. |
|---|
| 19 | It provides a convenient easy to use API for handling and rendering |
|---|
| 20 | PostScript documents. |
|---|
| 21 | |
|---|
| 22 | |
|---|
| 23 | %package devel |
|---|
| 24 | Summary: Development files for %{name} |
|---|
| 25 | Summary(ja): Development files for %{name} |
|---|
| 26 | Group: Development/Libraries |
|---|
| 27 | Requires: %{name} = %{version}-%{release} |
|---|
| 28 | Requires: pkgconfig |
|---|
| 29 | |
|---|
| 30 | |
|---|
| 31 | %description devel |
|---|
| 32 | The %{name}-devel package contains libraries and header files for |
|---|
| 33 | developing applications that use %{name}. |
|---|
| 34 | |
|---|
| 35 | |
|---|
| 36 | %prep |
|---|
| 37 | %setup -q |
|---|
| 38 | |
|---|
| 39 | %build |
|---|
| 40 | autoreconf -i -f |
|---|
| 41 | %configure --disable-static |
|---|
| 42 | make %{?_smp_mflags} |
|---|
| 43 | |
|---|
| 44 | |
|---|
| 45 | %install |
|---|
| 46 | rm -rf $RPM_BUILD_ROOT |
|---|
| 47 | make install DESTDIR=$RPM_BUILD_ROOT |
|---|
| 48 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' |
|---|
| 49 | |
|---|
| 50 | |
|---|
| 51 | %clean |
|---|
| 52 | rm -rf $RPM_BUILD_ROOT |
|---|
| 53 | |
|---|
| 54 | |
|---|
| 55 | %post -p /sbin/ldconfig |
|---|
| 56 | |
|---|
| 57 | %postun -p /sbin/ldconfig |
|---|
| 58 | |
|---|
| 59 | |
|---|
| 60 | %files |
|---|
| 61 | %defattr(-,root,root,-) |
|---|
| 62 | %doc COPYING AUTHORS NEWS README TODO |
|---|
| 63 | %{_libdir}/*.so.* |
|---|
| 64 | |
|---|
| 65 | %files devel |
|---|
| 66 | %defattr(-,root,root,-) |
|---|
| 67 | %{_includedir}/* |
|---|
| 68 | %{_libdir}/*.so |
|---|
| 69 | %{_libdir}/pkgconfig/libspectre.pc |
|---|
| 70 | |
|---|
| 71 | |
|---|
| 72 | %changelog |
|---|
| 73 | * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.1-2 |
|---|
| 74 | - rebuild with rpm-4.8.1 for pkg-config file |
|---|
| 75 | |
|---|
| 76 | * Tue Oct 28 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2.1-1 |
|---|
| 77 | - initial build for Vine Linux |
|---|
| 78 | |
|---|
| 79 | * Sun Aug 10 2008 Matthias Clasen <mclasen@redhat.com> - 0.2.1-1 |
|---|
| 80 | - Update to 0.2.1 |
|---|
| 81 | |
|---|
| 82 | * Sat Feb 9 2008 Matthias Clasen <mclasen@redhat.com> - 0.2.0-2 |
|---|
| 83 | - Rebuild for gcc 4.3 |
|---|
| 84 | |
|---|
| 85 | * Tue Jan 29 2008 Matthias Clasen <mclasen@redhat.com> - 0.2.0-1 |
|---|
| 86 | - Initial packaging |
|---|