/[packages]/updates/infra_2/rpmtools/current/SPECS/rpmtools.spec
ViewVC logotype

Contents of /updates/infra_2/rpmtools/current/SPECS/rpmtools.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 795359 - (show annotations) (download)
Mon Nov 3 21:29:38 2014 UTC (9 years, 5 months ago) by tv
File size: 1604 byte(s)
add rquires on Scalar::List::Utils
1 Summary: Various RPM command-line tools
2 Name: rpmtools
3 Version: 7.00
4 Release: %mkrel 1
5 Source0: %{name}-%{version}.tar.xz
6 License: GPLv2+
7 Group: System/Configuration/Packaging
8 #URL: http://svn.mageia.org/soft/rpm/rpmtools/
9 URL: http://search.cpan.org/~tvignaud/MDK-Common/
10 BuildRequires: perl-devel
11 BuildRequires: perl-MDV-Packdrakeng
12 BuildRequires: perl-MDV-Distribconf
13 Requires: perl-MDV-Distribconf > 3.00
14 Requires: xz
15 Requires: genhdlist2
16 Requires: perl-URPM >= 4.50
17 Requires: perl-Scalar-List-Utils >= 1.410.0
18 Conflicts: rpmtools-compat <= 2.0
19 Conflicts: rpmtools-devel <= 2.0
20 Conflicts: packdrake < 5.0.26
21
22 %description
23 Various tools needed by urpmi and drakxtools for handling rpm files.
24
25 %package -n packdrake
26 Group: %{group}
27 Summary: A simple Archive Extractor/Builder
28 Conflicts: rpmtools <= 5.0.25
29 Provides: perl(packdrake)
30
31 %description -n packdrake
32 Packdrake is a simple indexed archive builder and extractor using
33 standard compression methods.
34
35 %package -n genhdlist2
36 Group: %{group}
37 Summary: Tool to generate urpmi metadata (media_info/*)
38 Conflicts: rpmtools <= 5.4
39
40 %description -n genhdlist2
41 genhdlist2 generates hdlist.cz, synthesis.hdlist.cz and *.xml.lzma files used
42 by urpmi
43
44 %prep
45 %setup -q
46
47 %build
48 perl Makefile.PL INSTALLDIRS=vendor
49 %make
50
51 %check
52 %make test
53
54 %install
55 %makeinstall_std
56
57 %files
58 %{_bindir}/dumpdistribconf
59 %{_bindir}/gendistrib
60 %{_mandir}/man1/dumpdistribconf*
61 %{_mandir}/man1/gendistrib*
62
63 %files -n packdrake
64 %{_bindir}/packdrake
65 %{perl_vendorlib}/packdrake.pm
66 %{_mandir}/man1/packdrake*
67
68 %files -n genhdlist2
69 %{_bindir}/genhdlist2
70 %{_mandir}/man1/genhdlist2*

  ViewVC Help
Powered by ViewVC 1.1.30