[perl-File-Path-Tiny] initial import
Iain Arnell
iarnell at fedoraproject.org
Mon Nov 22 18:50:47 UTC 2010
commit fc3b917413bc4f25cbd08d6b7884c8271e8849f1
Author: Iain Arnell <iarnell at gmail.com>
Date: Mon Nov 22 19:50:30 2010 +0100
initial import
.gitignore | 1 +
perl-File-Path-Tiny.spec | 48 ++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 50 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..1854de2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/File-Path-Tiny-0.1.tar.gz
diff --git a/perl-File-Path-Tiny.spec b/perl-File-Path-Tiny.spec
new file mode 100644
index 0000000..94f934e
--- /dev/null
+++ b/perl-File-Path-Tiny.spec
@@ -0,0 +1,48 @@
+Name: perl-File-Path-Tiny
+Version: 0.1
+Release: 1%{?dist}
+Summary: Recursive versions of mkdir() and rmdir() without as much overhead as File::Path
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/File-Path-Tiny/
+Source0: http://www.cpan.org/authors/id/D/DM/DMUEY/File-Path-Tiny-%{version}.tar.gz
+BuildArch: noarch
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(Test::More)
+BuildRequires: perl(Test::Pod)
+BuildRequires: perl(Test::Pod::Coverage)
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%{?perl_default_filter}
+
+%description
+The goal here is simply to provide recursive versions of mkdir() and
+rmdir() with as little code and overhead as possible.
+
+%prep
+%setup -q -n File-Path-Tiny-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=%{buildroot}
+
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} %{buildroot}/*
+
+%check
+make test
+
+%files
+%defattr(-,root,root,-)
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Sun Nov 14 2010 Iain Arnell <iarnell at gmail.com> 0.1-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..e83afa4 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+3a2ac2277304b6a1c017f24c8327f55a File-Path-Tiny-0.1.tar.gz
More information about the perl-devel
mailing list