libppd-vl.spec 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. Summary: Library for handling PPD (PostScript Printer Description) files
  2. Summary(ja): PPD ファイルを扱うためのライブラリ
  3. Name: libppd
  4. Version: 0.10
  5. Release: 1%{?_dist_release}
  6. License: GPL
  7. Group: System Environment/Libraries
  8. Source: http://sourceforge.net/projects/lpr/libppd-0.10.tar.bz2
  9. Url: http://sourceforge.net/projects/lpr/
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. Requires: glib >= 1.2.0
  12. BuildRequires: autoconf automake glib-devel >= 1.2.0
  13. %description
  14. libppd is a library for handling PPD (PostScript Printer Description)
  15. files, its functions parse the files, list printer options and choices
  16. described in the files to set up GUIs for printing, and it inserts
  17. PostScript commands into PostScript files so that the option settings
  18. of the user are applied to the PostScript print job.
  19. %package devel
  20. Summary: Headers and links to compile against the "libppd" library
  21. Requires: libppd = %{version}
  22. Group: Development/Libraries
  23. %description devel
  24. This package contains all files which one needs to compile programs using
  25. the "libppd" library.
  26. %package -n ppdfilt
  27. Summary: Sets options according to a PPD file in a PostScript file.
  28. Requires: libppd = %{version}
  29. Group: Applications/Publishing
  30. %description -n ppdfilt
  31. ppdfilt is a filter which takes PostScript as input, inserts
  32. PostScripy code according to a PPD file and user-supplied option
  33. settings, and puts out the result. Sending a so prepared PostScript
  34. file to the printer to which the PPD file belongs, the printer does
  35. the job with the options as set by the user.
  36. %prep
  37. %setup -q -n libppd-%{version}
  38. %build
  39. %configure
  40. make
  41. %install
  42. rm -rf $RPM_BUILD_ROOT
  43. %makeinstall
  44. rm -rf $RPM_BUILD_ROOT%{_libdir}/lib*.la
  45. %post -p /sbin/ldconfig
  46. %postun -p /sbin/ldconfig
  47. %clean
  48. rm -rf $RPM_BUILD_ROOT
  49. %files
  50. %defattr(-,root,root)
  51. %doc AUTHORS COPYING ChangeLog INSTALL TODO
  52. %{_libdir}/*.so.*
  53. %files devel
  54. %defattr(-,root,root)
  55. %{_includedir}/*.h
  56. %{_libdir}/*.so
  57. %{_libdir}/*.a
  58. #{_libdir}/*.la
  59. %{_mandir}/man3/*
  60. %files -n ppdfilt
  61. %defattr(-,root,root)
  62. %{_bindir}/*
  63. %{_mandir}/man1/*
  64. %{_datadir}/postscript
  65. %changelog
  66. * Tue Jul 22 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.10-1
  67. - applied new versioning policy
  68. - removed lib*.la files
  69. * Thu Sep 23 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.10-0vl2
  70. - changed Group
  71. - added Japanese summary
  72. * Wed Apr 30 2003 Satoshi MACHINO <machino@vinelinux.org> 0.10-0vl1
  73. - Initial release.