Blame SPECS/splix.spec

8d177b
%global checkout 20130902svn
8d177b
8d177b
Summary: Driver for QPDL/SPL2 printers (Samsung and several Xerox printers)
8d177b
Name: splix
8d177b
Version: 2.0.1
8d177b
Release: 0.36.%{checkout}%{?dist}
8d177b
License: GPLv2
8d177b
URL: http://splix.sourceforge.net/
8d177b
8d177b
# This is a SVN snapshot downloaded via 'Download Snapshot' from
8d177b
# https://sourceforge.net/p/splix/code/315/tree/
8d177b
# and renamed to follow naming guidelines
8d177b
Source0: splix-%{version}.%{checkout}.tar.bz2
8d177b
8d177b
# IEEE 1284 Device IDs
8d177b
Patch0:  splix-deviceID.patch
8d177b
# rules.mk misses LDFLAGS
8d177b
Patch1:  splix-ldflags.patch
8d177b
8d177b
Requires: cups
8d177b
8d177b
# gcc-c++ is no longer in buildroot by default
8d177b
BuildRequires: gcc-c++
8d177b
8d177b
# _cups_serverbin macro
8d177b
BuildRequires: cups-devel
8d177b
8d177b
# postscriptdriver tags
8d177b
BuildRequires: python3-cups, cups
8d177b
8d177b
# JBIG1 lossless image compression
8d177b
BuildRequires: jbigkit-devel
8d177b
8d177b
%description
8d177b
This driver is usable by all printer devices which understand the QPDL
8d177b
(Quick Page Description Language) also known as SPL2 (Samsung Printer Language)
8d177b
language. It covers several Samsung, Xerox and Dell printers.
8d177b
Splix doesn't support old SPL(1) printers.
8d177b
8d177b
%prep
8d177b
%setup -q -n splix
8d177b
8d177b
# remove old PPDs (not sure why some PPDs are outside ppd/)
8d177b
rm -f *.ppd
8d177b
8d177b
pushd ppd
8d177b
# remove old PPDs
8d177b
make distclean
8d177b
popd
8d177b
8d177b
%patch0 -p1 -b .deviceID
8d177b
%patch1 -p1 -b .ldflags
8d177b
8d177b
%build
8d177b
%set_build_flags
8d177b
# *.drv.in -> *.drv
8d177b
make drv
8d177b
8d177b
CXXFLAGS="%{optflags} -fno-strict-aliasing" \
8d177b
make all V=1 DRV_ONLY=1 %{?_smp_mflags}
8d177b
8d177b
%install
8d177b
make install DRV_ONLY=1 CUPSDRV=%{_datadir}/cups/drv/splix DESTDIR=%{buildroot}
8d177b
8d177b
%files
8d177b
%license COPYING
8d177b
%doc AUTHORS ChangeLog THANKS
8d177b
%{_cups_serverbin}/filter/pstoqpdl
8d177b
%{_cups_serverbin}/filter/rastertoqpdl
8d177b
%{_datadir}/cups/drv/splix
8d177b
8d177b
%changelog
8d177b
* Fri Mar 02 2018 Zdenek Dohnal <zdohnal@redhat.com> - 2.0.1-0.36.20130902svn
8d177b
- 1550554 - splix: Partial Fedora build flags injection
8d177b
8d177b
* Mon Feb 19 2018 Zdenek Dohnal <zdohnal@redhat.com> - 2.0.1-0.35.20130902svn
8d177b
- gcc-c++ is no longer in buildroot by default
8d177b
8d177b
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-0.34.20130902svn
8d177b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
8d177b
8d177b
* Sat Jan 20 2018 Björn Esser <besser82@fedoraproject.org> - 2.0.1-0.33.20130902svn
8d177b
- Rebuilt for switch to libxcrypt
8d177b
8d177b
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-0.32.20130902svn
8d177b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
8d177b
8d177b
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-0.31.20130902svn
8d177b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
8d177b
8d177b
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-0.30.20130902svn
8d177b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
8d177b
8d177b
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-0.29.20130902svn
8d177b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
8d177b
8d177b
* Tue Dec 29 2015 Jiri Popelka <jpopelka@redhat.com> - 2.0.1-0.28.20130902svn
8d177b
- Add Device ID for Xerox WorkCentre 3119 Series (#1294214)
8d177b
8d177b
* Thu Nov 26 2015 Jiri Popelka <jpopelka@redhat.com> - 2.0.1-0.27.20130902svn
8d177b
- BuildRequires: python3-cups
8d177b
8d177b
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.1-0.26.20130902svn
8d177b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
8d177b
8d177b
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 2.0.1-0.25.20130902svn
8d177b
- Rebuilt for GCC 5 C++11 ABI change
8d177b
8d177b
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.1-0.24.20130902svn
8d177b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
8d177b
8d177b
* Wed Aug 13 2014 Jiri Popelka <jpopelka@redhat.com> - 2.0.1-0.23.20130902svn
8d177b
- Rebuilt against jbigkit-2.1
8d177b
8d177b
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.1-0.22.20130902svn
8d177b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
8d177b
8d177b
* Mon May 12 2014 Jiri Popelka <jpopelka@redhat.com> - 2.0.1-0.21.20130902svn
8d177b
- Add Device ID for Samsung ML-2160
8d177b
8d177b
* Mon Mar 17 2014 Jiri Popelka <jpopelka@redhat.com> - 2.0.1-0.20.20130902svn
8d177b
- Add Device ID for Samsung ML-1640
8d177b
8d177b
* Mon Sep 02 2013 Jiri Popelka <jpopelka@redhat.com> - 2.0.1-0.19.20130902svn
8d177b
- Latest upstream snapshot.
8d177b
8d177b
* Sat Jul 27 2013 Jiri Popelka <jpopelka@redhat.com> - 2.0.1-0.18.20121128svn
8d177b
- Add Device ID for Samsung CLP-310 (#988926)
8d177b
8d177b
* Mon Apr 08 2013 Jiri Popelka <jpopelka@redhat.com> - 2.0.1-0.17.20121128svn
8d177b
- Add Device IDs for Samsung SCX-4200 Series (#949063)
8d177b
8d177b
* Wed Mar 06 2013 Jiri Popelka <jpopelka@redhat.com> - 2.0.1-0.16.20121128svn
8d177b
- Add Device IDs for Samsung ML-2250/2510, Xerox Phaser 3117/3120/3130
8d177b
8d177b
* Tue Mar  5 2013 Tim Waugh <twaugh@redhat.com> - 2.0.1-0.15.20121128svn
8d177b
- Build requires cups for postscriptdriver tags (bug #917333).
8d177b
8d177b
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.1-0.14.20121128svn
8d177b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
8d177b
8d177b
* Wed Nov 28 2012 Jiri Popelka <jpopelka@redhat.com> - 2.0.1-0.13.20121128svn
8d177b
- latest svn snapshot
8d177b
8d177b
* Wed Oct 17 2012 Jiri Popelka <jpopelka@redhat.com> - 2.0.1-0.12.20120419svn
8d177b
- Add Device ID for Xerox Phaser 3124 (#867392).
8d177b
8d177b
* Tue Sep 25 2012 Jiri Popelka <jpopelka@redhat.com> - 2.0.1-0.11.20120419svn
8d177b
- Add Device ID for Samsung ML-2525 (#859669).
8d177b
8d177b
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.1-0.10.20120419svn
8d177b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
8d177b
8d177b
* Thu Apr 19 2012 Jiri Popelka <jpopelka@redhat.com> - 2.0.1-0.9.20120419svn
8d177b
- Latest upstream snapshot: all patches and changes merged upstream !
8d177b
- Build splix with JBIG1 support and install DRV files instead of PPD files.
8d177b
- Add Device ID for Samsung ML-2010 (#807308).
8d177b
8d177b
* Wed Jan 18 2012 Jiri Popelka <jpopelka@redhat.com> - 2.0.1-0.7.20111121svn
8d177b
- Add Device ID for Samsung ML-1660.
8d177b
8d177b
* Wed Nov 30 2011 Jiri Popelka <jpopelka@redhat.com> - 2.0.1-0.6.20111121svn
8d177b
- Install splix PPDs into separate directory.
8d177b
- Added patch for compiling/installing DRVs instead of PPDs.
8d177b
  However we still ship only selected PPDs instead of DRVs as some printers
8d177b
  require JBIG1 support.
8d177b
8d177b
* Tue Nov 29 2011 Jiri Popelka <jpopelka@redhat.com> - 2.0.1-0.5.20111121svn
8d177b
- Re-compile PPD files.
8d177b
8d177b
* Mon Nov 28 2011 Jiri Popelka <jpopelka@redhat.com> - 2.0.1-0.4.20111121svn
8d177b
- Add Device ID for Samsung ML-1610.
8d177b
8d177b
* Tue Nov 22 2011 Jiri Popelka <jpopelka@redhat.com> - 2.0.1-0.3.20111121svn
8d177b
- Include more files into documentation (#755069).
8d177b
8d177b
* Mon Nov 21 2011 Jiri Popelka <jpopelka@redhat.com> - 2.0.1-0.2.20111121svn
8d177b
- Download only trunk from upstream SVN repository.
8d177b
8d177b
* Fri Nov 18 2011 Jiri Popelka <jpopelka@redhat.com> - 2.0.1-0.1.20111118svn
8d177b
- Initial spec file.