%global pkg_name Class-Method-Modifiers %global pkg_version 0.07 %global rpm_pkg_version 0.07 %global rpm_pkg_release 1.n0i.1 Summary: Moose-like method modifiers Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/modules/by-module/Class/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: rpm-build-reb00t-perl BuildRequires: perl(MRO::Compat) BuildRequires: perl(Scalar::Util) BuildRequires: perl(parent) %description Method modifiers are a powerful feature from the CLOS (Common Lisp Object System) world. In its most basic form, a method modifier is just a method that calls "$self->SUPER::foo(@_)". Class::Method::Modifiers solves the problem of making sure you call "$self->SUPER::foo(@_)", and provides a cleaner interface for it. %prep %setup -q -n %{pkg_name}-%{pkg_version} %build %{perl_build} %install %{__rm} -rf %{buildroot} %{perl_install} %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) %doc Changes README %{perl_files} %changelog * Sun Nov 04 2007 Marius Feraru - 0.07-1.n0i.1 - initial packaging