[perl-Pod-Snippets] Initial commit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 26eaa8812a5053fcb098d7fc553f2238c02f698e
Author: Robin Lee <cheeselee@xxxxxxxxxxxxxxxxx>
Date:   Mon Oct 6 01:07:59 2014 +0800

    Initial commit

 .gitignore             |    1 +
 perl-Pod-Snippets.spec |   65 ++++++++++++++++++++++++++++++++++++++++++++++++
 sources                |    1 +
 3 files changed, 67 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..b540eab 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Pod-Snippets-0.14.tar.gz
diff --git a/perl-Pod-Snippets.spec b/perl-Pod-Snippets.spec
new file mode 100644
index 0000000..1bc34a9
--- /dev/null
+++ b/perl-Pod-Snippets.spec
@@ -0,0 +1,65 @@
+Name:           perl-Pod-Snippets
+Version:        0.14
+Release:        3%{?dist}
+Summary:        Extract and reformat snippets of POD
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Pod-Snippets/
+Source0:        http://www.cpan.org/authors/id/D/DO/DOMQ/Pod-Snippets-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl(base)
+BuildRequires:  perl(File::Path)
+BuildRequires:  perl(File::Spec::Functions)
+BuildRequires:  perl(File::Temp)
+BuildRequires:  perl(overload)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(vars)
+BuildRequires:  perl(warnings)
+BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(Pod::Parser)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+This class is a very simple extension of Pod::Parser that extracts POD
+snippets from Perl code, and pretty-prints it so as to make it usable from
+other Perl code. As demonstrated above, Pod::Snippets is immediately useful
+to test-driven-development nutcases who want to put every single line of
+Perl code under test, including code that is in the POD (typically a
+SYNOPSIS section). There are other uses, such as storing a piece of
+information that is both human- and machine-readable (e.g. an XML schema)
+simultaneously as documentation and code.
+
+%prep
+%setup -q -n Pod-Snippets-%{version}
+
+%build
+%{__perl} Build.PL installdirs=vendor
+./Build
+
+%install
+./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+./Build test
+
+%files
+%doc Changes README eg/
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Fri Sep 19 2014 Robin Lee <cheeselee@xxxxxxxxxxxxxxxxx> - 0.14-3
+- Additional cleanup
+- Remove Requires perl(Pod::Parser)
+
+* Thu Sep 18 2014 Robin Lee <cheeselee@xxxxxxxxxxxxxxxxx> - 0.14-2
+- BR: perl(base) perl(File::Path) perl(File::Spec::Functions)
+  perl(File::Temp) perl(overload) perl(strict) perl(Test::More)
+  perl(vars) perl(warnings)
+- specfile cleanup
+
+* Sat Sep 13 2014 Robin Lee <cheeselee@xxxxxxxxxxxxxxxxx> 0.14-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..96b789f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+e4897fdbcbbb76f6c73da895ca45b759  Pod-Snippets-0.14.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux