diff --git a/.cvsignore b/.cvsignore index e69de29..952ba88 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +ptouch-driver-1.2.tar.gz diff --git a/ptouch-driver.spec b/ptouch-driver.spec new file mode 100644 index 0000000..aec7775 --- /dev/null +++ b/ptouch-driver.spec @@ -0,0 +1,58 @@ +Name: ptouch-driver +Version: 1.2 +Release: 6%{?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 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: cups-devel +BuildRequires: automake +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 + +%build +# On 64bits, we need to install into lib, not lib64 +# and this package for some reason uses libdir +%configure --libdir=%{_prefix}/lib +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 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 diff --git a/sources b/sources index e69de29..f9b5560 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +33a4b894b77f28ef3996ecab025599b5 ptouch-driver-1.2.tar.gz