source: spec/trunk/SPECS/createrepo.spec@ 1504

Last change on this file since 1504 was 1279, checked in by Silvan Scherrer, 8 years ago

spec: createrepo: Release version 0.10.4-1.

File size: 1.6 KB
Line 
1%{!?python_sitelib: %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
2
3# disable broken /usr/lib/rpm/brp-python-bytecompile
4%define __os_install_post %{nil}
5%define compdir %(pkg-config --variable=completionsdir bash-completion)
6%if "%{compdir}" == ""
7%define compdir "/@unixroot/etc/bash_completion.d"
8%endif
9
10Summary: Creates a common metadata repository
11Name: createrepo
12Version: 0.10.4
13Release: 1%{?dist}
14License: GPLv2
15Group: System Environment/Base
16URL: http://createrepo.baseurl.org/
17
18BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
19BuildArchitectures: noarch
20Requires: python >= 2.1, rpm-python, rpm >= 4.1.1, libxml2-python
21Requires: yum-metadata-parser, yum >= 3.4.3, python-deltarpm, deltarpm, pyliblzma
22BuildRequires: python
23
24Vendor: bww bitwise works GmbH
25%scm_source svn http://svn.netlabs.org/repos/ports/createrepo/trunk 2055
26
27%description
28This utility will generate a common metadata repository from a directory of rpm
29packages.
30
31%prep
32%scm_setup
33
34%build
35
36%install
37rm -rf $RPM_BUILD_ROOT
38make DESTDIR=$RPM_BUILD_ROOT sysconfdir=%{_sysconfdir} install
39
40%clean
41rm -rf $RPM_BUILD_ROOT
42
43%files
44%defattr(-, root, root,-)
45%doc ChangeLog README
46%license COPYING COPYING.lib
47%(dirname %{compdir})
48%{_datadir}/%{name}/
49%{_bindir}/createrepo
50%{_bindir}/modifyrepo
51%{_bindir}/mergerepo
52%{_mandir}/*/*
53%{python_sitelib}/createrepo
54
55%changelog
56* Tue Dec 19 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> - 0.10.4-1
57- update to vendor version 0.10.4
58
59* Tue Nov 22 2011 yd
60- fixed /@unixroot access
61
62* Fri Sep 03 2010 yd
63- initial build
Note: See TracBrowser for help on using the repository browser.