do not depend on pyliblzma
[platform/upstream/createrepo.git] / packaging / createrepo.spec
1 Name:           createrepo
2 Version:        0.9.9
3 Release:        1
4 License:        GPL-2.0
5 Summary:        Creates a common metadata repository
6 Url:            http://createrepo.baseurl.org/
7 Group:          System/Base
8 Source:         %{name}-%{version}.tar.gz
9 BuildRequires:  python
10 Requires:       deltarpm
11 Requires:       python >= 2.7
12 Requires:       rpm >= 4.11.0
13 Requires:       python-rpm
14 Requires:       python-deltarpm
15 Requires:       python-libxml2
16 Requires:       yum >= 3.4.3
17 Requires:       yum-metadata-parser
18 BuildArch: noarch
19
20 %description
21 This utility will generate a common metadata repository from a directory of rpm
22 packages.
23
24 %prep
25 %setup -q
26
27 %build
28
29 %install
30 make DESTDIR=%{buildroot} sysconfdir=%{_sysconfdir} install
31
32 %files
33 %defattr(-, root, root,-)
34 %license COPYING COPYING.lib
35 %{_sysconfdir}/bash_completion.d/
36 %{_datadir}/%{name}/
37 %{_bindir}/createrepo
38 %{_bindir}/modifyrepo
39 %{_bindir}/mergerepo
40 %{_mandir}/*/*
41 %{python_sitelib}/createrepo
42
43 %changelog