Blame SPECS/splix.spec

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