hpijs-vl.spec 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. Summary: HP Printer Drivers
  2. Summary(ja): HP プリンタ用のドライバ
  3. Name: hpijs
  4. Version: 3.9.4b
  5. Release: 1%{?_dist_release}
  6. Source0: hplip-%{version}.tar.gz
  7. License: BSD
  8. Group: Applications/Publishing
  9. URL: http://hplip.sourceforge.net/
  10. Requires: ghostscript
  11. BuildRequires: python-devel >= 2.3
  12. BuildRequires: net-snmp-devel
  13. BuildRoot: %{_tmppath}/hplip-%{version}-root
  14. Packager: kazutaka
  15. %description
  16. hpijs is a collection of optimized drivers for HP printers.
  17. hpijs supports the DeskJet 350C, 600C, 600C Photo, 630C, Apollo 2000,
  18. Apollo 2100, Apollo 2560, DeskJet 800C, DeskJet 825, DeskJet 900,
  19. PhotoSmart, DeskJet 990C and PhotoSmart 100 series.
  20. %description -l ja
  21. hpijs は HP プリンタ用に最適化したドライバ集です。
  22. hpijs がサポートしているプリンタは
  23. DeskJet 350C, 600C, 600C Photo, 630C, Apollo 2000,
  24. Apollo 2100, Apollo 2560, DeskJet 800C, DeskJet 825, DeskJet 900,
  25. PhotoSmart, DeskJet 990C および PhotoSmart 100 シリーズです。
  26. %prep
  27. %setup -q -n hplip-%{version}
  28. %build
  29. %configure --enable-hpijs-only-build \
  30. --disable-hpcups-install \
  31. --disable-doc-build \
  32. --disable-fax-build \
  33. --disable-cups-drv-install \
  34. --disable-cups-ppd-install \
  35. --disable-foomatic-ppd-install \
  36. --disable-foomatic-drv-install
  37. %{__make}
  38. %install
  39. %{__rm} -rf ${RPM_BUILD_ROOT}
  40. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  41. # move documents.
  42. %{__mkdir} ${RPM_BUILD_ROOT}/%{_datadir}/doc/%{name}-%{version}
  43. %{__mv} ${RPM_BUILD_ROOT}/%{_datadir}/doc/hplip-%{version}/* ${RPM_BUILD_ROOT}/%{_datadir}/doc/%{name}-%{version}
  44. # remove ppd files (configure option ignored...)
  45. %{__rm} -rf ${RPM_BUILD_ROOT}/%{_datadir}/ppd
  46. # remove unpacked file
  47. %{__rm} -rf ${RPM_BUILD_ROOT}/%{_libdir}/cups/filter/hpcups
  48. %clean
  49. %{__rm} -rf ${RPM_BUILD_ROOT}
  50. %files
  51. %defattr(-,root,root)
  52. %doc %{_datadir}/doc/%{name}-%{version}/*
  53. %{_bindir}/hpijs
  54. %changelog
  55. * Thu Jul 23 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 3.9.4b-1
  56. - initial build for Vine Linux
  57. - switch source of hpijs from ghostscript to hplip