[perl-Test-Pod-Content] Initial import.

Emmanuel Seyman eseyman at fedoraproject.org
Thu Jun 9 20:59:56 UTC 2011


commit 53f48d3890f84a2119fc6098437e0c2ffd5f5fb6
Author: Emmanuel Seyman <emmanuel.seyman at club-internet.fr>
Date:   Thu Jun 9 22:59:34 2011 +0200

    Initial import.

 .gitignore                 |    1 +
 perl-Test-Pod-Content.spec |   46 ++++++++++++++++++++++++++++++++++++++++++++
 sources                    |    1 +
 3 files changed, 48 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..b87ea93 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Test-Pod-Content-0.0.5.tar.gz
diff --git a/perl-Test-Pod-Content.spec b/perl-Test-Pod-Content.spec
new file mode 100644
index 0000000..82cffd5
--- /dev/null
+++ b/perl-Test-Pod-Content.spec
@@ -0,0 +1,46 @@
+Name:           perl-Test-Pod-Content
+Version:        0.0.5
+Release:        1%{?dist}
+Summary:        Test a Pod's content
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Test-Pod-Content/
+Source0:        http://www.cpan.org/authors/id/M/MK/MKUTTER/Test-Pod-Content-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(Pod::Simple)
+BuildRequires:  perl(Test::Perl::Critic)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(version)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+This is a very simple module for testing a Pod's content. It is mainly intended
+for testing the content of generated Pod - that is, the Pod included in perl
+modules generated by some mechanism. Another usage example is to test whether
+all files contain the same copyright notice.
+
+%prep
+%setup -q -n Test-Pod-Content-%{version}
+
+%build
+%{__perl} Build.PL installdirs=vendor
+./Build
+
+%install
+./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+./Build test
+
+%files
+%doc Changes HACKING README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Mon May 16 2011 Emmanuel Seyman <emmanuel.seyman at club-internet.fr> 0.0.5-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..6dbdae8 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+895452aebc0d809413c865452be28d6a  Test-Pod-Content-0.0.5.tar.gz



More information about the perl-devel mailing list