packages: python-cups/python-cups.spec (NEW)=?UTF-8?Q?=20?=- new, based on fc spec

glen glen at pld-linux.org
Sat Mar 3 18:13:32 CET 2012


Author: glen                         Date: Sat Mar  3 17:13:32 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new, based on fc spec

---- Files affected:
packages/python-cups:
   python-cups.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/python-cups/python-cups.spec
diff -u /dev/null packages/python-cups/python-cups.spec:1.1
--- /dev/null	Sat Mar  3 18:13:32 2012
+++ packages/python-cups/python-cups.spec	Sat Mar  3 18:13:27 2012
@@ -0,0 +1,61 @@
+# $Revision$, $Date$
+Summary:	Python bindings for CUPS
+Name:		python-cups
+Version:	1.9.60
+Release:	1
+URL:		http://cyberelk.net/tim/software/pycups/
+Source0:	http://cyberelk.net/tim/data/pycups/pycups-%{version}.tar.bz2
+# Source0-md5:	083f3dd657df986e712a6fae36427457
+License:	GPL v2+
+Group:		Development/Languages/Python
+BuildRequires:	cups-devel
+BuildRequires:	epydoc
+BuildRequires:	python-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This package provides Python bindings for the CUPS API, known as
+pycups. It was written for use with system-config-printer, but can be
+put to other uses as well.
+
+%package doc
+Summary:	Documentation for python-cups
+Group:		Documentation
+
+%description doc
+Documentation for python-cups.
+
+%prep
+%setup -q -n pycups-%{version}
+
+%build
+%{__make} \
+	CFLAGS="%{rpmcflags} -fno-strict-aliasing"
+%{__make} doc
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog README NEWS TODO
+%attr(755,root,root) %{py_sitedir}/cups.so
+%{py_sitedir}/pycups*.egg-info
+
+%files doc
+%defattr(644,root,root,755)
+%doc examples html
+
+%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  2012/03/03 17:13:27  glen
+- new, based on fc spec
================================================================


More information about the pld-cvs-commit mailing list