]>
Commit | Line | Data |
---|---|---|
543d170b ER |
1 | Summary: Google Cloudprint Proxy |
2 | Name: cloudprint | |
3 | Version: 0.5 | |
4 | Release: 1 | |
5 | License: GPL v3 | |
6 | Group: Development/Languages/Python | |
7 | Source0: https://github.com/armooo/cloudprint/tarball/master#/%{name}.tgz | |
8 | # Source0-md5: b2a161dab9a385d696472e03632d267f | |
9 | URL: https://github.com/armooo/cloudprint | |
10 | BuildRequires: python-devel | |
11 | BuildRequires: python-distribute | |
12 | BuildRequires: rpm-pythonprov | |
31857905 | 13 | BuildRequires: rpmbuild(macros) >= 1.710 |
543d170b ER |
14 | Requires: python-modules |
15 | Requires: python-pycups | |
16 | Suggests: python-daemon | |
17 | BuildArch: noarch | |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | ||
20 | %description | |
21 | Share your CUPS printers with Google Cloud Print. | |
22 | ||
23 | %prep | |
24 | %setup -qc | |
25 | mv *-%{name}-*/* . | |
26 | ||
27 | %build | |
00d535ce | 28 | %py_build |
543d170b ER |
29 | |
30 | %install | |
31 | rm -rf $RPM_BUILD_ROOT | |
00d535ce | 32 | %py_install |
543d170b ER |
33 | |
34 | %py_postclean | |
35 | ||
36 | %clean | |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | ||
39 | %files | |
40 | %defattr(644,root,root,755) | |
41 | %doc README.rst | |
42 | %attr(755,root,root) %{_bindir}/%{name} | |
43 | %dir %{py_sitescriptdir}/%{name} | |
44 | %{py_sitescriptdir}/%{name}/*.py[co] | |
45 | %{py_sitescriptdir}/%{name}-%{version}*.egg-info |