%define realname Perl6-Export-Attrs %define version 0.0.3 %define release %mkrel 3 Name: perl-%{realname} Version: %{version} Release: %{release} License: GPL or Artistic Group: Development/Perl Summary: The Perl 6 'is export(...)' trait as a Perl 5 attribute Source: http://www.cpan.org/modules/by-module/Perl6/%{realname}-%{version}.tar.gz Url: http://search.cpan.org/dist/%{realname} BuildRequires: perl-devel BuildArch: noarch %description Implements a Perl 5 native version of what the Perl 6 symbol export mechanism will look like. It's very straightforward: * * %prep %setup -q -n %{realname}-%{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 README %{_mandir}/man3/* %perl_vendorlib/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.0.3-3.mga3 + Revision: 371740 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Tue Jan 18 2011 jquelin <jquelin> 0.0.3-2.mga1 + Revision: 23362 - cleaning spec file - imported package perl-Perl6-Export-Attrs