SPECS: python-pkipplib.spec (NEW) - initial revision

baggins baggins at pld-linux.org
Sat Dec 8 01:36:09 CET 2007


Author: baggins                      Date: Sat Dec  8 00:36:09 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial revision

---- Files affected:
SPECS:
   python-pkipplib.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/python-pkipplib.spec
diff -u /dev/null SPECS/python-pkipplib.spec:1.1
--- /dev/null	Sat Dec  8 01:36:09 2007
+++ SPECS/python-pkipplib.spec	Sat Dec  8 01:36:04 2007
@@ -0,0 +1,75 @@
+# $Revision$, $Date$
+%define		module	pkipplib
+
+Summary:	Module for preparing IPP requests
+Summary(pl.UTF-8):	Moduł do przygotowywania zleceń IPP
+Name:		python-%{module}
+Version:	0.07
+Release:	1
+License:	LGPL
+Group:		Development/Languages/Python
+Source0:	http://www.pykota.com/software/pkipplib/download/tarballs/%{module}-%{version}.tar.gz
+# Source0-md5:	6e59a148f6ebf7c4344a7a2f1c2aea3c
+URL:		http://www.pykota.com/software/pkipplib/
+BuildRequires:	python >= 1:2.5
+BuildRequires:	python-devel >= 1:2.5
+%pyrequires_eq	python-modules
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+pkipplib 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.
+
+%description -l pl.UTF-8
+pkpgcounter jest biblioteką umożliwiającą przygotowywanie zleceń IPP,
+jak również parsowania odpowiedzi IPP i tworzenie na ich podstaiw
+obiektów pythona.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+python setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+python setup.py install \
+	--root=$RPM_BUILD_ROOT \
+	--optimize=2
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%attr(755,root,root) %{_bindir}/pksubscribe
+%dir %{py_sitescriptdir}/pkipplib
+%{py_sitescriptdir}/pkipplib/*.py[co]
+%{py_sitescriptdir}/*.egg-info
+
+%define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2007-12-08 00:36:04  baggins
+- initial revision
+
+Revision 1.1  2007-12-08 00:28:25  baggins
+- initial revision
+
+Revision 1.1  2007-12-08 00:15:34  baggins
+- initial revision
+
================================================================


More information about the pld-cvs-commit mailing list