[splix/f15] Initial import.

Jiří Popelka jpopelka at fedoraproject.org
Tue Nov 22 13:48:09 UTC 2011


commit a9111a7ed42fede5fc38c160037df26085a504ba
Author: Jiri Popelka <jpopelka at redhat.com>
Date:   Tue Nov 22 14:37:24 2011 +0100

    Initial import.

 .gitignore          |    1 +
 sources             |    1 +
 splix-nostrip.patch |   15 ++++++++++
 splix.spec          |   77 +++++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 94 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..32d5353 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/splix-2.0.1.20111121svn.tar.gz
diff --git a/sources b/sources
index e69de29..6e0191e 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+4e3abdecc072656d139a68156e500910  splix-2.0.1.20111121svn.tar.gz
diff --git a/splix-nostrip.patch b/splix-nostrip.patch
new file mode 100644
index 0000000..144c3ff
--- /dev/null
+++ b/splix-nostrip.patch
@@ -0,0 +1,15 @@
+diff -up splix/rules.mk.nostrip splix/rules.mk
+--- splix/rules.mk.nostrip	2011-06-27 20:38:45.000000000 +0200
++++ splix/rules.mk	2011-11-18 18:09:14.438351922 +0100
+@@ -21,9 +21,9 @@ cmd_install_cms		= INSTALL           col
+ install: $(rastertoqpdl_TARGET) $(pstoqpdl_TARGET)
+ 	$(Q)mkdir -p $(DESTDIR)${CUPSFILTER}
+ 	$(call printCmd, $(cmd_install_raster))
+-	$(Q)install -m 755 -s $(rastertoqpdl_TARGET) $(DESTDIR)${CUPSFILTER}
++	$(Q)install -m 755 $(rastertoqpdl_TARGET) $(DESTDIR)${CUPSFILTER}
+ 	$(call printCmd, $(cmd_install_ps))
+-	$(Q)install -m 755 -s $(pstoqpdl_TARGET) $(DESTDIR)${CUPSFILTER}
++	$(Q)install -m 755 $(pstoqpdl_TARGET) $(DESTDIR)${CUPSFILTER}
+ 	$(Q)$(MAKE) --no-print-directory -C ppd install Q=$(Q) \
+ 		DESTDIR=$(abspath $(DESTDIR)) DISABLE_JBIG=$(DISABLE_JBIG)
+ 	@echo ""
diff --git a/splix.spec b/splix.spec
new file mode 100644
index 0000000..688c830
--- /dev/null
+++ b/splix.spec
@@ -0,0 +1,77 @@
+%global checkout 20111121svn
+
+Summary: Driver for QPDL/SPL2 printers (Samsung and several Xerox printers)
+Name: splix
+Version: 2.0.1
+Release: 0.3.%{checkout}%{?dist}
+License: GPLv2
+Group: System Environment/Base
+URL: http://splix.sourceforge.net/
+
+# This is a SVN snapshot downloaded via
+# http://splix.svn.sourceforge.net/viewvc/splix/splix/?view=tar
+# and renamed to follow naming guidelines
+Source0: splix-%{version}.%{checkout}.tar.gz
+
+# Don't strip symbols out of the binaries so the debuginfo can be created
+Patch0:  splix-nostrip.patch
+
+Requires: cups
+
+# _cups_serverbin macro
+BuildRequires: cups-devel
+
+# postscriptdriver tags
+BuildRequires: python-cups
+
+%description
+This driver is usable by all printer devices which understand the QPDL
+(Quick Page Description Language) also known as SPL2 (Samsung Printer Language)
+language. It covers several Samsung, Xerox and Dell printers.
+Splix doesn't support old SPL(1) printers.
+
+%prep
+%setup -q -n splix
+# some files have wrongly set executable bit
+chmod -x include/algo0x0d.h
+chmod -x include/algo0x0e.h
+chmod -x src/algo0x0e.cpp
+chmod -x ppd/po/pt.po
+
+%patch0 -p1 -b .nostrip
+
+
+%build
+# remove DISABLE_JBIG=1 once jbigkit is shipped with Fedora (i.e. after April 2012)
+DISABLE_JBIG=1 \
+V=1 \
+CXXFLAGS="%{optflags} -fno-strict-aliasing" \
+make %{?_smp_mflags}
+
+
+%install
+# remove DISABLE_JBIG=1 once jbigkit is shipped with Fedora (i.e. after April 2012)
+DISABLE_JBIG=1 \
+DESTDIR=%{buildroot} \
+make install
+
+
+%files
+%doc COPYING AUTHORS ChangeLog THANKS
+%{_cups_serverbin}/filter/pstoqpdl
+%{_cups_serverbin}/filter/rastertoqpdl
+%{_datadir}/cups/model/dell
+%{_datadir}/cups/model/lexmark
+%{_datadir}/cups/model/samsung
+%{_datadir}/cups/model/toshiba
+%{_datadir}/cups/model/xerox
+
+%changelog
+* Tue Nov 22 2011 Jiri Popelka <jpopelka at redhat.com> - 2.0.1-0.3.20111121svn
+- Include more files into documentation (#755069).
+
+* Mon Nov 21 2011 Jiri Popelka <jpopelka at redhat.com> - 2.0.1-0.2.20111121svn
+- Download only trunk from upstream SVN repository.
+
+* Fri Nov 18 2011 Jiri Popelka <jpopelka at redhat.com> - 2.0.1-0.1.20111118svn
+- initial spec
\ No newline at end of file


More information about the scm-commits mailing list