]> git.pld-linux.org Git - packages/createrepo.git/blob - createrepo.spec
- missing dir
[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 %py_postclean
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %doc ChangeLog README
49 %attr(755,root,root) %{_bindir}/createrepo
50 %attr(755,root,root) %{_bindir}/modifyrepo
51 %dir %{_datadir}/%{name}
52 # note that these DO NEED executable bit set!
53 %attr(755,root,root) %{_datadir}/%{name}/genpkgmetadata.py*
54 %attr(755,root,root) %{_datadir}/%{name}/modifyrepo.py*
55 %dir %{py_sitedir}/createrepo
56 %{py_sitedir}/createrepo/*.py[co]
57 %{_mandir}/man1/modifyrepo.1*
58 %{_mandir}/man8/createrepo.8*
This page took 0.533023 seconds and 4 git commands to generate.