File: createrepo.spec

package info (click to toggle)
createrepo 0.9.9-1~bpo7+1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy-backports
  • size: 636 kB
  • sloc: python: 2,090; makefile: 357; sh: 98
file content (80 lines) | stat: -rw-r--r-- 2,156 bytes parent folder | download
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
%{!?python_sitelib: %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Summary: Creates a common metadata repository
Name: createrepo
Version: 0.9.9
Release: 1
License: GPL
Group: System Environment/Base
Source: %{name}-%{version}.tar.gz
URL: http://createrepo.baseurl.org/
BuildRoot: %{_tmppath}/%{name}-%{version}root
BuildArchitectures: noarch
Requires: python >= 2.1, rpm-python, rpm >= 0:4.1.1, libxml2-python
Requires: yum-metadata-parser, yum >= 3.2.29, python-deltarpm

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

%prep
%setup -q

%install
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT sysconfdir=%{_sysconfdir} install

%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT


%files
%defattr(-, root, root)
%dir %{_datadir}/%{name}
%doc ChangeLog README COPYING COPYING.lib
%{_sysconfdir}/bash_completion.d/
%{_datadir}/%{name}/*
%{_bindir}/%{name}
%{_bindir}/modifyrepo
%{_bindir}/mergerepo
%{_mandir}/man8/createrepo.8*
%{_mandir}/man1/modifyrepo.1*
%{_mandir}/man1/mergerepo.1*
%{python_sitelib}/createrepo

%changelog
* Wed Jan 26 2011 Seth Vidal <skvidal at fedoraproject.org>
- bump to 0.9.9
- add worker.py

* Thu Aug 19 2010 Seth Vidal <skvidal at fedoraproject.org>
- increase yum requirement for the modifyrepo use of RepoMD, RepoData and RepoMDError

* Fri Aug 28 2009 Seth Vidal <skvidal at fedoraproject.org>
- 0.9.8

* Tue Mar 24 2009 Seth Vidal <skvidal at fedoraproject.org>
- 0.9.7

* Fri Oct 17 2008 Seth Vidal <skvidal at fedoraproject.org>
- add mergerepo -  0.9.6

* Mon Feb 18 2008 Seth Vidal <skvidal at fedoraproject.org>
- 0.9.5

* Mon Jan 28 2008 Seth Vidal <skvidal at fedoraproject.org>
- 0.9.4

* Tue Jan 22 2008 Seth Vidal <skvidal at fedoraproject.org>
- 0.9.3

* Thu Jan 17 2008 Seth Vidal <skvidal at fedoraproject.org>
- significant api changes

* Tue Jan  8 2008 Seth Vidal <skvidal at fedoraproject.org>
- 0.9.1 - lots of fixes
- cleanup changelog, too

* Thu Dec 20 2007 Seth Vidal <skvidal at fedoraproject.org>
- beginning of the new version