[perl-Env-Path] initial import (rhbz#751531)
Iain Arnell
iarnell at fedoraproject.org
Mon Nov 7 16:07:14 UTC 2011
commit 7d9cfd0af547318af00299c05c21ffd6f12b6a71
Author: Iain Arnell <iarnell at gmail.com>
Date: Mon Nov 7 17:07:04 2011 +0100
initial import (rhbz#751531)
.gitignore | 1 +
perl-Env-Path.spec | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 52 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..369e7c5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Env-Path-0.18.tar.gz
diff --git a/perl-Env-Path.spec b/perl-Env-Path.spec
new file mode 100644
index 0000000..ca94d9e
--- /dev/null
+++ b/perl-Env-Path.spec
@@ -0,0 +1,50 @@
+Name: perl-Env-Path
+Version: 0.18
+Release: 1%{?dist}
+Summary: Advanced operations on path variables
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/Env-Path/
+Source0: http://www.cpan.org/authors/id/D/DS/DSB/Env-Path-%{version}.tar.gz
+BuildArch: noarch
+BuildRequires: perl(ExtUtils::MakeMaker)
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%{?perl_default_filter}
+
+%description
+Env::Path presents an object-oriented interface to path variables, defined
+as that subclass of environment variables which name an ordered list of
+filesystem elements separated by a platform-standard separator.
+
+%prep
+%setup -q -n Env-Path-%{version}
+
+chmod 0644 examples/Whence
+sed -i '1s,#!.*,#!%{__perl},' examples/Whence
+
+%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
+%doc Changes README examples/Whence
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+%{_mandir}/man1/*
+%{_bindir}/*
+
+%changelog
+* Sat Nov 05 2011 Iain Arnell <iarnell at gmail.com> 0.18-1
+- Specfile autogenerated by cpanspec 1.79.
diff --git a/sources b/sources
index e69de29..2f8ff38 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+3be7b2f3521eb604d621f6fdf36b86da Env-Path-0.18.tar.gz
More information about the scm-commits
mailing list