Silvan Calarco
07cfec0540
install initscript in sysv5 directory [release 1.4.0.5-2mamba;Thu Jan 07 2010]
108 lines
3.7 KiB
RPMSpec
108 lines
3.7 KiB
RPMSpec
%define pkgver %(echo %version | cut -d. -f1-3)
|
|
%define minver %(echo %version | cut -d. -f4)
|
|
Name: pipslite
|
|
Version: 1.4.0.5
|
|
Release: 2mamba
|
|
Summary: A filter program for CUPS that offers high quality printing with Seiko Epson color ink jet printers
|
|
Group: System/Spooling
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://www.avasys.jp/lx-bin2/linux_e/spc/DL2.do
|
|
Source: http://www.avasys.jp/lx-bin2/linux_e/spc/DL2.do/pipslite_%{pkgver}-%{minver}.tar.gz
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libatk-devel
|
|
BuildRequires: libcairo-devel
|
|
BuildRequires: libcups-devel
|
|
BuildRequires: libfontconfig-devel
|
|
BuildRequires: libfreetype-devel
|
|
BuildRequires: libglib-devel
|
|
BuildRequires: libgtk-devel
|
|
BuildRequires: libjpeg-devel
|
|
BuildRequires: libltdl-devel
|
|
BuildRequires: libpango-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
This software is a filter program used with the Common UNIX Printing System (CUPS) on the Linux platform.
|
|
The software offers high quality printing with Seiko Epson color ink jet printers.
|
|
|
|
This product has the same functions as the Photo Image Print Systems, but it can only be used with printers that support the Epson ESC/P-R language.
|
|
Unlike the Photo Image Print System, it can be used with all printers that support the Epson ESC/P-R language.
|
|
|
|
%package devel
|
|
Summary: Devel package for %{name}
|
|
Group: Development/Libraries
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description devel
|
|
This software is a filter program used with the Common UNIX Printing System (CUPS) on the Linux platform.
|
|
The software offers high quality printing with Seiko Epson color ink jet printers.
|
|
|
|
This product has the same functions as the Photo Image Print Systems, but it can only be used with printers that support the Epson ESC/P-R language.
|
|
Unlike the Photo Image Print System, it can be used with all printers that support the Epson ESC/P-R language.
|
|
|
|
This package contains static libraries and header files needed for development.
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}-%{pkgver}
|
|
|
|
%build
|
|
%configure
|
|
%make -j1
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}/%{_localstatedir}/cache/%{name}
|
|
touch ${RPM_BUILD_ROOT}/%{_sysconfdir}/%{name}/installed-ppd.lst
|
|
install -d -m0755 %{buildroot}%{_initrddir}
|
|
cp %{buildroot}%{_libdir}/pipslite/rc.d/pipslited %{buildroot}%{_initrddir}/
|
|
%find_lang %{name}
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files -f %{name}.lang
|
|
%defattr(-,root,root)
|
|
%config(noreplace) %{_sysconfdir}/pipslite/pipslitedrc
|
|
%config(noreplace) %{_sysconfdir}/pipslite/installed-ppd.lst
|
|
%{_initrddir}/pipslited
|
|
%{_bindir}/pipslite-install
|
|
%{_bindir}/pipslitestm
|
|
%{_libdir}/cups/backend/pipslitelp
|
|
%{_libdir}/cups/filter/pipslite-filter
|
|
%{_libdir}/cups/filter/pipslite-wrapper
|
|
%{_libdir}/cups/filter/pipslitel2-filter
|
|
%{_libdir}/liblite.so
|
|
%{_libdir}/liblite.so.*
|
|
%{_libdir}/liblitel2.so
|
|
%{_libdir}/liblitel2.so.*
|
|
%{_libdir}/pipslite/*
|
|
%{_datadir}/cups/model/eklite.ppd
|
|
%{_datadir}/pipslite/paper_list.csv
|
|
%doc AUTHORS COPYING ChangeLog NEWS README README.ja
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_libdir}/liblite.a
|
|
%{_libdir}/liblite.la
|
|
%{_libdir}/liblitel2.a
|
|
%{_libdir}/liblitel2.la
|
|
|
|
%changelog
|
|
* Thu Jan 07 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.0.5-2mamba
|
|
- moved *.so files to main package because binaries get linked to it
|
|
- install initscript in sysv5 directory
|
|
|
|
* Wed Jan 06 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 5-1mamba
|
|
- package created by autospec
|