c95f8edc11c62c241bbb85790270f08696eea794
[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:       pyliblzma
12 Requires:       python >= 2.7
13 Requires:       rpm >= 4.11.0
14 Requires:       python-rpm
15 Requires:       python-deltarpm
16 Requires:       python-libxml2
17 Requires:       yum >= 3.4.3
18 Requires:       yum-metadata-parser
19 BuildArch: noarch
20
21 %description
22 This utility will generate a common metadata repository from a directory of rpm
23 packages.
24
25 %prep
26 %setup -q
27
28 %build
29
30 %install
31 make DESTDIR=%{buildroot} sysconfdir=%{_sysconfdir} install
32
33 %files
34 %defattr(-, root, root,-)
35 %license COPYING COPYING.lib
36 %{_sysconfdir}/bash_completion.d/
37 %{_datadir}/%{name}/
38 %{_bindir}/createrepo
39 %{_bindir}/modifyrepo
40 %{_bindir}/mergerepo
41 %{_mandir}/*/*
42 %{python_sitelib}/createrepo
43
44 %changelog