perl-Test-Portability-Files-0.05-1.src.rpmepel9
parent
c0a2f600e9
commit
4f0f6f72d5
@ -0,0 +1 @@
|
||||
Test-Portability-Files-0.05.tar.gz
|
@ -0,0 +1,49 @@
|
||||
Name: perl-Test-Portability-Files
|
||||
Version: 0.05
|
||||
Release: 1%{?dist}
|
||||
Summary: Check file names portability
|
||||
License: GPL or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/Test-Portability-Files/
|
||||
Source0: http://www.cpan.org/authors/id/S/SA/SAPER/Test-Portability-Files-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl(Module::Build)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
%description
|
||||
This module is used to check the portability across operating systems of
|
||||
the names of the files present in the distribution of a module. The tests
|
||||
use the advices given in "Files and Filesystems" in perlport. The author of
|
||||
a distribution can select which tests to execute.
|
||||
|
||||
%prep
|
||||
%setup -q -n Test-Portability-Files-%{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 -type d -depth -exec rmdir {} 2>/dev/null \;
|
||||
|
||||
chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
./Build test
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes LICENSE LICENSE.Artistic LICENSE.GPL README
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Fri May 12 2006 Steven Pritchard <steve@kspei.com> 0.05-1
|
||||
- Specfile autogenerated by cpanspec 1.66.
|
Loading…
Reference in new issue