summaryrefslogtreecommitdiff
path: root/packaging/createrepo.spec
blob: 6ab31c6fc7e3fe080f727baf6cb838650ef7ec76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Name:           createrepo
Version:        0.9.9
Release:        1
License:        GPL-2.0
Summary:        Creates a common metadata repository
Url:            http://createrepo.baseurl.org/
Group:          System/Base
Source:         %{name}-%{version}.tar.gz
BuildRequires:  python
Requires:       deltarpm
Requires:       python >= 2.7
Requires:       rpm >= 4.11.0
Requires:       python-rpm
Requires:       python-deltarpm
Requires:       python-libxml2
Requires:       yum >= 3.4.3
Requires:       yum-metadata-parser
BuildArch: noarch

%description
This utility will generate a common metadata repository from a directory of rpm
packages.

%prep
%setup -q

%build

%install
make DESTDIR=%{buildroot} sysconfdir=%{_sysconfdir} install

%files
%defattr(-, root, root,-)
%license COPYING COPYING.lib
%{_sysconfdir}/bash_completion.d/
%{_datadir}/%{name}/
%{_bindir}/createrepo
%{_bindir}/modifyrepo
%{_bindir}/mergerepo
%{_mandir}/*/*
%{python_sitelib}/createrepo

%changelog