059aa88
Name:           ptouch-driver
e227a70
Version:        1.3
80c36c8
Release:        11%{?dist}
059aa88
Summary:        CUPS driver for Brother P-touch label printers
059aa88
059aa88
Group:          System Environment/Libraries
26eab9e
License:        GPLv2+
617ad1d
URL:            http://www.diku.dk/hjemmesider/ansatte/panic/P-touch/
617ad1d
Source0:        http://www.diku.dk/hjemmesider/ansatte/panic/P-touch/ptouch-driver-%{version}.tar.gz
4a59f8e
Patch0:         ptouch-driver-1.2-gcc43.patch
610c206
Patch1:         ptouch-driver-1.3-PT-2300.patch
617ad1d
059aa88
BuildRequires:  cups-devel
49d1969
BuildRequires:  automake
059aa88
Requires:       cups
059aa88
059aa88
%description
059aa88
This is a CUPS raster filter for Brother P-touch label printers.  It is
059aa88
meant to be used by the PostScript Description files of the drivers from
059aa88
the foomatic package.
059aa88
95880bc
%package        foomatic
95880bc
Summary:        Foomatic database data for Brother P-touch label printers
95880bc
Group:          System Environment/Libraries
95880bc
BuildArch:      noarch
95880bc
Requires:       %{name} = %{version}-%{release}
e450468
Requires:       foomatic-db >= 4.0-25.20101123.fc15
95880bc
95880bc
%description    foomatic
95880bc
This package contains foomatic database XML entries to generate PPDs
95880bc
for driving the family of Brother P-touch label printers.
95880bc
059aa88
%prep
059aa88
%setup -q
4a59f8e
%patch0 -p1 -b .gcc43
610c206
%patch1 -p1 -b .PT-2300
059aa88
059aa88
%build
a71b377
# On 64bits, we need to install into lib, not lib64
617ad1d
# (see _cups_serverbin macro from cups-devel)
a71b377
# and this package for some reason uses libdir
a71b377
%configure --libdir=%{_prefix}/lib
059aa88
make %{?_smp_mflags}
059aa88
059aa88
%install
059aa88
rm -rf $RPM_BUILD_ROOT
95880bc
make install DESTDIR=$RPM_BUILD_ROOT
059aa88
059aa88
%files
617ad1d
%{_cups_serverbin}/filter/rastertoptch
059aa88
%doc AUTHORS ChangeLog COPYING NEWS README
059aa88
95880bc
%files foomatic
95880bc
%{_datarootdir}/foomatic/db/source/driver/ptouch.xml
95880bc
%{_datarootdir}/foomatic/db/source/printer/Brother-PT-*.xml
95880bc
%{_datarootdir}/foomatic/db/source/printer/Brother-QL-*.xml
95880bc
%{_datarootdir}/foomatic/db/source/opt/Brother-Ptouch-*.xml
95880bc
059aa88
%changelog
80c36c8
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-11
80c36c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
80c36c8
a897625
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-10
a897625
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
a897625
33bafe5
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-9
33bafe5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
33bafe5
617ad1d
* Wed Jan 04 2012 Jiri Popelka <jpopelka@redhat.com> - 1.3-8
617ad1d
- Use _cups_serverbin macro from cups-devel for where to put driver executables.
617ad1d
- Change URL
617ad1d
- modernize spec
617ad1d
ccced2c
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-7
ccced2c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
ccced2c
610c206
* Thu Feb 03 2011 Jiri Popelka <jpopelka@redhat.com> - 1.3-6
610c206
- Add PT-2300 model and fix it's BytesPerLine (#560610)
610c206
e450468
* Wed Jan 19 2011 Jiri Popelka <jpopelka@redhat.com> - 1.3-5
610c206
- Use Requires insted of Conflicts
e450468
839e8a4
* Wed Jan 19 2011 Jiri Popelka <jpopelka@redhat.com> - 1.3-4
839e8a4
- foomatic sub-package conflicts with foomatic-db < 4.0-25.20101123
839e8a4
95880bc
* Wed Jan 19 2011 Jiri Popelka <jpopelka@redhat.com> - 1.3-3
95880bc
- New foomatic sub-package with foomatic database XML entries (#560610)
95880bc
9c3365d
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-2
9c3365d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
9c3365d
e227a70
* Fri May 08 2009 Lubomir Rintel <lkundrak@v3.sk> 1.3-1
e227a70
- New upstream release
e227a70
f89574b
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-10
f89574b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
f89574b
4a59f8e
* Wed Feb 13 2008 Lubomir Kundrak <lkundrak@redhat.com> 1.2-9
4a59f8e
- Fix build with gcc-4.3
4a59f8e
8dbf3f3
* Wed Aug 22 2007 Lubomir Kundrak <lkundrak@redhat.com> 1.2-8
8dbf3f3
- Bump revision for BuildID in -debuginfo rebuild
8dbf3f3
26eab9e
* Fri Aug 3 2007 Lubomir Kundrak <lkundrak@redhat.com> 1.2-7
26eab9e
- Modify the License tag in accordance with the new guidelines
26eab9e
26eab9e
* Fri Aug 3 2007 Lubomir Kundrak <lkundrak@redhat.com> 1.2-6
a71b377
- No. No automake. For the kids!
a71b377
49d1969
* Fri Jul 27 2007 Lubomir Kundrak <lkundrak@redhat.com> 1.2-5
49d1969
- ...and call it
49d1969
8b67f1f
* Fri Jul 27 2007 Lubomir Kundrak <lkundrak@redhat.com> 1.2-4
8b67f1f
- ...the specific version of automake
8b67f1f
085cbbc
* Fri Jul 27 2007 Lubomir Kundrak <lkundrak@redhat.com> 1.2-3
085cbbc
- We need automake for patch0 to have effect
085cbbc
52547d5
* Fri Jul 27 2007 Lubomir Kundrak <lkundrak@redhat.com> 1.2-2
52547d5
- Install to the right place on 64bit platforms
52547d5
059aa88
* Fri Jul 20 2007 Lubomir Kundrak <lkundrak@redhat.com> 1.2-1
059aa88
- Initial package