%define pkg_name Archive-Any %define pkg_version 0.093 %define rpm_pkg_version 0.09_3 %define rpm_pkg_release 1.n0i.2 Summary: Single interface to deal with zips and tarballs Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/C/CM/CMOORE/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: reb00t-rpmdevtools BuildRequires: perl(ExtUtils::MakeMaker) %{!?_without_test:BuildRequires: perl(Test::More) >= 0.4} %{!?_without_test:BuildRequires: perl(Test::Warn)} %{!?_without_test:BuildRequires: perl(Archive::Tar) >= 0.22} %{!?_without_test:BuildRequires: perl(Archive::Zip) >= 1.07} %{!?_without_test:BuildRequires: perl(Cwd)} %{!?_without_test:BuildRequires: perl(File::MMagic) >= 1.27} %{!?_without_test:BuildRequires: perl(File::Spec::Functions)} %{!?_without_test:BuildRequires: perl(MIME::Types) >= 1.16} %{!?_without_test:BuildRequires: perl(Module::Find) >= 0.05} Requires: perl(Archive::Tar) >= 0.22 Requires: perl(Archive::Zip) >= 1.07 Requires: perl(File::MMagic) >= 1.27 Requires: perl(MIME::Types) >= 1.16 Requires: perl(Module::Find) >= 0.05 %description This module is a single interface for manipulating different archive formats. Tarballs, zip files, etc. %prep %setup -q -n %{pkg_name}-%{pkg_version} %build %{perl_build} %{!?_without_test:%{__make} test} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files} %doc Changes README %changelog * Tue May 22 2007 Marius Feraru - 0.09_3-1.n0i.2.0.093 - spec file (re)created using N0i::CPAN::RPMizer v1.14.7 - version 0.093 * Sun Apr 09 2006 Marius Feraru 0.06-1.n0i.1 - spec file (re)created using N0i::CPAN::RPMizer v1.12.0 - rebuild on perl 5.8.8