%define pkg_name ExtUtils-ModuleMaker %define pkg_version 0.49 %define rpm_pkg_version 0.49 %define rpm_pkg_release 1.n0i.7 Summary: Better than h2xs for creating modules 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/J/JK/JKEENAN/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: reb00t-rpmdevtools Requires: perl(File::Save::Home) >= 0.03 BuildRequires: perl(ExtUtils::MakeMaker) %{!?_without_test:BuildRequires: perl(File::Basename)} %{!?_without_test:BuildRequires: perl(File::Path)} %{!?_without_test:BuildRequires: perl(File::Save::Home) >= 0.03} %{!?_without_test:BuildRequires: perl(Getopt::Std)} %{!?_without_test:BuildRequires: perl(Test::More) >= 0.44} %description This module is a replacement for the most typical use of the h2xs utility bundled with all Perl distributions: the creation of the directories and files required for a pure-Perl module to be installable with make and distributable on the Comprehensive Perl Archive Network (CPAN). %prep %setup -q -n %{pkg_name}-%{pkg_version} %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 -b -m} %doc Changes LICENSE README %changelog * Tue May 22 2007 Marius Feraru - 0.49-1.n0i.7 - spec file (re)created using N0i::CPAN::RPMizer v1.14.7 - version 0.49 * Fri May 19 2006 Marius FERARU - 0.47-1.n0i.6 - version 0.47 * Wed May 03 2006 Marius Feraru - 0.46-1.n0i.5 - version 0.46 * Fri Apr 07 2006 Marius Feraru - 0.45-1.n0i.4 - version 0.45 * Sat Mar 04 2006 Marius Feraru - 0.44-1.n0i.3 - version 0.44 * Thu Oct 06 2005 Marius Feraru 0.43-1.n0i.2 - version 0.43 * Wed Sep 21 2005 Marius Feraru 0.41-1.n0i.1 - spec file (re)created using N0i::CPAN::RPMizer/1.10 - rebuild on perl 5.8.7