summaryrefslogtreecommitdiff
path: root/packaging/epson-inkjet-printer-escpr.spec.in
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/epson-inkjet-printer-escpr.spec.in')
-rw-r--r--packaging/epson-inkjet-printer-escpr.spec.in83
1 files changed, 83 insertions, 0 deletions
diff --git a/packaging/epson-inkjet-printer-escpr.spec.in b/packaging/epson-inkjet-printer-escpr.spec.in
new file mode 100644
index 0000000..1627910
--- /dev/null
+++ b/packaging/epson-inkjet-printer-escpr.spec.in
@@ -0,0 +1,83 @@
+# epson-inkjet-printer-escpr.spec.in -- an rpm spec file templete
+# Epson Inkjet Printer Driver (ESC/P-R) for Linux
+# Copyright (C) 2000-2006 AVASYS CORPORATION.
+# Copyright (C) Seiko Epson Corporation 2006-2012.
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA.
+
+%define pkg @PACKAGE_TARNAME@
+%define ver @PACKAGE_VERSION@
+%define rel @PACKAGE_RELEASE@
+
+%define cupsfilterdir @CUPS_FILTER_DIR@
+%define cupsppddir @CUPS_PPD_DIR@
+
+Name: @PACKAGE_TARNAME@
+Version: @PACKAGE_VERSION@
+Release: @PACKAGE_RELEASE@
+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}
+BuildRequires: cups-devel
+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 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} \
+ --disable-static
+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
+%manifest epson-inkjet-printer-escpr.manifest
+%defattr(-,root,root)
+%doc AUTHORS COPYING NEWS README README.ja
+%{cupsfilterdir}/epson-escpr
+%{cupsfilterdir}/epson-escpr-wrapper
+%{_libdir}/libescpr.*
+%dir %{_datadir}/%{name}
+%{_datadir}/%{name}/paper_list.csv
+%{cupsppddir}/*.ppd