]> git.pld-linux.org Git - packages/python-bugzilla.git/blob - python-bugzilla.spec
automatic change: use py_build/py_install macros
[packages/python-bugzilla.git] / python-bugzilla.spec
1 Summary:        A Bugzilla library for Python
2 Summary(pl.UTF-8):      Biblioteka Bugzilli dla Pythona
3 Name:           python-bugzilla
4 Version:        0.3
5 Release:        1
6 License:        MIT
7 Group:          Libraries/Python
8 Source0:        https://fedorahosted.org/releases/p/y/python-bugzilla/%{name}-%{version}.tar.gz
9 # Source0-md5:  c01c9b489220b4fd853a3f6f8df20b01
10 Patch0:         %{name}-pld.patch
11 URL:            https://fedorahosted.org/python-bugzilla/
12 BuildRequires:  python-devel >= 1:2.3.0
13 BuildRequires:  rpm-pythonprov
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
22 %description -l pl.UTF-8
23 Biblioteka Bugzilli dla Pythona.
24
25 %prep
26 %setup -q
27 %patch0 -p1
28
29 %build
30 %py_build
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34
35 %py_install
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}/*
This page took 0.080018 seconds and 3 git commands to generate.