SPECS: cups-driver-splix.spec (NEW) - initial
uzsolt
uzsolt at pld-linux.org
Sat Sep 20 20:54:40 CEST 2008
Author: uzsolt Date: Sat Sep 20 18:54:39 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial
---- Files affected:
SPECS:
cups-driver-splix.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/cups-driver-splix.spec
diff -u /dev/null SPECS/cups-driver-splix.spec:1.1
--- /dev/null Sat Sep 20 20:54:40 2008
+++ SPECS/cups-driver-splix.spec Sat Sep 20 20:54:34 2008
@@ -0,0 +1,108 @@
+# $Revision$, $Date$
+Summary: A set of CUPS printer drivers for SPL (Samsung Printer Language) printers
+Name: cups-driver-splix
+Version: 1.1.1
+Release: 0.1
+License: GPL
+Group: Applications
+Source0: http://dl.sourceforge.net/splix/splix-%{version}.tar.bz2
+# Source0-md5: 13af25dd72aae68b39eaf557d62957a5
+URL: http://splix.sourceforge.net/
+BuildRequires: cups-devel
+Requires: cups
+Requires: cups-clients
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define _datadir %(cups-config --datadir 2>/dev/null)
+%define _libdir %(cups-config --serverbin 2>/dev/null)
+%define _cupsppddir %{_datadir}/model
+%define _cupsfilterdir %{_libdir}/filter
+%define _cupsfontsdir %{_datadir}/fonts
+
+%description
+Splix is a driver for printers that speak SPL (Samsung Printer
+Language). This includes printers made by Samsung and several Xerox
+printers.
+
+%package samsung
+Summary: Splix Samsung drivers to CUPS
+Group: Applications
+Requires: cups-driver-splix = %{version}
+
+%description samsung
+Splix Samsung drivers to CUPS
+
+%package xerox
+Summary: Splix Xerox drivers to CUPS
+Group: Applications
+Requires: cups-driver-splix = %{version}
+
+%description xerox
+Splix Xerox drivers to CUPS
+
+%package dell
+Summary: Splix Dell drivers to CUPS
+Group: Applications
+Requires: cups-driver-splix = %{version}
+
+%description dell
+Splix Dell drivers to CUPS
+
+
+
+%prep
+%setup -q -n splix-%{version}
+
+%build
+%{__make} DISABLE_JBIG=1
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_cupsfilterdir}
+install src/rastertospl2 $RPM_BUILD_ROOT%{_cupsfilterdir}
+## samsung drivers
+install -d $RPM_BUILD_ROOT%{_cupsppddir}/samsung
+cp ppd/{cl{p,x}*,ml*} $RPM_BUILD_ROOT%{_cupsppddir}/samsung
+## xerox drivers
+install -d $RPM_BUILD_ROOT%{_cupsppddir}/xerox
+cp ppd/ph* $RPM_BUILD_ROOT%{_cupsppddir}/xerox
+## dell drivers
+install -d $RPM_BUILD_ROOT%{_cupsppddir}/dell
+cp ppd/1100* $RPM_BUILD_ROOT%{_cupsppddir}/dell
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog INSTALL README THANKS TODO
+%attr(755,root,root) %{_cupsfilterdir}/rastertospl2
+
+%files samsung
+%defattr(644,root,root,755)
+%dir %{_cupsppddir}/samsung
+%{_cupsppddir}/samsung/*
+
+
+%files xerox
+%defattr(644,root,root,755)
+%dir %{_cupsppddir}/xerox
+%{_cupsppddir}/xerox/*
+
+%files dell
+%defattr(644,root,root,755)
+%dir %{_cupsppddir}/dell
+%{_cupsppddir}/dell/*
+
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2008/09/20 18:54:34 uzsolt
+- initial
+
================================================================
More information about the pld-cvs-commit
mailing list