packages: cloudprint/cloudprint.spec (NEW) - new
glen
glen at pld-linux.org
Tue Dec 13 23:44:57 CET 2011
Author: glen Date: Tue Dec 13 22:44:57 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- new
---- Files affected:
packages/cloudprint:
cloudprint.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/cloudprint/cloudprint.spec
diff -u /dev/null packages/cloudprint/cloudprint.spec:1.1
--- /dev/null Tue Dec 13 23:44:57 2011
+++ packages/cloudprint/cloudprint.spec Tue Dec 13 23:44:51 2011
@@ -0,0 +1,58 @@
+# $Revision$, $Date$
+Summary: Google Cloudprint Proxy
+Name: cloudprint
+Version: 0.5
+Release: 1
+License: GPL v3
+Group: Development/Languages/Python
+Source0: https://github.com/armooo/cloudprint/tarball/master#/%{name}.tgz
+# Source0-md5: b2a161dab9a385d696472e03632d267f
+URL: https://github.com/armooo/cloudprint
+BuildRequires: python-devel
+BuildRequires: python-distribute
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.219
+Requires: python-modules
+Requires: python-pycups
+Suggests: python-daemon
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Share your CUPS printers with Google Cloud Print.
+
+%prep
+%setup -qc
+mv *-%{name}-*/* .
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+ --skip-build \
+ --optimize=2 \
+ --root=$RPM_BUILD_ROOT
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.rst
+%attr(755,root,root) %{_bindir}/%{name}
+%dir %{py_sitescriptdir}/%{name}
+%{py_sitescriptdir}/%{name}/*.py[co]
+%{py_sitescriptdir}/%{name}-%{version}*.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 2011/12/13 22:44:51 glen
+- new
================================================================
More information about the pld-cvs-commit
mailing list