Group :: Publishing
RPM: printer-driver-ptouch
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Summary: CUPS driver for Brother P-touch label printers
%define orig_name ptouch-driver
Name: printer-driver-ptouch
Version: 1.4.2
Release: alt3
Provides: %orig_name = %version
Obsoletes: %orig_name
Packager: Stanislav Ievlev <inger at altlinux.org>
Group: Publishing
License: GPL
URL: https://bitbucket.org/philpem/printer-driver-ptouch
#Source: https://bitbucket.org/philpem/printer-driver-ptouch/get/%version.tar.gz
Source: %orig_name-%version.tar
Patch: ptouch-%version-alt-fix-build.patch
Patch1: alt-fix-ftbfs.patch
Requires: cups
# Automatically added by buildreq on Wed Nov 07 2007
BuildRequires: libcups-devel
%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 -n %orig_name-%version
%patch -p2
%patch1 -p1
%build
%configure
%make_build
%install
%makeinstall libdir=%buildroot%_prefix/lib
# those files conflicts with foomatic-db
rm -rf %buildroot%_datadir/foomatic/db/source/printer/
%files
%doc AUTHORS ChangeLog COPYING NEWS README
%_datadir/foomatic/db/source/driver/*.xml
%_datadir/foomatic/db/source/opt/*.xml
%_prefix/lib/cups/filter/*
%changelog
…
Full changelog you can see here
%define orig_name ptouch-driver
Name: printer-driver-ptouch
Version: 1.4.2
Release: alt3
Provides: %orig_name = %version
Obsoletes: %orig_name
Packager: Stanislav Ievlev <inger at altlinux.org>
Group: Publishing
License: GPL
URL: https://bitbucket.org/philpem/printer-driver-ptouch
#Source: https://bitbucket.org/philpem/printer-driver-ptouch/get/%version.tar.gz
Source: %orig_name-%version.tar
Patch: ptouch-%version-alt-fix-build.patch
Patch1: alt-fix-ftbfs.patch
Requires: cups
# Automatically added by buildreq on Wed Nov 07 2007
BuildRequires: libcups-devel
%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 -n %orig_name-%version
%patch -p2
%patch1 -p1
%build
%configure
%make_build
%install
%makeinstall libdir=%buildroot%_prefix/lib
# those files conflicts with foomatic-db
rm -rf %buildroot%_datadir/foomatic/db/source/printer/
%files
%doc AUTHORS ChangeLog COPYING NEWS README
%_datadir/foomatic/db/source/driver/*.xml
%_datadir/foomatic/db/source/opt/*.xml
%_prefix/lib/cups/filter/*
%changelog
…
Full changelog you can see here