[perl-Pod-MinimumVersion] Import

Petr Pisar ppisar at fedoraproject.org
Thu Apr 21 07:13:55 UTC 2011


commit b51df9c39aad08e2bb6f5f1f4415bc0db9ed5ddb
Author: Petr Písař <ppisar at redhat.com>
Date:   Thu Apr 21 09:13:30 2011 +0200

    Import

 .gitignore                   |    1 +
 perl-Pod-MinimumVersion.spec |   54 ++++++++++++++++++++++++++++++++++++++++++
 sources                      |    1 +
 3 files changed, 56 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..32022b9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Pod-MinimumVersion-50.tar.gz
diff --git a/perl-Pod-MinimumVersion.spec b/perl-Pod-MinimumVersion.spec
new file mode 100644
index 0000000..8443c2c
--- /dev/null
+++ b/perl-Pod-MinimumVersion.spec
@@ -0,0 +1,54 @@
+Name:           perl-Pod-MinimumVersion
+Version:        50
+Release:        1%{?dist}
+Summary:        Perl version for POD directives used
+License:        GPLv3+
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Pod-MinimumVersion/
+Source0:        http://www.cpan.org/authors/id/K/KR/KRYDE/Pod-MinimumVersion-%{version}.tar.gz
+BuildArch:      noarch
+# See Makefile.PL for dependencies; META.yml is out-dated.
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(IO::String) >= 1.02
+BuildRequires:  perl(List::Util)
+BuildRequires:  perl(Pod::Parser)
+BuildRequires:  perl(version)
+# Tests only
+BuildRequires:  perl(Data::Dumper)
+BuildRequires:  perl(Test)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(IO::String) >= 1.02
+
+%description
+Pod::MinimumVersion parses the POD in a Perl script, module, or document,
+and reports what version of Perl is required to process the directives in
+it with pod2man etc.
+
+%prep
+%setup -q -n Pod-MinimumVersion-%{version}
+
+%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 COPYING
+%{perl_vendorlib}/*
+%{_bindir}/*
+%{_mandir}/man3/*
+%{_mandir}/man1/*
+
+%changelog
+* Wed Apr 06 2011 Petr Pisar <ppisar at redhat.com> 50-1
+- Specfile autogenerated by cpanspec 1.78.
+- Remove BuildRoot stuff
diff --git a/sources b/sources
index e69de29..70559a8 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+23fb6595e73c25eaafe3717a3811e274  Pod-MinimumVersion-50.tar.gz


More information about the scm-commits mailing list