commit c869ce6d62694c842ec4ab0d03b46c530c7a0fef Author: Ruediger Landmann <r.landmann@xxxxxxxxxx> Date: Fri Jun 10 10:05:20 2011 +1000 New package .gitignore | 1 + perl-Sys-Path.spec | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 62 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..d0e43e5 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Sys-Path-0.10.tar.gz diff --git a/perl-Sys-Path.spec b/perl-Sys-Path.spec new file mode 100644 index 0000000..86c2ae8 --- /dev/null +++ b/perl-Sys-Path.spec @@ -0,0 +1,60 @@ +Name: perl-Sys-Path +Version: 0.10 +Release: 2%{?dist} +Summary: Supply autoconf style installation directories +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Sys-Path/ +Source0: http://www.cpan.org/modules/by-module/Sys/Sys-Path-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl(JSON::Util) +BuildRequires: perl(List::MoreUtils) +BuildRequires: perl(Module::Build) +BuildRequires: perl(Test::Compile) >= 0.08 +BuildRequires: perl(Test::More) +BuildRequires: perl(Text::Diff) +BuildRequires: perl(Test::Distribution) +BuildRequires: perl(Test::Fixme) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +The goal is that Sys::Path provides autoconf style system paths. + +%prep +%setup -q -n Sys-Path-%{version} + +%build +PERL_MM_USE_DEFAULT=1 %{__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 +* Thu Jun 9 2011 RÃdiger Landmann <r.landmann@xxxxxxxxxx> 0.10-2 +- Remove redundant requires from spec + +* Mon Mar 14 2011 RÃdiger Landmann <r.landmann@xxxxxxxxxx> 0.10-1 +- Specfile autogenerated by cpanspec 1.78. +- set to use defaults at build time. +- BR Test::Distribution and Test::Fixme + + diff --git a/sources b/sources index e69de29..9b3da49 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +be5777dcebe471d9efd4e579c41b735c Sys-Path-0.10.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel