parent
730bb4e1b5
commit
d90ac18d20
@ -0,0 +1 @@
|
||||
Test-Cmd-1.05.tar.gz
|
@ -0,0 +1,57 @@
|
||||
Name: perl-Test-Cmd
|
||||
Version: 1.05
|
||||
Release: 1%{?dist}
|
||||
Summary: Perl module for portable testing of commands and scripts
|
||||
|
||||
Group: Development/Libraries
|
||||
License: GPL or Artistic
|
||||
URL: http://search.cpan.org/dist/Test-Cmd/
|
||||
Source0: http://www.cpan.org/authors/id/K/KN/KNIGHT/Test-Cmd-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl(Algorithm::DiffOld)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
Requires: perl(Algorithm::DiffOld)
|
||||
|
||||
%description
|
||||
The Test::Cmd module provides a framework for portable automated testing
|
||||
of executable commands and scripts (in any language, not just Perl),
|
||||
especially commands and scripts that interace with the file system.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n Test-Cmd-%{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 -type d -depth -exec rmdir {} 2>/dev/null ';'
|
||||
chmod -R u+w $RPM_BUILD_ROOT/*
|
||||
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes README
|
||||
%{perl_vendorlib}/Test/
|
||||
%{_mandir}/man3/*.3pm*
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon May 01 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.05-1
|
||||
- First build.
|
Loading…
Reference in new issue