libspectre-vl.spec 2.0 KB

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