[521] | 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 | |
---|
| 14 | %description |
---|
| 15 | libppd is a library for handling PPD (PostScript Printer Description) |
---|
| 16 | files, its functions parse the files, list printer options and choices |
---|
| 17 | described in the files to set up GUIs for printing, and it inserts |
---|
| 18 | PostScript commands into PostScript files so that the option settings |
---|
| 19 | of the user are applied to the PostScript print job. |
---|
| 20 | |
---|
| 21 | |
---|
| 22 | %package devel |
---|
| 23 | Summary: Headers and links to compile against the "libppd" library |
---|
| 24 | Requires: libppd = %{version} |
---|
| 25 | Group: Development/Libraries |
---|
| 26 | |
---|
| 27 | %description devel |
---|
| 28 | This package contains all files which one needs to compile programs using |
---|
| 29 | the "libppd" library. |
---|
| 30 | |
---|
| 31 | %package -n ppdfilt |
---|
| 32 | Summary: Sets options according to a PPD file in a PostScript file. |
---|
| 33 | Requires: libppd = %{version} |
---|
| 34 | Group: Applications/Publishing |
---|
| 35 | |
---|
| 36 | %description -n ppdfilt |
---|
| 37 | ppdfilt is a filter which takes PostScript as input, inserts |
---|
| 38 | PostScripy code according to a PPD file and user-supplied option |
---|
| 39 | settings, and puts out the result. Sending a so prepared PostScript |
---|
| 40 | file to the printer to which the PPD file belongs, the printer does |
---|
| 41 | the job with the options as set by the user. |
---|
| 42 | |
---|
| 43 | |
---|
| 44 | %prep |
---|
| 45 | %setup -q -n libppd-%{version} |
---|
| 46 | |
---|
| 47 | %build |
---|
| 48 | %configure |
---|
| 49 | make |
---|
| 50 | |
---|
| 51 | %install |
---|
| 52 | rm -rf $RPM_BUILD_ROOT |
---|
| 53 | %makeinstall |
---|
| 54 | |
---|
| 55 | rm -rf $RPM_BUILD_ROOT%{_libdir}/lib*.la |
---|
| 56 | |
---|
| 57 | %post -p /sbin/ldconfig |
---|
| 58 | |
---|
| 59 | %postun -p /sbin/ldconfig |
---|
| 60 | |
---|
| 61 | %clean |
---|
| 62 | rm -rf $RPM_BUILD_ROOT |
---|
| 63 | |
---|
| 64 | |
---|
| 65 | %files |
---|
| 66 | %defattr(-,root,root) |
---|
| 67 | %doc AUTHORS COPYING ChangeLog INSTALL TODO |
---|
| 68 | %{_libdir}/*.so.* |
---|
| 69 | |
---|
| 70 | %files devel |
---|
| 71 | %defattr(-,root,root) |
---|
| 72 | %{_includedir}/*.h |
---|
| 73 | %{_libdir}/*.so |
---|
| 74 | %{_libdir}/*.a |
---|
| 75 | #{_libdir}/*.la |
---|
| 76 | %{_mandir}/man3/* |
---|
| 77 | |
---|
| 78 | %files -n ppdfilt |
---|
| 79 | %defattr(-,root,root) |
---|
| 80 | %{_bindir}/* |
---|
| 81 | %{_mandir}/man1/* |
---|
| 82 | %{_datadir}/postscript |
---|
| 83 | |
---|
| 84 | |
---|
| 85 | %changelog |
---|
| 86 | * Tue Jul 22 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.10-1 |
---|
| 87 | - applied new versioning policy |
---|
| 88 | - removed lib*.la files |
---|
| 89 | |
---|
| 90 | * Thu Sep 23 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.10-0vl2 |
---|
| 91 | - changed Group |
---|
| 92 | - added Japanese summary |
---|
| 93 | |
---|
| 94 | * Wed Apr 30 2003 Satoshi MACHINO <machino@vinelinux.org> 0.10-0vl1 |
---|
| 95 | - Initial release. |
---|