From 07cfec0540c8d2f05e7aa783d3c315d41ddd01d0 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 10:08:15 +0100 Subject: [PATCH] moved *.so files to main package because binaries get linked to it install initscript in sysv5 directory [release 1.4.0.5-2mamba;Thu Jan 07 2010] --- README.md | 6 +++ pipslite.spec | 107 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 113 insertions(+) create mode 100644 pipslite.spec diff --git a/README.md b/README.md index 18157b1..6cedc3a 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,8 @@ # pipslite +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. + diff --git a/pipslite.spec b/pipslite.spec new file mode 100644 index 0000000..7b171dc --- /dev/null +++ b/pipslite.spec @@ -0,0 +1,107 @@ +%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 +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 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 5-1mamba +- package created by autospec