>From c6ab1e414d3d49ff9e017408c2a66dbecb374fba Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jples...@redhat.com>
Date: Mon, 7 Dec 2015 15:59:49 +0100
Subject: Initial import

---
 .gitignore             |  1 +
 perl-Pod-Stripper.spec | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++
 sources                |  1 +
 3 files changed, 55 insertions(+)
 create mode 100644 perl-Pod-Stripper.spec

diff --git a/.gitignore b/.gitignore
index e69de29..92f4915 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Pod-Stripper-0.22.tar.gz
diff --git a/perl-Pod-Stripper.spec b/perl-Pod-Stripper.spec
new file mode 100644
index 0000000..4a38f7f
--- /dev/null
+++ b/perl-Pod-Stripper.spec
@@ -0,0 +1,53 @@
+Name:           perl-Pod-Stripper
+Version:        0.22
+Release:        1%{?dist}
+Summary:        Strip all pod, and output what's left
+License:        GPL+ or Artistic
+URL:            http://search.cpan.org/dist/Pod-Stripper/
+Source0:        
http://www.cpan.org/authors/id/P/PO/PODMASTER/Pod-Stripper-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  make
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+BuildRequires:  sed
+# Run-time
+BuildRequires:  perl(Pod::Parser) >= 1.13
+BuildRequires:  perl(strict)
+BuildRequires:  perl(vars)
+# Tests
+BuildRequires:  perl(Test) >= 1.15
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:       perl(Pod::Parser) >= 1.13
+
+%global __requires_exclude 
%{?__requires_exclude:%__requires_exclude|}perl\\(Pod::Parser\\)\s*$
+
+%description
+This be Pod::Stripper, a subclass of Pod::Parser. It parses perl files,
+stripping out the pod, and dumping the rest (presumably code) to wherever
+you point it to (like you do with Pod::Parser).
+
+%prep
+%setup -q -n Pod-Stripper-%{version}
+sed -i 's/\r//' Changes README podstrip
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc Changes README
+%{_bindir}/*
+%{perl_vendorlib}/*
+%{_mandir}/man1/*
+%{_mandir}/man3/*
+
+%changelog
+* Wed Dec 02 2015 Jitka Plesnikova <jples...@redhat.com> - 0.22-1
+- Initial release
diff --git a/sources b/sources
index e69de29..4a34bb4 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+33095c075bcb8f366a3fb3bf2c1d3fc8  Pod-Stripper-0.22.tar.gz
-- 
cgit v0.11.2


        
http://pkgs.fedoraproject.org/cgit/perl-Pod-Stripper.git/commit/?h=master&id=c6ab1e414d3d49ff9e017408c2a66dbecb374fba
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Reply via email to