summaryrefslogtreecommitdiff
path: root/epson-laser-printer-escpage.spec.in
diff options
context:
space:
mode:
Diffstat (limited to 'epson-laser-printer-escpage.spec.in')
-rwxr-xr-xepson-laser-printer-escpage.spec.in61
1 files changed, 61 insertions, 0 deletions
diff --git a/epson-laser-printer-escpage.spec.in b/epson-laser-printer-escpage.spec.in
new file mode 100755
index 0000000..54f106d
--- /dev/null
+++ b/epson-laser-printer-escpage.spec.in
@@ -0,0 +1,61 @@
+
+%define pkg @PACKAGE_TARNAME@
+%define ver @PACKAGE_VERSION@
+%define rel @PACKAGE_RELEASE@
+
+%define cupsfilterdir @CUPS_FILTER_DIR@
+%define cupsppddir @CUPS_PPD_DIR@
+
+Name: %{pkg}
+Version: %{ver}
+Release: %{rel}
+Source0: %{name}-%{version}.tar.gz
+License: GPL
+Vendor: @VENDOR_NAME@
+URL: http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX
+Packager: @PACKAGE_BUGREPORT@
+BuildRoot: %{_tmppath}/%{name}-%{version}
+Group: Applications/System
+Summary: @PACKAGE_NAME@
+
+%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 Laser Printers.
+
+This product supports only EPSON ESC/Page printers. This package can be
+used for all EPSON ESC/Page 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-escpage
+%{_libdir}/libescpr.*
+# %dir %{_datadir}/%{name}
+%{cupsppddir}/*.ppd