]> git.pld-linux.org Git - packages/createrepo.git/blob - createrepo.spec
- 0.9.1 tarball, missingok patch needs review
[packages/createrepo.git] / createrepo.spec
1 Summary:        Creates a common metadata repository
2 Summary(pl.UTF-8):      Tworzenie wspólnego repozytorium metadanych
3 Name:           createrepo
4 Version:        0.9.1
5 Release:        0.1
6 License:        GPL
7 Group:          Applications/System
8 Source0:        http://linux.duke.edu/createrepo/download/%{name}-%{version}.tar.gz
9 # Source0-md5:  2a903c9f33c8a56dbfb89c2875d9978d
10 Patch0:         %{name}-missingok.patch
11 URL:            http://linux.duke.edu/metadata/
12 BuildRequires:  python-devel
13 BuildRequires:  python-modules
14 BuildRequires:  rpm-pythonprov
15 %pyrequires_eq  python
16 Requires:       python-libxml2
17 Requires:       python-rpm
18 Requires:       yum-metadata-parser >= 1.1.1-3
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 This utility will generate a common metadata repository from a
24 directory of RPM packages.
25
26 %description -l pl.UTF-8
27 To narzędzie tworzy wspólne repozytorium metadanych z katalogu
28 pakietów RPM.
29
30 %prep
31 %setup -q
32 %patch0 -p1
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 %{__make} install \
37         DESTDIR=$RPM_BUILD_ROOT
38
39 %py_comp $RPM_BUILD_ROOT%{_datadir}/%{name}
40 %py_ocomp $RPM_BUILD_ROOT%{_datadir}/%{name}
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %doc ChangeLog README
48 %attr(755,root,root) %{_bindir}/*
49 %dir %{_datadir}/%{name}
50 # note that these DO NEED executable bit set!
51 %attr(755,root,root) %{_datadir}/%{name}/genpkgmetadata.py*
52 %attr(755,root,root) %{_datadir}/%{name}/dumpMetadata.py*
53 %attr(755,root,root) %{_datadir}/%{name}/modifyrepo.py*
54 %attr(755,root,root) %{_datadir}/%{name}/readMetadata.py*
55 %{_mandir}/man8/createrepo.8*
This page took 0.485924 seconds and 4 git commands to generate.