diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..991cd3f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/Pod-Usage-1.63.tar.gz diff --git a/.perl-Pod-Usage.metadata b/.perl-Pod-Usage.metadata new file mode 100644 index 0000000..29c32ac --- /dev/null +++ b/.perl-Pod-Usage.metadata @@ -0,0 +1 @@ +0b8061cd2ef21b8abfd4f6f2da6879268ebec2f8 SOURCES/Pod-Usage-1.63.tar.gz diff --git a/SPECS/perl-Pod-Usage.spec b/SPECS/perl-Pod-Usage.spec new file mode 100644 index 0000000..759a912 --- /dev/null +++ b/SPECS/perl-Pod-Usage.spec @@ -0,0 +1,92 @@ +Name: perl-Pod-Usage +Version: 1.63 +Release: 3%{?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 +# scripts/pod2usage.PL uses Cwd +BuildRequires: perl(Cwd) +BuildRequires: perl(ExtUtils::MakeMaker) +# scripts/pod2usage.PL uses File::Basename +BuildRequires: perl(File::Basename) +BuildRequires: perl(File::Spec) >= 0.82 +BuildRequires: perl(strict) +# Run-time: +BuildRequires: perl(Carp) +BuildRequires: perl(Config) +BuildRequires: perl(Exporter) +# Getopt::Long not used, scripts/pod2usage not called +# Pod::Usage executes perldoc from perl-Pod-Perldoc by default +BuildRequires: perl-Pod-Perldoc +BuildRequires: perl(Pod::Text) >= 3.15 +BuildRequires: perl(vars) +# Tests: +BuildRequires: perl(FileHandle) +BuildRequires: perl(Pod::PlainText) +BuildRequires: perl(Test::More) >= 0.6 +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(File::Spec) >= 0.82 +# Pod::Usage executes perldoc from perl-Pod-Perldoc by default +Requires: perl-Pod-Perldoc +Requires: perl(Pod::Text) >= 3.15 + +# Remove under-specified dependencies +%global __requires_exclude %{?__requires_exclude|%__requires_exclude|}^perl\\(File::Spec\\)$ + +%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 {} \; +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc CHANGES README +%{_bindir}/* +%{perl_vendorlib}/* +%{_mandir}/man1/* +%{_mandir}/man3/* + +%changelog +* Fri Dec 27 2013 Daniel Mach - 1.63-3 +- Mass rebuild 2013-12-27 + +* Tue Jun 25 2013 Petr Pisar - 1.63-2 +- Correct dependencies + +* Tue Jun 04 2013 Petr Pisar - 1.63-1 +- 1.63 bump + +* Tue May 21 2013 Petr Pisar - 1.62-1 +- 1.62 bump + +* Wed Feb 06 2013 Petr Pisar - 1.61-1 +- 1.61 bump + +* Mon Feb 04 2013 Petr Pisar 1.60-1 +- Specfile autogenerated by cpanspec 1.78.