1 | %define version 1.2.3 |
---|
2 | %define rel 1%{?_dist_release} |
---|
3 | |
---|
4 | Summary: CUPS Driver Development Kit |
---|
5 | Summary(ja): CUPS用ドライバー開発キット |
---|
6 | Name: cupsddk |
---|
7 | Version: %{version} |
---|
8 | Release: %{rel} |
---|
9 | License: GPL |
---|
10 | Group: Development/Libraries |
---|
11 | Source0: ftp://ftp.easysw.com/pub/cupsddk/%{version}/cupsddk-%{version}-source.tar.bz2 |
---|
12 | Patch0: cupsddk-1.0.1-example_dir.patch |
---|
13 | Url: http://www.cups.org/ |
---|
14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
15 | BuildPreReq: cups-devel, openssl-devel, gcc, libtiff-devel, libpng-devel, libjpeg-devel, zlib-devel |
---|
16 | Requires: gcc, openssl, cups-libs, libjpeg, glibc, libpng, libtiff, zlib |
---|
17 | |
---|
18 | %description |
---|
19 | The CUPS Driver Development Kit (DDK) provides a suite of |
---|
20 | standard drivers, a PPD file compiler, and other utilities that |
---|
21 | can be used to develop printer drivers for CUPS and other |
---|
22 | printing environments. CUPS provides a portable printing layer |
---|
23 | for UNIX(r)-based operating systems. The CUPS DDK provides the |
---|
24 | means for mass-producing PPD files and drivers/filters for |
---|
25 | CUPS-based printer drivers. |
---|
26 | |
---|
27 | %description -l ja |
---|
28 | CUPS用ドライバー開発キット(DDK)は標準的なドライバー、PPDファイル用コンパイラやその他のユーティリティ類を提供し、それらはCUPSや他の印刷システム用のプリンタドライバーを開発するために使われます。CUPSはUNIX(r)ベースのオペレーティングシステム用にポータブルな印刷レイヤーを提供します。CUPS DDKはCUPS-ベースのプリンタードライバー用のPPDファイルやドライバー/フィルター類を大量生産する事が出来ます。 |
---|
29 | |
---|
30 | %prep |
---|
31 | %setup -q -n %{name}-%{version} |
---|
32 | %patch0 -p1 -b .example |
---|
33 | |
---|
34 | %build |
---|
35 | %configure |
---|
36 | |
---|
37 | # If we got this far, all prerequisite libraries must be here. |
---|
38 | make |
---|
39 | |
---|
40 | %install |
---|
41 | # Make sure the RPM_BUILD_ROOT directory exists. |
---|
42 | rm -rf $RPM_BUILD_ROOT |
---|
43 | |
---|
44 | make BUILDROOT=$RPM_BUILD_ROOT install |
---|
45 | |
---|
46 | %clean |
---|
47 | rm -rf $RPM_BUILD_ROOT |
---|
48 | |
---|
49 | %files |
---|
50 | %defattr(-,root,root) |
---|
51 | %doc *.txt doc/*.html doc/images doc/*.pdf |
---|
52 | %{_bindir}/cupsprofile |
---|
53 | %{_bindir}/ppdc |
---|
54 | %{_bindir}/ppdhtml |
---|
55 | %{_bindir}/ppdi |
---|
56 | %{_bindir}/ppdmerge |
---|
57 | %{_bindir}/ppdpo |
---|
58 | %{_libdir}/cups/filter/commandtoescpx |
---|
59 | %{_libdir}/cups/filter/commandtopclx |
---|
60 | %{_libdir}/cups/filter/rastertoescpx |
---|
61 | %{_libdir}/cups/filter/rastertopclx |
---|
62 | %{_libdir}/cups/driver/drv |
---|
63 | %{_datadir}/doc/cups/help |
---|
64 | %dir %{_datadir}/cupsddk |
---|
65 | %{_datadir}/cupsddk/* |
---|
66 | #%dir %{_mandir}/cat1 |
---|
67 | #%dir %{_mandir}/cat5 |
---|
68 | #%{_mandir}/cat1/* |
---|
69 | #%{_mandir}/cat5/* |
---|
70 | %dir %{_mandir}/man1 |
---|
71 | %dir %{_mandir}/man5 |
---|
72 | %{_mandir}/man1/* |
---|
73 | %{_mandir}/man5/* |
---|
74 | %{_includedir}/cups/* |
---|
75 | |
---|
76 | |
---|
77 | %changelog |
---|
78 | * Sun Sep 21 2008 Shu KONNO <owa@bg.wakwak.com> 1.2.3-1vl5 |
---|
79 | - new upstream release |
---|
80 | - applied new versioning policy, spec in utf-8 |
---|
81 | |
---|
82 | * Sun Jun 3 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.1-0vl4 |
---|
83 | - rebuilt with new toolchain |
---|
84 | |
---|
85 | * Sun May 21 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.1-0vl3 |
---|
86 | - changed Group to Develpment/Libraries |
---|
87 | |
---|
88 | * Sun Jul 03 2005 Satoshi MACHINO <machino@vinelinux.org> 1.0.1-0vl2 |
---|
89 | - added Japanese description |
---|
90 | - fixed doc files |
---|
91 | |
---|
92 | * Sat Jul 02 2005 Satoshi MACHINO <machino@vinelinux.org> 1.0.1-0vl1 |
---|
93 | - new upstream release |
---|
94 | - changed Copyright to Lisence |
---|
95 | - added some unistalled documents |
---|
96 | - added patch0 |
---|
97 | |
---|
98 | * Wed May 05 2004 Satoshi MACHINO <machino@vinelinux.org> 1.0-1vl1 |
---|
99 | - new upstream version |
---|
100 | |
---|
101 | * Sun Apr 25 2004 Satoshi MACHINO <machino@vinelinux.org> 1.0-0.0.rc2vl1 |
---|
102 | - initial release |
---|
103 | |
---|