File pkipplib.spec of Package pkipplib

#
# spec file for package pkipplib (Version 0.07)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

Name:           pkipplib
BuildRequires:  python python-devel
URL:            http://www.pykota.com/software/pkipplib/
License:        GPL
Group:          Development/Languages/Python
Autoreqprov:    on
Summary:        IPP and CUPS support for Python
Version:        0.07
Release:        1
# URL for Source0: http://www.pykota.com/software/pkipplib/download/tarballs/pkipplib-0.07.tar.gz/download
Source0:        %{name}-%{version}.tar.bz2
Requires:       python
# Skip testing devel dependencies required by libtool .la files by the following comment:
# skip-check-libtool-deps
# Install into this non-root directory (required when norootforbuild is used):
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%prep
# Be quiet when unpacking:
%setup -q

%build
# There is nothing to build because the sources contain readymade Python scripts.

%install
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES

%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc README COPYING
%doc notifiers/samplenotifier

%description
This software is a Python library which can prepare IPP requests with
the help of a somewhat high level API. These requests can then be sent
to an IPP printer or print server (e.g. CUPS).

This library can also parse IPP answers received, and create high level
Python objects from them.

Both of these actions can be done through an IPPRequest class and its
instance methods.

Finally, a CUPS class can be leveraged to easily deal with CUPS print
servers.

All of this library being written in the Python language, there is no
need to link the code with the CUPS' API, which makes it independant of
the CUPS version being installed.

Nevertheless some features require an appropriate CUPS version which
supports the functionality (e.g. IPP subscriptions require CUPS 1.2.x).



Authors:
--------
    Jerome Alet


%changelog -n pkipplib
* Thu Jun 29 2006 - jsmeix@suse.de
- Initial version 0.07
openSUSE Build Service is sponsored by