]> git.pld-linux.org Git - packages/cups-driver-splix.git/commitdiff
- initial
authorZsolt Udvari <uzsolt@pld-linux.org>
Sat, 20 Sep 2008 18:54:34 +0000 (18:54 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cups-driver-splix.spec -> 1.1

cups-driver-splix.spec [new file with mode: 0644]

diff --git a/cups-driver-splix.spec b/cups-driver-splix.spec
new file mode 100644 (file)
index 0000000..97bd547
--- /dev/null
@@ -0,0 +1,96 @@
+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/*
This page took 0.096661 seconds and 4 git commands to generate.