commit 8982c0035804624466cd4f71c20ad03a00807477 Author: Marcela MaÅlÃÅovà <mmaslano@xxxxxxxxxx> Date: Tue Mar 15 17:30:19 2011 +0100 Initial push. .gitignore | 1 + perl-PathTools.spec | 70 +++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 72 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..977c23c 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/PathTools-3.33.tar.gz diff --git a/perl-PathTools.spec b/perl-PathTools.spec new file mode 100644 index 0000000..65037f2 --- /dev/null +++ b/perl-PathTools.spec @@ -0,0 +1,70 @@ +Name: perl-PathTools +Version: 3.33 +Release: 1%{?dist} +Summary: PathTools Perl module (Cwd, File::Spec) +License: (GPL+ or Artistic) and BSD +Group: Development/Libraries +URL: http://search.cpan.org/dist/PathTools/ +Source0: http://www.cpan.org/authors/id/S/SM/SMUELLER/PathTools-%{version}.tar.gz +BuildRequires: perl(Carp) +BuildRequires: perl(Carp::Heavy) +BuildRequires: perl(Config) +BuildRequires: perl(Cwd) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Basename) +BuildRequires: perl(File::Path) +BuildRequires: perl(File::Spec) +BuildRequires: perl(File::Spec::Cygwin) +BuildRequires: perl(File::Spec::Epoc) +BuildRequires: perl(File::Spec::Functions) +BuildRequires: perl(File::Spec::Unix) +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(strict) +BuildRequires: perl(Test) +BuildRequires: perl(Test::More) +BuildRequires: perl(vars) +Requires: perl(Carp) +Requires: perl(File::Basename) +Requires: perl(File::Path) +Requires: perl(Scalar::Util) +Requires: perl(Test) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?filter_setup: +%filter_from_requires /^perl(VMS::Filespec)/d +%{?perl_default_filter} +} + +%description +PathTools Perl module (Cwd, File::Spec). + +%prep +%setup -q -n PathTools-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%defattr(-,root,root,-) +%doc Changes README +%{perl_vendorarch}/auto/* +%{perl_vendorarch}/Cwd.pm +%{perl_vendorarch}/File/Spec* +%{_mandir}/man3/* + +%changelog +* Mon Feb 28 2011 Marcela MaÅlÃÅovà <mmaslano@xxxxxxxxxx> 3.33-1 +- Specfile autogenerated by cpanspec 1.79. diff --git a/sources b/sources index e69de29..f873064 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +92f0df032c399fadef2e2e647ebc3111 PathTools-3.33.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