source: projects/specs/branches/6/lib/libp/libppd/libppd-vl.spec @ 521

Revision 521, 2.4 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1Summary: Library for handling PPD (PostScript Printer Description) files
2Summary(ja): PPD ¥Õ¥¡¥¤¥ë¤ò°·¤¦¤¿¤á¤Î¥é¥¤¥Ö¥é¥ê
3Name:           libppd
4Version:        0.10
5Release:        1%{?_dist_release}
6License:        GPL
7Group:          System Environment/Libraries
8Source:         http://sourceforge.net/projects/lpr/libppd-0.10.tar.bz2
9Url:            http://sourceforge.net/projects/lpr/
10BuildRoot:      %{_tmppath}/%{name}-%{version}-root
11Requires:       glib >= 1.2.0
12BuildRequires:  autoconf automake glib-devel >= 1.2.0
13
14%description
15libppd is a library for handling PPD (PostScript Printer Description)
16files, its functions parse the files, list printer options and choices
17described in the files to set up GUIs for printing, and it inserts
18PostScript commands into PostScript files so that the option settings
19of the user are applied to the PostScript print job.
20
21
22%package devel
23Summary: Headers and links to compile against the "libppd" library
24Requires: libppd = %{version}
25Group: Development/Libraries
26
27%description devel
28This package contains all files which one needs to compile programs using
29the "libppd" library.
30
31%package -n ppdfilt
32Summary: Sets options according to a PPD file in a PostScript file.
33Requires: libppd = %{version}
34Group: Applications/Publishing
35
36%description -n ppdfilt
37ppdfilt is a filter which takes PostScript as input, inserts
38PostScripy code according to a PPD file and user-supplied option
39settings, and puts out the result. Sending a so prepared PostScript
40file to the printer to which the PPD file belongs, the printer does
41the job with the options as set by the user.
42
43
44%prep
45%setup -q -n libppd-%{version}
46
47%build
48%configure
49make
50
51%install
52rm -rf $RPM_BUILD_ROOT
53%makeinstall
54
55rm -rf $RPM_BUILD_ROOT%{_libdir}/lib*.la
56
57%post -p /sbin/ldconfig
58
59%postun -p /sbin/ldconfig
60
61%clean
62rm -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.
Note: See TracBrowser for help on using the repository browser.