3 %bcond_without tests # do not perform "make test"
7 Summary: Archive::Extract - A generic archive extracting mechanism
9 Name: perl-Archive-Extract
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/Archive/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 03bba7ac7f5190d55575764f38fe9028
17 URL: http://search.cpan.org/dist/Archive-Extract/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Archive::Extract is a generic archive extraction mechanism.
26 It allows you to extract any archive file of the type .tar, .tar.gz,
27 .gz, .Z, tar.bz2, .tbz, .bz2, .zip, .xz,, .txz, .tar.xz or .lzma
28 without having to worry how it does so, or use different interfaces
29 for each type by using either perl modules, or commandline tools on
33 %setup -q -n %{pdir}-%{pnam}-%{version}
36 %{__perl} Makefile.PL \
40 %{?with_tests:%{__make} test}
43 rm -rf $RPM_BUILD_ROOT
45 %{__make} pure_install \
46 DESTDIR=$RPM_BUILD_ROOT
49 rm -rf $RPM_BUILD_ROOT
52 %defattr(644,root,root,755)
54 %{perl_vendorlib}/Archive/Extract.pm