blob: 8decd2edfbec68f077bab6d17a0fe2eb632d9c1a (
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
44
45
46
|
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
Source1001: createrepo.manifest
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
cp %{SOURCE1001} .
%build
%install
make DESTDIR=%{buildroot} sysconfdir=%{_sysconfdir} install
%files
%manifest %{name}.manifest
%defattr(-, root, root,-)
%license COPYING COPYING.lib
%{_sysconfdir}/bash_completion.d/
%{_datadir}/%{name}/
%{_bindir}/createrepo
%{_bindir}/modifyrepo
%{_bindir}/mergerepo
%{_mandir}/*/*
%{python_sitelib}/createrepo
%changelog
|