]> git.pld-linux.org Git - packages/python-pycups.git/blob - python-pycups.spec
- updated to 1.9.67
[packages/python-pycups.git] / python-pycups.spec
1 %define         module  pycups
2 Summary:        Set of Python bindings for the CUPS API
3 Summary(pl.UTF-8):      Zbiór wiązań Pythona do API CUPS-a
4 Name:           python-%{module}
5 Version:        1.9.67
6 Release:        1
7 License:        GPL v2+
8 Group:          Development/Languages/Python
9 Source0:        http://cyberelk.net/tim/data/pycups/pycups-%{version}.tar.bz2
10 # Source0-md5:  7275811ac3c0abc2fd50cbad935b09a5
11 URL:            http://cyberelk.net/tim/software/pycups/
12 BuildRequires:  cups-devel >= 1.2.1
13 BuildRequires:  epydoc
14 BuildRequires:  python-devel >= 1:2.5
15 BuildRequires:  rpm-pythonprov
16 Obsoletes:      python-cups
17 %pyrequires_eq  python-modules
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 This package provides Python bindings for the CUPS API, known as
22 pycups. It was written for use with system-config-printer, but can be
23 put to other uses as well.
24
25 %description -l pl.UTF-8
26 Ten pakiet udostępnia wiązania Pythona do API CUPS-a, znane jako
27 pycups. Został napisany z myślą o pakiecie system-config-printer, ale
28 może mieć także inne zastosowania.
29
30 %package doc
31 Summary:        Documentation for pycups
32 Summary(pl.UTF-8):      Dokumentacja do pycupsa
33 Group:          Documentation
34
35 %description doc
36 Documentation for pycups.
37
38 %description doc -l pl.UTF-8
39 Dokumentacja do pycupsa.
40
41 %prep
42 %setup -q -n %{module}-%{version}
43
44 %build
45 %{__make} \
46         CFLAGS="%{rpmcflags} -fno-strict-aliasing"
47
48 %{__make} doc
49 %install
50 rm -rf $RPM_BUILD_ROOT
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc ChangeLog NEWS README TODO
60 %attr(755,root,root) %{py_sitedir}/cups.so
61 %{py_sitedir}/pycups-%{version}-py*.egg-info
62
63 %files doc
64 %defattr(644,root,root,755)
65 %doc html/*
This page took 0.124701 seconds and 3 git commands to generate.