]>
Commit | Line | Data |
---|---|---|
6fba5855 | 1 | Summary: A Bugzilla library for Python |
54ef9517 | 2 | Summary(pl.UTF-8): Biblioteka Bugzilli dla Pythona |
6fba5855 | 3 | Name: python-bugzilla |
11d4f273 | 4 | Version: 0.3 |
6fba5855 PZ |
5 | Release: 1 |
6 | License: MIT | |
7 | Group: Libraries/Python | |
b8c9d0cd | 8 | Source0: https://fedorahosted.org/releases/p/y/python-bugzilla/%{name}-%{version}.tar.gz |
11d4f273 | 9 | # Source0-md5: c01c9b489220b4fd853a3f6f8df20b01 |
5e989490 | 10 | Patch0: %{name}-pld.patch |
b8c9d0cd | 11 | URL: https://fedorahosted.org/python-bugzilla/ |
6fba5855 | 12 | BuildRequires: python-devel >= 1:2.3.0 |
54ef9517 | 13 | BuildRequires: rpm-pythonprov |
6fba5855 PZ |
14 | BuildRequires: rpmbuild(macros) >= 1.219 |
15 | %pyrequires_eq python-modules | |
16 | BuildArch: noarch | |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %description | |
20 | A Bugzilla library for Python. | |
21 | ||
54ef9517 JB |
22 | %description -l pl.UTF-8 |
23 | Biblioteka Bugzilli dla Pythona. | |
24 | ||
6fba5855 PZ |
25 | %prep |
26 | %setup -q | |
5e989490 | 27 | %patch0 -p1 |
6fba5855 PZ |
28 | |
29 | %build | |
a9334239 | 30 | %py_build |
6fba5855 PZ |
31 | |
32 | %install | |
33 | rm -rf $RPM_BUILD_ROOT | |
34 | ||
a9334239 | 35 | %py_install |
6fba5855 PZ |
36 | |
37 | %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir} | |
38 | %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir} | |
39 | %py_postclean | |
40 | ||
41 | %clean | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %files | |
45 | %defattr(644,root,root,755) | |
46 | %attr(755,root,root) %{_bindir}/bugzilla | |
47 | %{py_sitescriptdir}/* |