From b86b87c0fcc201bcb584379a10f640347f50038f Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 18:04:29 +0100 Subject: [PATCH] rebuilt dynamically linked to libjbig [release 2.0.0-2mamba;Mon Dec 19 2011] --- README.md | 2 ++ splix-2.0.0-gcc45.patch | 12 ++++++++ splix.spec | 61 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 75 insertions(+) create mode 100644 splix-2.0.0-gcc45.patch create mode 100644 splix.spec diff --git a/README.md b/README.md index 3f4d706..cf73c4c 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # splix +A driver for SPL printers (Samsung and several Xerox printers). + diff --git a/splix-2.0.0-gcc45.patch b/splix-2.0.0-gcc45.patch new file mode 100644 index 0000000..7fe8aa7 --- /dev/null +++ b/splix-2.0.0-gcc45.patch @@ -0,0 +1,12 @@ +diff -Nru splix-2.0.0.orig/src/ppdfile.cpp splix-2.0.0/src/ppdfile.cpp +--- splix-2.0.0.orig/src/ppdfile.cpp 2009-02-06 12:49:10.000000000 +0100 ++++ splix-2.0.0/src/ppdfile.cpp 2011-10-21 00:30:40.652147953 +0200 +@@ -282,7 +282,7 @@ + * Opérateur d'assignation + * Assignment operator + */ +-void PPDFile::Value::operator = (const PPDFile::Value::Value &val) ++void PPDFile::Value::operator = (const PPDFile::Value &val) + { + if (_preformatted) + delete[] _preformatted; diff --git a/splix.spec b/splix.spec new file mode 100644 index 0000000..c555c1e --- /dev/null +++ b/splix.spec @@ -0,0 +1,61 @@ +Name: splix +Version: 2.0.0 +Release: 2mamba +Summary: A driver for SPL printers (Samsung and several Xerox printers) +Group: System/Spooling +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://splix.sourceforge.net/ +Source: http://sourceforge.net/projects/splix/files/splix/%{version}/splix-%{version}.tar.bz2 +Patch0: %{name}-2.0.0-gcc45.patch +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libcups-devel +BuildRequires: libe2fs-devel +BuildRequires: libgcc +BuildRequires: libgcrypt-devel +BuildRequires: libgnutls-devel +BuildRequires: libgpg-error-devel +BuildRequires: libjbig-devel +BuildRequires: libkrb5-devel +BuildRequires: libstdc++6-devel +BuildRequires: libz-devel +## AUTOBUILDREQ-END +BuildRequires: libcups-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +A driver for SPL printers (Samsung and several Xerox printers). + +%prep +%setup -q +%patch0 -p1 + +%build +%make -j1 + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_prefix}/lib/cups/filter/pstoqpdl +%{_prefix}/lib/cups/filter/rastertoqpdl +%{_datadir}/cups/model/dell/*.ppd +%{_datadir}/cups/model/samsung/*.ppd +%{_datadir}/cups/model/xerox/*.ppd +%doc AUTHORS COPYING +# ChangeLog README THANKS TODO + +%changelog +* Mon Dec 19 2011 Silvan Calarco 2.0.0-2mamba +- rebuilt dynamically linked to libjbig + +* Fri Oct 21 2011 Silvan Calarco 2.0.0-1mamba +- package created by autospec