[perl-Pod-Usage] Import

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

 



commit fb1fd3cb4e12bcc423a4c3505cada625a391c258
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Tue Feb 5 15:40:47 2013 +0100

    Import

 .gitignore          |    1 +
 perl-Pod-Usage.spec |   73 +++++++++++++++++++++++++++++++++++++++++++++++++++
 sources             |    1 +
 3 files changed, 75 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..adbaa38 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Pod-Usage-1.60.tar.gz
diff --git a/perl-Pod-Usage.spec b/perl-Pod-Usage.spec
new file mode 100644
index 0000000..b32df1d
--- /dev/null
+++ b/perl-Pod-Usage.spec
@@ -0,0 +1,73 @@
+Name:           perl-Pod-Usage
+Version:        1.60
+Release:        1%{?dist}
+Summary:        Print a usage message from embedded pod documentation
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Pod-Usage/
+Source0:        http://www.cpan.org/authors/id/M/MA/MAREKR/Pod-Usage-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(File::Spec)
+# Run-time:
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Config)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(Pod::Select)
+# Pod::Usage executes perldoc from perl-Pod-Perldoc by default
+BuildRequires:  perl-Pod-Perldoc
+BuildRequires:  perl(Pod::Text)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+# Tests:
+BuildRequires:  perl(Cwd)
+BuildRequires:  perl(File::Basename)
+BuildRequires:  perl(FileHandle)
+BuildRequires:  perl(Test::More)
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+# Pod::Usage executes perldoc from perl-Pod-Perldoc by default
+Requires:       perl-Pod-Perldoc
+Requires:       perl(Pod::Text)
+
+%description
+pod2usage will print a usage message for the invoking script (using its
+embedded POD documentation) and then exit the script with the desired exit
+status. The usage message printed may have any one of three levels of
+"verboseness": If the verbose level is 0, then only a synopsis is printed.
+If the verbose level is 1, then the synopsis is printed along with a
+description (if present) of the command line options and arguments. If the
+verbose level is 2, then the entire manual page is printed.
+
+%prep
+%setup -q -n Pod-Usage-%{version}
+find -type f -exec chmod a-x {} +
+for F in CHANGES README; do
+    sed -i -e 's/\r//' "$F"
+done
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=$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
+# pod2usage.t fails currently, CPAN RT #83111
+rm -f t/pod/pod2usage.t
+make test
+
+%files
+%doc CHANGES README
+%{_bindir}/*
+%{perl_vendorlib}/*
+%{_mandir}/man1/*
+%{_mandir}/man3/*
+
+%changelog
+* Mon Feb 04 2013 Petr Pisar <ppisar@xxxxxxxxxx> 1.60-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..30b564d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+71b2e69a2334d6fbedc835eea0d9b1e1  Pod-Usage-1.60.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