cupsddk-vl.spec 3.3 KB

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