From 3e9fd63f8c90426c097a86d77ccbc3a392022b96 Mon Sep 17 00:00:00 2001 From: Ian Burrell Date: Mon, 12 Feb 2007 19:31:45 +0000 Subject: [PATCH] auto-import perl-Path-Class-0.16-1 on branch devel from perl-Path-Class-0.16-1.src.rpm --- .cvsignore | 1 + perl-Path-Class.spec | 50 ++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 52 insertions(+) create mode 100644 perl-Path-Class.spec diff --git a/.cvsignore b/.cvsignore index e69de29..9e650f2 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Path-Class-0.16.tar.gz diff --git a/perl-Path-Class.spec b/perl-Path-Class.spec new file mode 100644 index 0000000..4fc88bb --- /dev/null +++ b/perl-Path-Class.spec @@ -0,0 +1,50 @@ +Name: perl-Path-Class +Version: 0.16 +Release: 1%{?dist} +Summary: Cross-platform path specification manipulation +License: GPL or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Path-Class/ +Source0: http://www.cpan.org/modules/by-module/Path/Path-Class-%{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 +Path::Class is a module for manipulation of file and directory +specifications (strings describing their locations, like +'/home/ken/foo.txt' or 'C:\Windows\Foo.txt') in a cross-platform manner. It +supports pretty much every platform Perl runs on, including Unix, Windows, +Mac, VMS, Epoc, Cygwin, OS/2, and NetWare. + +%prep +%setup -q -n Path-Class-%{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 Jan 29 2007 Ian Burrell 0.16-1 +- Specfile autogenerated by cpanspec 1.69.1. diff --git a/sources b/sources index e69de29..951a125 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +3a2416d2f5ed1a8a98525baea5c25e1c Path-Class-0.16.tar.gz