059aa88
Name:           ptouch-driver
059aa88
Version:        1.2
8b67f1f
Release:        4%{?dist}
059aa88
Summary:        CUPS driver for Brother P-touch label printers
059aa88
059aa88
Group:          System Environment/Libraries
059aa88
License:        GPL
059aa88
URL:            http://www.diku.dk/~panic/P-touch/
059aa88
Source0:        http://www.diku.dk/~panic/P-touch/%{name}-%{version}.tar.gz
52547d5
Patch0:         ptouch-driver-1.2-execfilterdir.patch
059aa88
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
059aa88
BuildRequires:  cups-devel
8b67f1f
BuildRequires:  automake = 1.9
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
059aa88
%prep
059aa88
%setup -q
52547d5
%patch0 -p1
059aa88
059aa88
%build
059aa88
%configure
059aa88
make %{?_smp_mflags}
059aa88
059aa88
%install
059aa88
rm -rf $RPM_BUILD_ROOT
059aa88
make install-exec DESTDIR=$RPM_BUILD_ROOT
059aa88
059aa88
%clean
059aa88
rm -rf $RPM_BUILD_ROOT
059aa88
059aa88
%files
059aa88
%defattr(-,root,root,-)
059aa88
%{_prefix}/lib/cups/filter/rastertoptch
059aa88
%doc AUTHORS ChangeLog COPYING NEWS README
059aa88
059aa88
%changelog
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