## -*- RPM-spec -*- file for the ptouch-driver package
## Copyright (c) 2006 Arne John Glenstrup <panic@itu.dk>
##
## This file is part of ptouch-driver.
##
## ptouch-driver is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or (at
## your option) any later version.
##
## ptouch-driver is distributed in the hope that it will be useful, but
## WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
## General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with ptouch-driver; if not, write to the Free Software
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
## USA
Name: ptouch-driver-foomatic
Version: @VERSION@
Release: 1
Summary: Foomatic database data for Brother P-touch label printers
Group: System Environment/Libraries
License: GPL
URL: http://ptouch-driver.sourceforge.net/
Source0: ptouch-driver-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: foomatic ptouch-driver
%description
The ptouch-driver consists of a CUPS raster filter and foomatic
database XML documents for driving the family of Brother P-touch label
printers.
%prep
%setup -q -n ptouch-driver-%{version}
%build
%configure
%install
rm -rf $RPM_BUILD_ROOT
make install-data DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
/usr/share/foomatic/db/source/driver/ptouch-pt.xml
/usr/share/foomatic/db/source/driver/ptouch-ql.xml
/usr/share/foomatic/db/source/printer/Brother-PT-*.xml
/usr/share/foomatic/db/source/printer/Brother-QL-*.xml
/usr/share/foomatic/db/source/opt/Brother-PT-*.xml
/usr/share/foomatic/db/source/opt/Brother-QL-*.xml
/usr/share/foomatic/db/source/opt/Brother-PTQL-*.xml
%changelog
* Mon Jan 30 2006 Arne John Glenstrup <panic@itu.dk> - 0.9-1
- Initial build.