]>
Commit | Line | Data |
---|---|---|
12e644b1 | 1 | %define module gaphas |
2 | Summary: Cairo based canvas library | |
2b6ad767 | 3 | Summary(pl.UTF-8): Biblioteka płótna oparta na Cairo |
12e644b1 | 4 | Name: python-%{module} |
4415050e | 5 | Version: 0.3.6 |
0552aaaa | 6 | Release: 7 |
12e644b1 | 7 | License: LGPL |
8 | Group: Python/Libraries | |
9 | Source0: http://pypi.python.org/packages/source/g/gaphas/%{module}-%{version}.tar.gz | |
4415050e | 10 | # Source0-md5: bd103d6ee8afbf8ec7c92e3a363a15a3 |
12e644b1 | 11 | URL: http://gaphor.devjavu.com/projects/gaphor/wiki/Subprojects/Gaphas |
12 | BuildRequires: python-devel | |
2b6ad767 | 13 | BuildRequires: rpm-pythonprov |
869c49d0 | 14 | BuildRequires: rpmbuild(macros) >= 1.710 |
12e644b1 | 15 | %pyrequires_eq python-libs |
d54a5c87 | 16 | Requires: python-decorator >= 2.2.0 |
2b6ad767 JB |
17 | Requires: python-pycairo >= 1.4.0 |
18 | Requires: python-pygtk-gtk >= 2:2.8.4 | |
12e644b1 | 19 | BuildArch: noarch |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
21 | ||
22 | %description | |
23 | Cairo based canvas library. | |
24 | ||
2b6ad767 JB |
25 | %description -l pl.UTF-8 |
26 | Biblioteka płótna oparta na Cairo. | |
27 | ||
12e644b1 | 28 | %prep |
29 | %setup -q -n %{module}-%{version} | |
30 | ||
31 | %build | |
a30b8ae5 | 32 | %py_build |
ac369961 | 33 | %{__python} setup.py build_doc |
12e644b1 | 34 | |
35 | %install | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | ||
a30b8ae5 | 38 | %py_install |
12e644b1 | 39 | |
40 | %py_postclean | |
41 | ||
42 | %clean | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %files | |
46 | %defattr(644,root,root,755) | |
2d28c3b9 | 47 | %doc ChangeLog PKG-INFO README.txt state.txt undo.txt |
2b6ad767 JB |
48 | %{py_sitescriptdir}/gaphas |
49 | %{py_sitescriptdir}/gaphas*egg* |