- add BR Test::More and ExtUtils::MakeMaker

epel9
Marcela Mašláňová 16 years ago
parent c02e178f74
commit 35a46145d0

@ -0,0 +1 @@
XXX-0.12.tar.gz

@ -0,0 +1,67 @@
Name: perl-XXX
Version: 0.12
Release: 2%{?dist}
Summary: See Your Data in the Nude
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/XXX/
Source0: http://search.cpan.org/CPAN/authors/id/I/IN/INGY/XXX-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(YAML)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
XXX.pm exports a function called XXX that you can put just about
anywhere in your Perl code to make it die with a YAML dump of the
arguments to its right.
The charm of XXX-debugging is that it is easy to type and rarely
requires parens and stands out visually so that you remember to remove
it.
XXX.pm also exports WWW, YYY and ZZZ which do similar debugging things.
To use Data::Dumper instead of YAML:
use XXX -dumper;
%prep
%setup -q -n XXX-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
iconv -f iso8859-1 -t utf-8 < README > README.z
mv README.z README
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Wed Apr 22 2009 Marcela Mašláňová <mmaslano@redhat.com> 0.12-2
- add BR Test::More and ExtUtils::MakeMaker
* Tue Apr 14 2009 Marcela Mašláňová <mmaslano@redhat.com> 0.12-1
- initial packaging

@ -0,0 +1 @@
9bc0f06321ed4a8b1315ab0be7afaf48 XXX-0.12.tar.gz
Loading…
Cancel
Save