eplaser-cups-vl.spec 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. Summary: PPD files for EPSON laser printers.
  2. Summary(ja): EPSON レーザプリンタ用 PPD ファイル
  3. Name: eplaser-cups
  4. Version: 3.4.1
  5. Release: 2%{?_dist_release}
  6. License: GPL
  7. Group: System Environment/Libraries
  8. Source: eplaser-cups-ppd-%{version}.tgz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildArch: noarch
  11. Requires: cups, foomatic
  12. Requires: ghostscript >= 7.07-0vl25.1
  13. %description
  14. eplaser-cups is PPD files collection for printing with EPSON LP-* series.
  15. %description -l ja
  16. eplaser-cups は、CUPS (Common Unix Printing System) で EPSON の
  17. レーザプリンタ LP-* シリーズを使うための PPD ファイル群です。
  18. %prep
  19. %setup -n eplaser
  20. %build
  21. for f in *.ppd.gz; do
  22. /bin/gzip -d $f
  23. done
  24. for f in *.ppd; do
  25. /usr/bin/perl -pi -e 's/^%/*%/' $f
  26. /usr/bin/perl -pi -e 's/cupsomatic/foomatic-rip/' $f
  27. /bin/gzip -9 $f
  28. done
  29. %install
  30. mkdir -p %{buildroot}%{_datadir}/cups/model/foomatic/Epson
  31. install -m 0644 *.ppd.gz %{buildroot}%{_datadir}/cups/model/foomatic/Epson
  32. %clean
  33. rm -rf %{buildroot}
  34. %files
  35. %defattr(-,root,root)
  36. %doc COPYING readme-eplaser-cups.*
  37. %{_datadir}/cups/model/foomatic/Epson/*
  38. %changelog
  39. * Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> 3.4.1-2
  40. - rebuilt with rpm-4.8.1-3
  41. * Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 3.4.1-1vl5
  42. - applied new versioning policy, spec in utf-8
  43. * Sun Apr 15 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 3.4.1-0vl2
  44. - fix permissions of document dirs
  45. - Requires: ghostscript >= 7.07-0vl25.1
  46. * Fri Mar 31 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 3.4.1-0vl1
  47. - new upstream release
  48. - add support for LP-S6500, LP-S4500
  49. - use License tag instead of Copyright
  50. * Fri May 20 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 3.1.6-0vl1
  51. - new upstream release
  52. - add support LP-9200B, LP-9200C
  53. * Sun Jul 18 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 3.1.4-0vl2
  54. - really update to new upstream release.
  55. eplaser-cups-driver-3.1.2-jp.tgz -> eplaser-cups-ppd-3.1.4.tgz
  56. * Sat Jul 10 2004 Satoshi MACHINO <machino@vinelinux.org> 3.1.4-0vl1
  57. - new upstream release
  58. * Thu Mar 4 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 3.1.2-0vl1
  59. - new upstream release
  60. - change architecture to noarch.
  61. * Sat Aug 30 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  62. - 3.1.0-0vl0
  63. - first build.