%define upstream_name SVN-SVNLook %define upstream_version 0.04 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: Perl wrapper to the svnlook command License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/SVN/%{upstream_name}-%{upstream_version}.tar.bz2 BuildRequires: perl(Module::Build) BuildArch: noarch %description SVN::SVNLook runs the command line client. This module was created to make adding hooks script easier to manipulate. %prep %setup -q -n %{upstream_name}-%{upstream_version} for file in `find lib -type f` Changes README; do chmod 644 $file perl -pi -e 'tr/\r//d' $file done %build %{__perl} Build.PL installdirs=vendor ./Build %check ./Build test %install rm -rf %{buildroot} ./Build install destdir=%{buildroot} %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc Changes README %{perl_vendorlib}/SVN %{_mandir}/*/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.40.0-2.mga3 + Revision: 372499 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Tue Jan 18 2011 jquelin <jquelin> 0.40.0-1.mga1 + Revision: 22847 - cleaning spec file - imported package perl-SVN-SVNLook