Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ykoba:m17n
epson-inkjet-printer-escpr2
epson-inkjet-printer-escpr2.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File epson-inkjet-printer-escpr2.spec of Package epson-inkjet-printer-escpr2
# lsb.spec.in -- an rpm spec file templete for LSB package # Epson Inkjet Printer Driver (ESC/P-R) for Linux # Copyright (C) Seiko Epson Corporation 2014. # 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 epson-inkjet-printer-escpr2 %define ver 1.1.62 %define rel 1 # used in RPM macro set for the LSB Driver Development Kit %define drivername epson-inkjet-printer-escpr2 %define driverstr epson-inkjet-printer-escpr2 # % define distribution LSB %define manufacturer EPSON %define supplier %{drivername} %define lsbver 3.2 %define extraversion -%{rel}lsb%{lsbver} %define supplierstr Seiko Epson Corporation AutoReqProv: no Name: %{pkg} Version: %{ver} Release: 0 License: LGPL-2.0-or-later and SEIKO EPSON CORPORATION SOFTWARE LICENSE AGREEMENT Vendor: Seiko Epson Corporation URL: http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX Summary: Epson Inkjet Printer Driver 2 (ESC/P-R) for Linux Group: Hardware/Printing Source0: %{name}-%{version}%{extraversion}.tar.gz # Packager: JSI Data Systems Patch0: bug_x86_64.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} BuildRequires: cups BuildRequires: cups-devel BuildRequires: cups-rpm-helper Requires: cups %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 # from RPM macro set for the LSB Driver Development Kit # % install_into_opt # Packaging settings %prep %setup %patch0 -p1 %build export CFLAGS="$RPM_OPT_FLAGS" export CXXFLAGS="$RPM_OPT_FLAGS" unset CC unset CXX unset LDFLAGS %configure \ --host=%{_target} \ --with-gnu-ld \ --with-cupsfilterdir=/usr/lib/cups/filter \ --with-cupsppddir=/usr/share/cups/model \ --prefix=/usr\ --sysconfdir=/etc\ --libdir=/usr/lib64 make pkgdatadir=%{_datadir} %install # rm -rf % {buildroot} # Make directories install -d %{buildroot}/usr/lib/cups/filter #install -d % {buildroot} % {_libdir} install -d %{buildroot}%{_datadir} install -d %{buildroot}%{_docdir}/epson-inkjet-printer-escpr2 make install-strip DESTDIR=%{buildroot} pkgdatadir=%{_datadir} install -m 644 README README.ja COPYING AUTHORS NEWS %{buildroot}%{_docdir}/epson-inkjet-printer-escpr2 rm -f %{buildroot}/usr/lib64/*.a rm -f %{buildroot}/usr/lib64/*.la # from RPM macro set for the LSB Driver Development Kit # % adjust_ppds # pre/post scripts %pre # % create_opt_dirs %post /sbin/ldconfig # % set_ppd_links # % restart_cups %postun /sbin/ldconfig # % not_on_rpm_update # % remove_ppd_links # % restart_cups # % end_not_on_rpm_update %clean make clean rm -rf %{buildroot} %files %defattr(-,root,root) %dir %{_datadir}/cups %dir %{_datadir}/cups/model %dir %{_datadir}/cups/model/epson-inkjet-printer-escpr2 %{_prefix}/lib/cups/filter/epson*2 %{_libdir}/libescpr2.* %{_datadir}/cups/model/epson-inkjet-printer-escpr2 %{_datadir}/doc/packages/epson-inkjet-printer-escpr2 %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor