%define pkg_name Module-Pluggable %define pkg_version 3.6 %define rpm_pkg_version 3.6 %define rpm_pkg_release 1.n0i.10 Summary: Automatically give your module the ability to have plugins Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/S/SI/SIMONW/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: reb00t-rpmdevtools Requires: perl(File::Spec) >= 3.00 BuildRequires: perl(Module::Build) %{!?_without_test:BuildRequires: perl(File::Basename)} %{!?_without_test:BuildRequires: perl(File::Spec) >= 3.00} %{!?_without_test:BuildRequires: perl(Test::More) >= 0.62} %description Provides a simple but, hopefully, extensible way of having 'plugins' for your module. %prep %setup -q -n %{pkg_name}-%{pkg_version} [ -f Makefile.PL ] || cat < Makefile.PL use Module::Build::Compat; Module::Build::Compat->run_build_pl(args => \@ARGV); Module::Build::Compat->write_makefile(); EOF %{fix_mod} %build %{perl_build} %{!?_without_test:%{__make} test} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files} %doc Changes README %changelog * Tue May 22 2007 Marius Feraru - 3.6-1.n0i.10 - spec file (re)created using N0i::CPAN::RPMizer v1.14.7 - version 3.6 * Thu Jun 08 2006 Marius Feraru - 3.01-1.n0i.9 - version 3.01 * Tue Jun 06 2006 Marius Feraru - 3.0-1.n0i.8 - version 3.0 * Sat Mar 04 2006 Marius Feraru - 2.97-1.n0i.7 - version 2.97 * Tue Sep 06 2005 Marius Feraru 2.96-1.n0i.6 - version 2.96 * Wed Aug 03 2005 Marius Feraru 2.95-1.n0i.5 - version 2.95 * Sat Jul 23 2005 Marius Feraru 2.9-1.n0i.4 - spec file (re)created using N0i::CPAN::RPMizer/1.01 - rebuild on perl 5.8.7 * Wed Mar 30 2005 Marius Feraru 0:2.8-2.n0i.3 - version 2.8 * Mon Feb 07 2005 Marius Feraru 0:2.6-1.n0i.2 - version 2.6 * Thu Jan 27 2005 Marius Feraru 0:2.5-1.n0i.1 - version 2.5 - spec file (re?)created using N0i::CPAN::RPMizer/2004120601