diff --git a/.cvsignore b/.cvsignore index e69de29..b10d9b7 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Test-File-Contents-0.05.tar.gz diff --git a/perl-Test-File-Contents.spec b/perl-Test-File-Contents.spec new file mode 100644 index 0000000..06f492f --- /dev/null +++ b/perl-Test-File-Contents.spec @@ -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 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. diff --git a/sources b/sources index e69de29..47f1153 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +6bdc15a6345a3ef693a6e2326331b6ec Test-File-Contents-0.05.tar.gz