%define module Archive-Cpio %define name perl-%{module} %define version 0.07 %define release %mkrel 3 Name: %{name} Version: %{version} Release: %{release} Summary: Manipulations of cpio archives License: GPL or Artistic Group: Development/Perl Source: http://search.cpan.org/CPAN/authors/id/P/PI/PIXEL/%{module}-%{version}.tar.gz Patch0: Archive-Cpio-0.07-doc.patch Url: http://search.cpan.org/dist/%{module} BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Buildrequires: perl-devel Buildarch: noarch %description Archive::Cpio provides a few functions to read and write cpio files. cpio-filter is a script using Archive::Cpio that transforms a cpio archive on the fly %prep %setup -q -n %{module}-%{version} %patch0 -p1 -b .doc %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %check make test %install rm -rf $RPM_BUILD_ROOT %{makeinstall_std} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc Changes %{perl_vendorlib}/Archive/Cpio* %{_bindir}/* %{_mandir}/*/* %changelog * Thu Jul 24 2008 Olivier Blin <oblin@mandriva.com> 0.07-3mdv2009.0 + Revision: 245449 - fix man synopsis * Tue Jun 17 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.07-2mdv2009.0 + Revision: 223499 - rebuild + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Wed Dec 19 2007 Pixel <pixel@mandriva.com> 0.07-1mdv2008.1 + Revision: 133825 - 0.07: - allow ->read($filehandle) and ->write($filehandle) (rt.cpan.org #31686) - fix ->size on Archive::Cpio::File (rt.cpan.org #31684) (thanks to teek) + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Mon Aug 20 2007 Thierry Vignaud <tvignaud@mandriva.com> 0.06-2mdv2008.0 + Revision: 67582 - rebuild * Wed Apr 25 2007 Pixel <pixel@mandriva.com> 0.06-1mdv2008.0 + Revision: 18185 - new release, 0.06 - handle ODC (octal) format (Mike Sliczniak) * Thu Mar 15 2007 Pixel <pixel@mandriva.com> 0.05-1mdv2007.1 + Revision: 144367 - new release, 0.05 - add ->add_data, ->get_file - rename ->list into ->get_files * Thu Mar 15 2007 Pixel <pixel@mandriva.com> 0.04-1mdv2007.1 + Revision: 144301 - bug fix release, 0.04 - fix using STDIN which can't seek back * Thu Mar 15 2007 Pixel <pixel@mandriva.com> 0.03-1mdv2007.1 + Revision: 144104 - new release, 0.03 - switch to an OO API to handle different archive formats - handle old binary format (only little-endian for now) - add option --in-place to cpio-filter * Thu Mar 01 2007 Pixel <pixel@mandriva.com> 0.02-1mdv2007.1 + Revision: 130364 - fix padding at end of generated cpio * Wed Feb 28 2007 Pixel <pixel@mandriva.com> 0.01-1mdv2007.1 + Revision: 127273 - initial release - Create perl-Archive-Cpio