%define pkg_name ExtUtils-configPL %define pkg_version 1.1 %define rpm_pkg_version 1.1 %define rpm_pkg_release 8.n0i.9 Summary: Configures .PL files 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/P/PE/PEASE/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: reb00t-rpmdevtools BuildRequires: perl(ExtUtils::MakeMaker) %{!?_without_test:BuildRequires: perl(Config)} %{!?_without_test:BuildRequires: perl(Filter::Util::Call)} %description ExtUtils::configPL - Perl extension to automagically configure perl scripts This module is used to add configuration information to a perl script, and is meant to be used with the C module. ExtUtils::configPL is not a "normal" Perl extension. It does add or encapsulate functionality to your script, but it filters the script, replacing tags with items from the Config module, writing the resulting script to a new file. %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} %doc Changes README %changelog * Tue May 22 2007 Marius Feraru - 1.1-8.n0i.9 - spec file (re)created using N0i::CPAN::RPMizer v1.14.7 - rebuild on perl 5.8.8 * Wed Jul 20 2005 Marius Feraru 1.1-7.n0i.8 - spec file (re)created using N0i::CPAN::RPMizer/1.01 - rebuild on perl 5.8.7 * Thu Mar 31 2005 Marius Feraru 0:1.1-6.n0i.7 - automatic rebuild (perl 5.8.6) * Sun Dec 05 2004 Marius Feraru 0:1.1-5.n0i.6 - automatic rebuild (perl 5.8.6) * Tue May 04 2004 Marius Feraru 0:1.1-4.n0i.5 - spec file (re?)created using N0i::CPAN::RPMizer/2004050401 - rebuild (perl 5.8.4) * Thu Jan 22 2004 Marius FERARU 0:1.1-3.n0i.4 - automatic rebuild (perl v.5.8.3) * Tue Dec 30 2003 Marius FERARU 0:1.1-2.n0i.3 - rebuilt on perl 5.8.2 / Fedora 1 Devel (tobe FC2) * Fri Oct 31 2003 Marius FERARU 0:1.1-1.n0i.2 - spec file (re?)created using N0i::CPAN::RPMizer/2003102001 * Sun Jul 13 2003 Marius FERARU 1.1-0.n0i - version 1.1 - Initial build.