2024-01-05 18:04:29 +01:00
|
|
|
Name: splix
|
2024-11-29 18:48:01 +01:00
|
|
|
Version: 2.0.1
|
|
|
|
Release: 1mamba
|
2024-01-05 18:04:29 +01:00
|
|
|
Summary: A driver for SPL printers (Samsung and several Xerox printers)
|
|
|
|
Group: System/Spooling
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-11-29 18:48:01 +01:00
|
|
|
URL: https://sourceforge.net/projects/splix/
|
|
|
|
Source: https://github.com/OpenPrinting/splix.git/%{version}/splix-%{version}.tar.bz2
|
|
|
|
Patch0: splix-2.0.1-deviceID.patch
|
|
|
|
Patch1: splix-2.0.1-ldflags.patch
|
|
|
|
Patch2: splix-2.0.1-use-pkg-conf.patch
|
2024-01-05 18:04:29 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libcups-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libjbig-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-11-29 18:48:01 +01:00
|
|
|
Requires: cups
|
2024-01-05 18:04:29 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
A driver for SPL printers (Samsung and several Xerox printers).
|
|
|
|
|
2024-11-29 18:48:01 +01:00
|
|
|
%debug_package
|
2024-01-05 18:04:29 +01:00
|
|
|
|
2024-01-05 18:04:29 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-11-29 18:48:01 +01:00
|
|
|
# remove old PPDs (not sure why some PPDs are outside ppd/)
|
|
|
|
rm -f *.ppd
|
|
|
|
pushd ppd
|
|
|
|
# remove old PPDs
|
|
|
|
make distclean
|
|
|
|
popd
|
|
|
|
|
|
|
|
%patch 0 -p1 -b .deviceID
|
|
|
|
%patch 1 -p1 -b .ldflags
|
|
|
|
%patch 2 -p1 -b .use-pkg-conf
|
2024-01-05 18:04:29 +01:00
|
|
|
|
|
|
|
%build
|
2024-11-29 18:48:01 +01:00
|
|
|
%make_build drv
|
|
|
|
|
|
|
|
CXXFLAGS="%{optflags} -fno-strict-aliasing" \
|
|
|
|
%make_build all V=1 DRV_ONLY=1 LDFLAGS="-pie"
|
2024-01-05 18:04:29 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-11-29 18:48:01 +01:00
|
|
|
%makeinstall DRV_ONLY=1
|
2024-01-05 18:04:29 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_prefix}/lib/cups/filter/pstoqpdl
|
|
|
|
%{_prefix}/lib/cups/filter/rastertoqpdl
|
2024-11-29 18:48:01 +01:00
|
|
|
%{_datadir}/cups/drv/splix-*.drv
|
2024-01-05 18:04:29 +01:00
|
|
|
%doc AUTHORS COPYING
|
|
|
|
# ChangeLog README THANKS TODO
|
|
|
|
|
|
|
|
%changelog
|
2024-11-29 18:48:01 +01:00
|
|
|
* Thu Nov 28 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.1-1mamba
|
|
|
|
- update to 2.0.1
|
|
|
|
|
2024-01-05 18:04:29 +01:00
|
|
|
* Wed Aug 16 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.0-3mamba
|
|
|
|
- rebuilt
|
|
|
|
|
2024-01-05 18:04:29 +01:00
|
|
|
* Mon Dec 19 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.0-2mamba
|
|
|
|
- rebuilt dynamically linked to libjbig
|
|
|
|
|
|
|
|
* Fri Oct 21 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.0-1mamba
|
|
|
|
- package created by autospec
|