%define real_name FileHandle-Rollback Summary: FileHandle-Rollback module for perl Name: perl-%{real_name} Version: 1.06 Release: %mkrel 5 License: GPL or Artistic Group: Development/Perl URL: http://search.cpan.org/dist/%{real_name} Source0: %{real_name}-%{version}.tar.bz2 BuildRequires: perl-devel BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot %description FileHandle::Rollback allows you to open a filehandle, write data to that handle, read the data back exactly as if it were already in the file, then cancel the whole transaction if you choose. %prep %setup -q -n %{real_name}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make make test %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc README %{perl_vendorlib}/FileHandle/Rollback.pm %{_mandir}/*/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 1.06-5.mga3 + Revision: 367447 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Thu Jan 13 2011 jquelin <jquelin> 1.06-4.mga1 + Revision: 11434 - imported package perl-FileHandle-Rollback