3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: Archive::Any - Single interface to deal with zips and tarballs
9 Summary(pl.UTF-8): Archive::Any - wspólny interfejs do obsługi archiwów zip i tar
10 Name: perl-Archive-Any
14 License: GPL v1+ or Artistic
15 Group: Development/Languages/Perl
16 Source0: http://www.cpan.org/modules/by-module/Archive/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5: aaab5cf41f2efe428b65fbc352ee314e
18 URL: http://search.cpan.org/dist/Archive-Any/
20 BuildRequires: perl-Archive-Tar >= 1.07
21 BuildRequires: perl-Archive-Zip >= 1.07
22 BuildRequires: perl-File-MMagic >= 1.27
23 BuildRequires: perl-MIME-Types >= 1.16
24 BuildRequires: perl-Module-Find >= 0.05
25 BuildRequires: perl-Test-Perl-Critic
26 BuildRequires: perl-Test-Pod-Coverage
27 BuildRequires: perl-Test-Simple >= 0.40
28 BuildRequires: perl-Test-Warn
30 BuildRequires: perl-devel >= 1:5.8.0
31 BuildRequires: rpm-perlprov >= 4.1-13
32 Requires: perl-Archive-Tar >= 1.07
33 Requires: perl-Archive-Zip >= 1.07
34 Requires: perl-File-MMagic >= 1.27
35 Requires: perl-MIME-Types >= 1.16
36 Requires: perl-Module-Find >= 0.05
38 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41 This module is a single interface for manipulating different archive
42 formats. Tarballs, zip files, etc...
44 %description -l pl.UTF-8
45 Ten moduł to wspólny interfejs do obrabiania archiwów w różnych
46 formatach: tar, zip itp.
49 %setup -q -n %{pdir}-%{pnam}-%{version}
52 %{__perl} Makefile.PL \
56 %{?with_tests:%{__make} test}
59 rm -rf $RPM_BUILD_ROOT
62 DESTDIR=$RPM_BUILD_ROOT
65 rm -rf $RPM_BUILD_ROOT
68 %defattr(644,root,root,755)
70 %{perl_vendorlib}/Archive/Any.pm
71 %{perl_vendorlib}/Archive/Any