]> git.pld-linux.org Git - packages/perl-Archive-Extract.git/blame - perl-Archive-Extract.spec
- updated to 0.80
[packages/perl-Archive-Extract.git] / perl-Archive-Extract.spec
CommitLineData
8d5ab03b
JR
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%define pdir Archive
6%define pnam Extract
7%include /usr/lib/rpm/macros.perl
8Summary: Archive::Extract - A generic archive extracting mechanism
9#Summary(pl.UTF-8):
10Name: perl-Archive-Extract
ebd1f72f 11Version: 0.80
8d5ab03b
JR
12Release: 1
13# same as perl
14License: GPL v1+ or Artistic
15Group: Development/Languages/Perl
16Source0: http://www.cpan.org/modules/by-module/Archive/%{pdir}-%{pnam}-%{version}.tar.gz
ebd1f72f 17# Source0-md5: 03bba7ac7f5190d55575764f38fe9028
8d5ab03b
JR
18URL: http://search.cpan.org/dist/Archive-Extract/
19BuildRequires: perl-devel >= 1:5.8.0
20BuildRequires: rpm-perlprov >= 4.1-13
21BuildArch: noarch
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25Archive::Extract is a generic archive extraction mechanism.
26
27It allows you to extract any archive file of the type .tar, .tar.gz,
28.gz, .Z, tar.bz2, .tbz, .bz2, .zip, .xz,, .txz, .tar.xz or .lzma
29without having to worry how it does so, or use different interfaces
30for each type by using either perl modules, or commandline tools on
31your system.
32
33%prep
34%setup -q -n %{pdir}-%{pnam}-%{version}
35
36%build
37%{__perl} Makefile.PL \
38 INSTALLDIRS=vendor
39%{__make}
40
41%{?with_tests:%{__make} test}
42
43%install
44rm -rf $RPM_BUILD_ROOT
45
46%{__make} pure_install \
47 DESTDIR=$RPM_BUILD_ROOT
48
49%clean
50rm -rf $RPM_BUILD_ROOT
51
52%files
53%defattr(644,root,root,755)
54%doc CHANGES README
55%{perl_vendorlib}/Archive/Extract.pm
56%{_mandir}/man3/*
This page took 0.092559 seconds and 4 git commands to generate.