%global pkg_name Class-MOP %global pkg_version 0.47 %global rpm_pkg_version 0.47 %global rpm_pkg_release 1.n0i.9 Summary: A Meta Object Protocol for Perl 5 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/authors/id/S/ST/STEVAN/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: rpm-build-reb00t-perl BuildRequires: perl(B) BuildRequires: perl(Scalar::Util) >= 1.18 Requires: perl(Scalar::Util) >= 1.18 BuildRequires: perl(Sub::Name) >= 0.02 Requires: perl(Sub::Name) >= 0.02 %global perl_filter_req 'perl\\((Scalar::Util|Sub::Name)\\)$' %if %{!?_without_test:1}0 BuildRequires: perl(Test::Exception) >= 0.21 %endif %description This module is an attempt to create a meta object protocol for the Perl 5 object system. It makes no attempt to change the behavior or characteristics of the Perl 5 object system, only to create a protocol for its manipulation and introspection. %prep %setup -q -n %{pkg_name}-%{pkg_version} %{fix_perl_path examples/} %build %{perl_build} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files} %doc Changes examples/ README %changelog * Sun Nov 25 2007 Marius Feraru - 0.47-1.n0i.9 - version 0.47 * Sat Nov 24 2007 Marius Feraru - 0.46-1.n0i.8 - version 0.46 * Wed Nov 14 2007 Marius Feraru - 0.45-1.n0i.7 - version 0.45 - spec update (new reb00t build tools) * Wed Aug 01 2007 Marius Feraru - 0.42-1.n0i.6 - version 0.42 * Tue May 22 2007 Marius Feraru - 0.37-1.n0i.5 - spec file (re)created using N0i::CPAN::RPMizer v1.14.7 - version 0.37 * Mon Jul 17 2006 Marius FERARU - 0.31-1.n0i.4 - version 0.31 - using reb00t-rpmdevtools * Sat Jul 15 2006 Marius Feraru - 0.30-2.n0i.3 - automatic rebuild (perl 5.8.8) * Sat Jul 08 2006 Marius Feraru - 0.30-1.n0i.2 - version 0.30 * Tue Jul 04 2006 Marius Feraru - 0.26-1.n0i.1 - spec file (re)created using N0i::CPAN::RPMizer v1.12.1 - rebuild on perl 5.8.8