%define pkg_name Class-Fields %define pkg_version 0.203 %define rpm_pkg_version 0.20_3 %define rpm_pkg_release 1.n0i.4 Summary: Inspect the fields of a class 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/M/MS/MSCHWERN/%{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(Carp::Assert)} %description A collection of utility functions/methods for examining the data members of a class. It provides a nice, high-level interface that should stand the test of time and Perl upgrades nicely. %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 %changelog * Sun Sep 09 2007 Marius Feraru - 0.20_3-1.n0i.4.0.203 - version 0.203 * Wed Aug 01 2007 Marius Feraru - 0.20_2-1.n0i.3.0.202 - version 0.202 * Tue May 22 2007 Marius Feraru - 0.20_1-2.n0i.2.0.201 - spec file (re)created using N0i::CPAN::RPMizer v1.14.7 * Mon Jul 03 2006 Marius Feraru - 0.20_1-1.n0i.1.0.201 - spec file (re)created using N0i::CPAN::RPMizer v1.12.1 - rebuild on perl 5.8.8