%define real_name String-Divert Summary: String::Divert - String Object supporting Folding and Diversions Name: perl-%{real_name} Version: 0.96 Release: %mkrel 6 License: GPL or Artistic Group: Development/Perl URL: http://search.cpan.org/dist/%{real_name} Source0: http://search.cpan.org/CPAN/authors/id/R/RS/RSE/%{real_name}-%{version}.tar.bz2 BuildRequires: perl-devel BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot %description String::Divert is small Perl 5 module providing a scalar-like string object with some overloaded operators, supporting the concept of Fold- ing and Diversion. This allows nested generation of structured output. The idea is to decouple the sequential generation of output from the nested and non-sequential structure of the output. %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}/String/* %{_mandir}/*/* %changelog * Thu Jul 31 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.96-6mdv2009.0 + Revision: 258390 - rebuild * Thu Jul 24 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.96-5mdv2009.0 + Revision: 246474 - rebuild * Wed Dec 26 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.96-3mdv2008.1 + Revision: 138069 - rebuild * Fri Dec 21 2007 Olivier Blin <oblin@mandriva.com> 0.96-2mdv2008.1 + Revision: 136347 - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Fri Dec 01 2006 Oden Eriksson <oeriksson@mandriva.com> 0.96-2mdv2007.0 + Revision: 89743 - use the mkrel macro - Import perl-String-Divert * Mon Nov 21 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.96-1mdk - 0.96 * Fri Jul 15 2005 Oden Eriksson <oeriksson@mandriva.com> 0.94-1mdk - initial Mandriva package