[perl-Scriptalicious] Import
Petr Pisar
ppisar at fedoraproject.org
Wed May 11 07:43:47 UTC 2011
commit e50eca4d253bf337c8f0b3bfeca2fdd1c14801fe
Author: Petr Písař <ppisar at redhat.com>
Date: Wed May 11 09:43:21 2011 +0200
Import
.gitignore | 1 +
perl-Scriptalicious.spec | 56 ++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 58 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..2f9b27d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Scriptalicious-1.16.tar.gz
diff --git a/perl-Scriptalicious.spec b/perl-Scriptalicious.spec
new file mode 100644
index 0000000..8596dcf
--- /dev/null
+++ b/perl-Scriptalicious.spec
@@ -0,0 +1,56 @@
+Name: perl-Scriptalicious
+Version: 1.16
+Release: 1%{?dist}
+Summary: Make scripts more delicious to system administrators
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/Scriptalicious/
+Source0: http://www.cpan.org/authors/id/S/SA/SAMV/Scriptalicious-%{version}.tar.gz
+BuildArch: noarch
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(Getopt::Long)
+BuildRequires: perl(Term::ReadKey)
+# Test-time only:
+BuildRequires: perl(base)
+BuildRequires: perl(Exporter)
+BuildRequires: perl(lib)
+BuildRequires: perl(Test::More)
+# Optional tests:
+BuildRequires: perl(Template)
+BuildRequires: perl(YAML)
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires: perl(Exporter)
+Requires: perl(Term::ReadKey)
+
+%description
+This module helps you write scripts that conform to best common practices,
+quickly.
+
+%prep
+%setup -q -n Scriptalicious-%{version}
+mv Changes{.pod,}
+sed -i -e '/^Changes.pod$/d' MANIFEST
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -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_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Tue May 10 2011 Petr Pisar <ppisar at redhat.com> 1.16-1
+- Specfile autogenerated by cpanspec 1.78.
+- Remove BuildRoot stuff
diff --git a/sources b/sources
index e69de29..897d1cb 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+1923d541289cd9ba08545f5d4df3c475 Scriptalicious-1.16.tar.gz
More information about the perl-devel
mailing list