diff options
Diffstat (limited to 'epson-inkjet-printer-escpr.spec')
-rw-r--r-- | epson-inkjet-printer-escpr.spec | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/epson-inkjet-printer-escpr.spec b/epson-inkjet-printer-escpr.spec new file mode 100644 index 0000000..01c2be6 --- /dev/null +++ b/epson-inkjet-printer-escpr.spec @@ -0,0 +1,61 @@ + +%define pkg epson-inkjet-printer-escpr +%define ver 1.2.2 +%define rel 1 + +%define cupsfilterdir /usr/lib/cups/filter +%define cupsppddir /usr/share/ppd + +Name: %{pkg} +Version: %{ver} +Release: %{rel} +Source0: %{name}-%{version}.tar.gz +License: GPL +Vendor: Seiko Epson Corporation +URL: http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX +Packager: Seiko Epson Corporation <linux-printer@epson.jp> +BuildRoot: %{_tmppath}/%{name}-%{version} +Group: Applications/System +Summary: Epson Inkjet Printer Driver (ESC/P-R) for Linux + +%description +This software is a filter program used with Common UNIX Printing +System (CUPS) from the Linux. This can supply the high quality print +with Seiko Epson Color Ink Jet Printers. + +This product supports only EPSON ESC/P-R printers. This package can be +used for all EPSON ESC/P-R printers. + +For detail list of supported printer, please refer to below site: +http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX + +%prep +%setup -q + +%build +%configure \ + --with-cupsfilterdir=%{cupsfilterdir} \ + --with-cupsppddir=%{cupsppddir} +make + +%install +rm -rf ${RPM_BUILD_ROOT} +make install-strip DESTDIR=${RPM_BUILD_ROOT} + +%post +/sbin/ldconfig + +%postun +/sbin/ldconfig + +%clean +make clean +rm -rf ${RPM_BUILD_ROOT} + +%files +%defattr(-,root,root) +%doc AUTHORS COPYING NEWS README README.ja +%{cupsfilterdir}/epson-escpr +%{cupsfilterdir}/epson-escpr-wrapper +%{_libdir}/libescpr.* +%{cupsppddir}/*.ppd |