%define upstream_name Carp-Assert %define upstream_version 0.20 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: Carp::Assert - executable comments License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: ftp://ftp.perl.org/pub/CPAN/modules/by-module/Carp/%{upstream_name}-%{upstream_version}.tar.bz2 BuildRequires: perl(Test::Inline) BuildRequires: perl(Test::More) >= 0.40 BuildArch: noarch %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 %{upstream_name}-%{upstream_version} %build %__perl Makefile.PL INSTALLDIRS=vendor %__make %check %__make test %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc Changes README %{perl_vendorlib}/Carp %{_mandir}/*/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.200.0-2.mga3 + Revision: 363794 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Wed Jan 26 2011 jquelin <jquelin> 0.200.0-1.mga1 + Revision: 39983 - mageia rebuild - imported package perl-Carp-Assert