parent
c82ff02cc1
commit
a082bffe7a
@ -0,0 +1 @@
|
||||
Test-File-Contents-0.05.tar.gz
|
@ -0,0 +1,52 @@
|
||||
Name: perl-Test-File-Contents
|
||||
Version: 0.05
|
||||
Release: 1%{?dist}
|
||||
Summary: Test routines for examining the contents of files
|
||||
License: GPL or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/Test-File-Contents/
|
||||
Source0: http://www.cpan.org/authors/id/S/SK/SKUD/Test-File-Contents-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl(Module::Build)
|
||||
BuildRequires: perl(Test::Builder::Tester)
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(Test::Pod)
|
||||
BuildRequires: perl(Test::Pod::Coverage)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
%description
|
||||
Test routines for examining the contents of files.
|
||||
|
||||
%prep
|
||||
%setup -q -n Test-File-Contents-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Build.PL installdirs=vendor
|
||||
./Build
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
||||
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
./Build test
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes README
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Mon Jul 16 2007 Steven Pritchard <steve@kspei.com> 0.05-1
|
||||
- Specfile autogenerated by cpanspec 1.71.
|
||||
- BR Test::Builder::Tester, Test::More, Test::Pod, and Test::Pod::Coverage.
|
||||
- Improve Summary and description.
|
Loading…
Reference in new issue