%define upstream_name TheForce %define upstream_version 0.002 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: The "mother" class for all classes in L<TheForce> License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module//%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) BuildArch: noarch %description the Moose manpage and the Mouse manpage are great. But how do they work? Normally people don't really care - they just work. TheForce is an extremely limited version which only supports 'has' and 'extends' at the moment, but still makes OOP in Perl5 extremely easy. What's best is everything is containing in just 3 small modules so you can see what is happening in the background, if you're interested. What's best is you get to *use TheForce* in every package ;-) %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %make test %install %makeinstall_std %files %doc Changes META.yml README %{_mandir}/man3/* %perl_vendorlib/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.2.0-2.mga3 + Revision: 374257 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Tue Nov 08 2011 kharec <kharec> 0.2.0-1.mga2 + Revision: 165678 - imported package perl-TheForce