Name: ptouch-driver Version: 1.5.1 Release: 5%{?dist} Summary: CUPS driver for Brother P-touch label printers License: GPLv2+ URL: https://github.com/philpem/printer-driver-ptouch Source0: https://github.com/philpem/printer-driver-ptouch/releases/download/v%{version}/%{name}-%{version}.tar.gz # gcc is no longer in buildroot by default (needed for rastertoptch filter) BuildRequires: gcc # uses make BuildRequires: make BuildRequires: cups-devel BuildRequires: automake # ensure we have postscript tags for drivers BuildRequires: python3-cups BuildRequires: perl(XML::LibXML) BuildRequires: libpng-devel Requires: cups %description This is a CUPS raster filter for Brother P-touch label printers. It is meant to be used by the PostScript Description files of the drivers from the foomatic package. %package foomatic Summary: Foomatic database data for Brother P-touch label printers BuildArch: noarch Requires: %{name} = %{version}-%{release} Requires: foomatic-db >= 4.0-25.20101123.fc15 %description foomatic This package contains foomatic database XML entries to generate PPDs for driving the family of Brother P-touch label printers. %prep %setup -q %build # On 64bits, we need to install into lib, not lib64 # (see _cups_serverbin macro from cups-devel) # and this package for some reason uses libdir %configure --libdir=%{_prefix}/lib make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT %files %{_cups_serverbin}/filter/rastertoptch %doc AUTHORS ChangeLog COPYING NEWS README %files foomatic %{_datarootdir}/foomatic/db/source/driver/ptouch-*.xml %{_datarootdir}/foomatic/db/source/printer/Brother-*.xml %{_datarootdir}/foomatic/db/source/opt/Brother-PT-*.xml %{_datarootdir}/foomatic/db/source/opt/Brother-PTQL-*.xml %{_datarootdir}/foomatic/db/source/opt/Brother-QL-*.xml %changelog * Fri Jul 23 2021 Fedora Release Engineering - 1.5.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 1.5.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Nov 05 2020 Zdenek Dohnal - 1.5.1-3 - make is no longer in buildroot by default * Tue Jul 28 2020 Fedora Release Engineering - 1.5.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Zdenek Dohnal - 1.5.1-1 - 1.5.1 * Thu Jan 30 2020 Fedora Release Engineering - 1.3-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sat Dec 14 2019 Jeff Law - 1.3-25 - Fix inline vs static inline issue for gcc-10 * Fri Jul 26 2019 Fedora Release Engineering - 1.3-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 1.3-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.3-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Mon Feb 19 2018 Zdenek Dohnal - 1.3-21 - gcc is no longer in buildroot by default * Fri Feb 09 2018 Zdenek Dohnal - 1.3-20 - remove old stuff * Fri Feb 09 2018 Fedora Release Engineering - 1.3-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 1.3-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.3-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.3-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 1.3-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 1.3-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sun Aug 17 2014 Fedora Release Engineering - 1.3-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.3-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 1.3-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 1.3-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sat Jul 21 2012 Fedora Release Engineering - 1.3-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Wed Jan 04 2012 Jiri Popelka - 1.3-8 - Use _cups_serverbin macro from cups-devel for where to put driver executables. - Change URL - modernize spec * Wed Feb 09 2011 Fedora Release Engineering - 1.3-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Feb 03 2011 Jiri Popelka - 1.3-6 - Add PT-2300 model and fix it's BytesPerLine (#560610) * Wed Jan 19 2011 Jiri Popelka - 1.3-5 - Use Requires insted of Conflicts * Wed Jan 19 2011 Jiri Popelka - 1.3-4 - foomatic sub-package conflicts with foomatic-db < 4.0-25.20101123 * Wed Jan 19 2011 Jiri Popelka - 1.3-3 - New foomatic sub-package with foomatic database XML entries (#560610) * Sun Jul 26 2009 Fedora Release Engineering - 1.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Fri May 08 2009 Lubomir Rintel 1.3-1 - New upstream release * Thu Feb 26 2009 Fedora Release Engineering - 1.2-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed Feb 13 2008 Lubomir Kundrak 1.2-9 - Fix build with gcc-4.3 * Wed Aug 22 2007 Lubomir Kundrak 1.2-8 - Bump revision for BuildID in -debuginfo rebuild * Fri Aug 3 2007 Lubomir Kundrak 1.2-7 - Modify the License tag in accordance with the new guidelines * Fri Aug 3 2007 Lubomir Kundrak 1.2-6 - No. No automake. For the kids! * Fri Jul 27 2007 Lubomir Kundrak 1.2-5 - ...and call it * Fri Jul 27 2007 Lubomir Kundrak 1.2-4 - ...the specific version of automake * Fri Jul 27 2007 Lubomir Kundrak 1.2-3 - We need automake for patch0 to have effect * Fri Jul 27 2007 Lubomir Kundrak 1.2-2 - Install to the right place on 64bit platforms * Fri Jul 20 2007 Lubomir Kundrak 1.2-1 - Initial package