]> git.pld-linux.org Git - packages/enhancerepo.git/blob - enhancerepo.spec
use git snapshot (version 0.4.3) 0e25f21 to support size tag
[packages/enhancerepo.git] / enhancerepo.spec
1 Summary:        Tool to add extra metadata to rpm-md repositories
2 Name:           enhancerepo
3 Version:        0.4.3
4 Release:        0.2
5 License:        GPL v2+
6 Group:          Applications/System
7 Source0:        https://github.com/openSUSE/enhancerepo/tarball/master?/%{name}-%{version}.tgz
8 # Source0-md5:  c3a67eba426ee0f3ce21705d508fb32b
9 URL:            http://en.opensuse.org/openSUSE:Enhancerepo
10 BuildRequires:  rpm-rubyprov
11 BuildRequires:  rpmbuild(macros) >= 1.656
12 BuildRequires:  sed >= 4.0
13 Requires:       ruby-activesupport >= 2.3
14 Requires:       ruby-builder
15 Requires:       ruby-ftools
16 Requires:       ruby-log4r >= 1.0.5
17 Requires:       ruby-nokogiri >= 1.4
18 Requires:       ruby-rpm
19 Requires:       ruby-rubygems >= 1.3.6
20 Requires:       ruby-trollop >= 1.0.5
21 BuildArch:      noarch
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 enhancerepo is a tool to add extra metadata to rpm-md repositories. It
26 is supposedly to be run on top of a repository created with the
27 upstream createrepo.
28
29 It will add the extra data to extension files, and add them to the
30 repository index, doing all the dirty work of updating the index and
31 compressing the files.
32
33 Features:
34 - Signing of repositories
35 - Adding package eulas from files to susedata.xml
36 - Adding package keywords from files to susedata.xml
37 - Adding package disk usage information to susedata.xml
38 - Add expiration time, product compatibility, keywords to repository
39   susenfo.xml (experimental)
40 - Add deltarpm information to the repository.
41 - Easily create patches
42
43 %prep
44 %setup -qc
45 mv openSUSE-enhancerepo-0e25f21/* .
46
47 %{__sed} -i -e '1 s,#!.*ruby,#!%{__ruby},' bin/*
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51 install -d $RPM_BUILD_ROOT{%{ruby_vendorlibdir},%{_bindir}}
52 cp -a bin/* $RPM_BUILD_ROOT%{_bindir}
53 cp -a lib/* $RPM_BUILD_ROOT%{ruby_vendorlibdir}
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
59 %defattr(644,root,root,755)
60 %doc README.rdoc TODO CHANGELOG.rdoc
61 %attr(755,root,root) %{_bindir}/enhancerepo
62 %{ruby_vendorlibdir}/enhance_repo.rb
63 %{ruby_vendorlibdir}/enhance_repo
64 %{ruby_vendorlibdir}/tempdir.rb
65 %{ruby_vendorlibdir}/tempdir
This page took 0.064185 seconds and 3 git commands to generate.