Name: perl-Archive-Tar Version: 1.46 Release: 1%{?dist} Summary: Module for manipulations of tar archives License: CHECK(Distributable) Group: Development/Libraries URL: http://search.cpan.org/dist/Archive-Tar/ Source0: http://www.cpan.org/authors/id/K/KA/KANE/Archive-Tar-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(Compress::Zlib) >= 2.012 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(IO::Compress::Base) >= 2.012 BuildRequires: perl(IO::Compress::Bzip2) >= 2.012 BuildRequires: perl(IO::Compress::Gzip) >= 2.012 BuildRequires: perl(IO::Zlib) >= 1.01 BuildRequires: perl(Package::Constants) BuildRequires: perl(Test::Harness) >= 2.26 BuildRequires: perl(Test::More) Requires: perl(Compress::Zlib) >= 2.012 Requires: perl(IO::Compress::Base) >= 2.012 Requires: perl(IO::Compress::Bzip2) >= 2.012 Requires: perl(IO::Compress::Gzip) >= 2.012 Requires: perl(IO::Zlib) >= 1.01 Requires: perl(Package::Constants) Requires: perl(Test::Harness) >= 2.26 Requires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Archive::Tar provides an object oriented mechanism for handling tar files. It provides class methods for quick and easy files handling while also allowing for the creation of tar file objects for custom manipulation. If you have the IO::Zlib module installed, Archive::Tar will also support compressed or gzipped tar files. %prep %setup -q -n Archive-Tar-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc CHANGES README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Tue Mar 17 2009 Dave Cross 1.46-1 - Specfile autogenerated by cpanspec 1.77.