%define pkg_name Carp-Assert %define pkg_version 0.20 %define rpm_pkg_version 0.20 %define rpm_pkg_release 1.n0i.8 Summary: Stating the obvious to let the computer know 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/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)} %{!?_without_test:BuildRequires: perl(Test::More)} %description Carp::Assert is intended for a purpose like the ANSI C library assert.h. Assertions are the explict expressions of your assumptions about the reality your program is expected to deal with, and a declaration of those which it is not. They are used to prevent your program from blissfully processing garbage inputs (garbage in, garbage out becomes garbage in, error out) and to tell you when you've produced garbage output. %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 - 0.20-1.n0i.8 - spec file (re)created using N0i::CPAN::RPMizer v1.14.7 - version 0.20 * Sun Jul 24 2005 Marius Feraru 0.18-2.n0i.7 - spec file (re)created using N0i::CPAN::RPMizer/1.01 - rebuild on perl 5.8.7 * Sun Mar 20 2005 Marius Feraru 0:0.18-1.n0i.6 - automatic rebuild (perl 5.8.6) * Sun Dec 05 2004 Marius Feraru 0:0.18-1.n0i.5 - automatic rebuild (perl 5.8.6) * Thu May 06 2004 Marius Feraru 0:0.18-1.n0i.4 - spec file (re?)created using N0i::CPAN::RPMizer/2004050401 - rebuild (perl 5.8.4) * Fri Mar 19 2004 Marius FERARU 0:0.18-1.n0i.3 - version 0.18 * Thu Jan 29 2004 Marius FERARU 0:0.17-0.n0i.2 - spec file (re?)created using N0i::CPAN::RPMizer/2004011001 * Wed Jul 30 2003 Marius FERARU 0.17-0.n0i - version 0.17