%define upstream_name Class-Data-Inheritable %define upstream_version 0.08 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: Inheritable, overridable class data 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 BuildArch: noarch %description Class::Data::Inheritable is for creating accessor/mutators to class data. That is, if you want to store something about your class as a whole (instead of about a single object). This data is then inherited by your subclasses and can be overriden. %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) %{perl_vendorlib}/Class %{_mandir}/*/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.80.0-2.mga3 + Revision: 364342 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Tue Jan 18 2011 jquelin <jquelin> 0.80.0-1.mga1 + Revision: 22113 - cleaning spec file - imported package perl-Class-Data-Inheritable