%define real_name Class-Declare-Attributes Summary: Class-Declare-Attributes module for perl Name: perl-%{real_name} Version: 0.07 Release: %mkrel 1 License: GPL or Artistic Group: Development/Perl URL: http://search.cpan.org/dist/%{real_name} Source0: http://search.cpan.org/CPAN/authors/id/I/IB/IBB/%{real_name}-%{version}.tar.bz2 BuildRequires: perl-Class-Declare BuildRequires: perl-Test-Exception %if %{mdkversion} < 1010 Buildrequires: perl-devel %endif BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot %description Class::Declare::Attributes extends Class::Declare by adding support for Perl attributes for specifying class method types. This extension was inspired by Damian Conway's Attribute::Handlers module, and Tatsuhiko Miyagawa's Attribute::Protected module. %prep %setup -q -n %{real_name}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make make test %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc Changes README %{perl_vendorlib}/Class/Declare/Attributes.pm %{_mandir}/*/* %changelog * Fri Jul 18 2008 Guillaume Rousse <guillomovitch@mandriva.org> 0.07-1mdv2009.0 + Revision: 238032 - update to new version 0.07 * Sat Jun 07 2008 Guillaume Rousse <guillomovitch@mandriva.org> 0.06-1mdv2009.0 + Revision: 216579 - update to new version 0.06 + Olivier Blin <oblin@mandriva.com> - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Tue Jul 03 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.04-1mdv2008.0 + Revision: 47627 - update to new version 0.04 * Thu Sep 29 2005 Nicolas Lécureuil <neoclust@mandriva.org> 0.03-2mdk - Buildrequires * Wed Jul 13 2005 Oden Eriksson <oeriksson@mandriva.com> 0.03-1mdk - initial Mandriva package