[perl-Shell] Initial import (#904331).
Normunds Neimanis
normunds at fedoraproject.org
Thu Feb 14 21:42:24 UTC 2013
commit cb65684fa4b9fd3b2c9f0e68ad8deeef13965405
Author: Normunds Neimanis <fedorapkg,lv>
Date: Thu Feb 14 23:42:08 2013 +0200
Initial import (#904331).
.gitignore | 1 +
perl-Shell.spec | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 58 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..69ecdb2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Shell-0.72.tar.gz
diff --git a/perl-Shell.spec b/perl-Shell.spec
new file mode 100644
index 0000000..e7f08a3
--- /dev/null
+++ b/perl-Shell.spec
@@ -0,0 +1,56 @@
+Name: perl-Shell
+Version: 0.72
+Release: 1%{?dist}
+Summary: Run shell commands transparently within perl
+
+Group: Development/Libraries
+License: GPL+ or Artistic
+URL: http://search.cpan.org/dist/Shell
+Source0: http://search.cpan.org/CPAN/authors/id/F/FE/FERREIRA/Shell-%{version}.tar.gz
+
+
+BuildArch: noarch
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(Test::More)
+BuildRequires: perl(constant)
+BuildRequires: perl(File::Spec::Functions)
+
+
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+
+
+%description
+This package is included as a show case, illustrating a few Perl features. It
+shouldn't be used for production programs. Although it does provide a simple
+interface for obtaining the standard output of arbitrary commands, there may be
+better ways of achieving what you need.
+
+
+%prep
+%setup -q -n Shell-%{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 {} ';'
+%{_fixperms} %{buildroot}/*
+
+
+%check
+make test
+
+
+%files
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+
+%changelog
+* Tue Feb 05 2013 Normunds Neimanis <fedorapkg at rule.lv> 0.72-1
+- Initial package for Fedora
diff --git a/sources b/sources
index e69de29..8cf01e1 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+7a9cdda55e5c87e370bdb8c82c9133ba Shell-0.72.tar.gz
More information about the perl-devel
mailing list