Name: ptouch-driver
Version: 1.2
Release: 4%{?dist}
Summary: CUPS driver for Brother P-touch label printers
Group: System Environment/Libraries
License: GPL
URL: http://www.diku.dk/~panic/P-touch/
Source0: http://www.diku.dk/~panic/P-touch/%{name}-%{version}.tar.gz
Patch0: ptouch-driver-1.2-execfilterdir.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: cups-devel
BuildRequires: automake = 1.9
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.
%prep
%setup -q
%patch0 -p1
%build
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install-exec DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{_prefix}/lib/cups/filter/rastertoptch
%doc AUTHORS ChangeLog COPYING NEWS README
%changelog
* Fri Jul 27 2007 Lubomir Kundrak <lkundrak@redhat.com> 1.2-4
- ...the specific version of automake
* Fri Jul 27 2007 Lubomir Kundrak <lkundrak@redhat.com> 1.2-3
- We need automake for patch0 to have effect
* Fri Jul 27 2007 Lubomir Kundrak <lkundrak@redhat.com> 1.2-2
- Install to the right place on 64bit platforms
* Fri Jul 20 2007 Lubomir Kundrak <lkundrak@redhat.com> 1.2-1
- Initial package