%define real_name Carp-Assert Summary: Carp::Assert - executable comments Name: perl-%{real_name} Version: 0.18 Release: 1mdk License: GPL or Artistic Group: Development/Perl URL: http://search.cpan.org/dist/%{real_name} Source0: http://search.cpan.org/CPAN/authors/id/M/MS/MSCHWERN/%{real_name}-%{version}.tar.bz2 BuildRequires: perl-devel BuildRequires: perl-Test-Inline BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot %description Carp::Assert is intended for a purpose like the ANSI C library assert.h. If you're already familiar with assert.h, then you can probably skip this and go straight to the FUNCTIONS section. %prep %setup -q -n %{real_name}-%{version} # pod2test is not provided by Test-Inline anymore perl -pi -e "s|pod2test|/bin/true|g" Makefile.PL %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make make test %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc Changes README %{perl_vendorlib}/Carp/Assert.pm %{_mandir}/*/* %changelog * Thu Jul 14 2005 Oden Eriksson <oeriksson@mandriva.com> 0.18-1mdk - initial Mandriva package