%define upstream_name Class-Unload %define upstream_version 0.07 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: Unload a class License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Class/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(Class::Inspector) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.310.0 BuildRequires: perl(Test::More) BuildArch: noarch %description no description found %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check make test %install rm -rf %buildroot %makeinstall_std %clean rm -rf %buildroot %files %defattr(-,root,root) %doc Changes LICENSE META.yml README %{_mandir}/man3/* %perl_vendorlib/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.70.0-2.mga3 + Revision: 364525 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Wed Feb 16 2011 jquelin <jquelin> 0.70.0-1.mga1 + Revision: 52292 - update to 0.07 * Wed Jan 19 2011 jquelin <jquelin> 0.60.0-1.mga1 + Revision: 24085 - cleaning spec file - imported package perl-Class-Unload