[perl] Sub-package Pod-Checker and Pod-Usage
by Petr Pisar
commit ddcd2d865fd955aadda80351033cb65442a4ff8a
Author: Petr Písař <ppisar(a)redhat.com>
Date: Tue Feb 5 14:00:36 2013 +0100
Sub-package Pod-Checker and Pod-Usage
perl.spec | 85 +++++++++++++++++++++++++++++++++++++++++++++++++++---------
1 files changed, 72 insertions(+), 13 deletions(-)
---
diff --git a/perl.spec b/perl.spec
index 9797ea5..5c6eeaa 100644
--- a/perl.spec
+++ b/perl.spec
@@ -29,7 +29,7 @@
Name: perl
Version: %{perl_version}
# release number must be even higher, because dual-lived modules will be broken otherwise
-Release: 252%{?dist}
+Release: 253%{?dist}
Epoch: %{perl_epoch}
Summary: Practical Extraction and Report Language
Group: Development/Languages
@@ -1053,6 +1053,20 @@ provided in Module::Build and ExtUtils::CBuilder (thus, Microsoft operating
systems are given the type 'Windows' rather than 'Win32').
%endif
+%if %{dual_life} || %{rebuild_from_scratch}
+%package Pod-Checker
+Summary: Check POD documents for syntax errors
+License: GPL+ or Artistic
+Group: Development/Libraries
+Requires: %perl_compat
+$version))
+BuildArch: noarch
+
+%description Pod-Checker
+Module and tools to verify POD documentation contents for compliance with the
+Plain Old Documentation format specifications.
+%endif
+
%package Pod-Escapes
Summary: Perl module for resolving POD escape sequences
Group: Development/Libraries
@@ -1089,8 +1103,6 @@ License: GPL+ or Artistic
Epoch: 0
Version: 1.51
Requires: %perl_compat
-# Pod::Usage executes perldoc from perl-Pod-Perldoc by default
-Requires: perl-Pod-Perldoc
BuildArch: noarch
%description Pod-Parser
@@ -1134,6 +1146,29 @@ documentation") markup language that is typically used for writing
documentation for Perl and for Perl modules.
%if %{dual_life} || %{rebuild_from_scratch}
+%package Pod-Usage
+Summary: Print a usage message from embedded pod documentation
+License: GPL+ or Artistic
+Group: Development/Libraries
+# Pod::Usage execute perldoc from perl-Pod-Perldoc by default
+BuildRequires: perl-Pod-Perldoc
+Requires: %perl_compat
+# Pod::Usage executes perldoc from perl-Pod-Perldoc by default
+Requires: perl-Pod-Perldoc
+Requires: perl(Pod::Text)
+BuildArch: noarch
+
+%description Pod-Usage
+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.
+%endif
+
+%if %{dual_life} || %{rebuild_from_scratch}
%package podlators
Summary: Format POD source into various output formats
Group: Development/Libraries
@@ -1410,8 +1445,9 @@ Requires: perl-Module-CoreList, perl-Module-Load
Requires: perl-Module-Load-Conditional, perl-Module-Loaded, perl-Module-Metadata
Requires: perl-Module-Pluggable, perl-Object-Accessor, perl-Package-Constants, perl-PathTools
Requires: perl-Params-Check, perl-Parse-CPAN-Meta, perl-Perl-OSType
-Requires: perl-Pod-Escapes, perl-Pod-LaTeX, perl-Pod-Parser,
-Requires: perl-Pod-Perldoc, perl-podlators, perl-Pod-Simple
+Requires: perl-Pod-Checker, perl-Pod-Escapes, perl-Pod-LaTeX
+Requires: perl-Pod-Parser, perl-Pod-Perldoc, perl-Pod-Usage
+Requires: perl-podlators, perl-Pod-Simple
Requires: perl-Socket, perl-Term-UI, perl-Test-Harness, perl-Test-Simple
Requires: perl-Text-Soundex, perl-Time-Piece, perl-Version-Requirements,
Requires: perl-version, perl-threads, perl-threads-shared, perl-parent
@@ -2104,6 +2140,12 @@ sed \
%exclude %{privlib}/parent.pm
%exclude %{_mandir}/man3/parent.3*
+# Pod-Checker
+%exclude %{_bindir}/podchecker
+%exclude %{privlib}/Pod/Checker.pm
+%exclude %{_mandir}/man1/podchecker.*
+%exclude %{_mandir}/man3/Pod::Checker.*
+
# Pod-Escapes
%exclude %{privlib}/Pod/Escapes.pm
%exclude %{_mandir}/man3/Pod::Escapes.*
@@ -2115,28 +2157,20 @@ sed \
%exclude %{_mandir}/man3/Pod::LaTeX.*
# Pod-Parser
-%exclude %{_bindir}/pod2usage
-%exclude %{_bindir}/podchecker
%exclude %{_bindir}/podselect
-%exclude %{privlib}/Pod/Checker.pm
%exclude %{privlib}/Pod/Find.pm
%exclude %{privlib}/Pod/InputObjects.pm
%exclude %{privlib}/Pod/ParseUtils.pm
%exclude %{privlib}/Pod/Parser.pm
%exclude %{privlib}/Pod/PlainText.pm
%exclude %{privlib}/Pod/Select.pm
-%exclude %{privlib}/Pod/Usage.pm
-%exclude %{_mandir}/man1/pod2usage.1*
-%exclude %{_mandir}/man1/podchecker.1*
%exclude %{_mandir}/man1/podselect.1*
-%exclude %{_mandir}/man3/Pod::Checker.*
%exclude %{_mandir}/man3/Pod::Find.*
%exclude %{_mandir}/man3/Pod::InputObjects.*
%exclude %{_mandir}/man3/Pod::ParseUtils.*
%exclude %{_mandir}/man3/Pod::Parser.*
%exclude %{_mandir}/man3/Pod::PlainText.*
%exclude %{_mandir}/man3/Pod::Select.*
-%exclude %{_mandir}/man3/Pod::Usage.*
# Pod-Perldoc
%exclude %{_bindir}/perldoc
@@ -2146,6 +2180,12 @@ sed \
%exclude %{_mandir}/man1/perldoc.1*
%exclude %{_mandir}/man3/Pod::Perldoc*
+# Pod-Usage
+%exclude %{_bindir}/pod2usage
+%exclude %{privlib}/Pod/Usage.pm
+%exclude %{_mandir}/man1/pod2usage.*
+%exclude %{_mandir}/man3/Pod::Usage.*
+
# podlators
%exclude %{_bindir}/pod2man
%exclude %{_bindir}/pod2text
@@ -2677,6 +2717,14 @@ sed \
%{_mandir}/man3/Perl::OSType.3pm*
%endif
+%if %{dual_life} || %{rebuild_from_scratch}
+%files Pod-Checker
+%{_bindir}/podchecker
+%{privlib}/Pod/Checker.pm
+%{_mandir}/man1/podchecker.*
+%{_mandir}/man3/Pod::Checker.*
+%endif
+
%files Pod-Escapes
%{privlib}/Pod/Escapes.pm
%{_mandir}/man3/Pod::Escapes.*
@@ -2724,6 +2772,14 @@ sed \
%endif
%if %{dual_life} || %{rebuild_from_scratch}
+%files Pod-Usage
+%{_bindir}/pod2usage
+%{privlib}/Pod/Usage.pm
+%{_mandir}/man1/pod2usage.*
+%{_mandir}/man3/Pod::Usage.*
+%endif
+
+%if %{dual_life} || %{rebuild_from_scratch}
%files podlators
%{_bindir}/pod2man
%{_bindir}/pod2text
@@ -2842,6 +2898,9 @@ sed \
# Old changelog entries are preserved in CVS.
%changelog
+* Tue Feb 05 2013 Petr Pisar <ppisar(a)redhat.com> - 4:5.16.2-253
+- Sub-package Pod-Checker and Pod-Usage (bugs #907546, #907550)
+
* Mon Feb 04 2013 Petr Pisar <ppisar(a)redhat.com> - 4:5.16.2-252
- Remove bundled PathTools
11 years, 4 months
[perl-Log-Contextual] Initial import
by Jitka Plesnikova
commit b21200335bf9d8123a18fd2571aa2233cb1b6664
Author: Jitka Plesnikova <jplesnik(a)redhat.com>
Date: Wed Feb 6 15:18:02 2013 +0100
Initial import
.gitignore | 1 +
perl-Log-Contextual.spec | 63 ++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 65 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..c911494 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Log-Contextual-0.004300.tar.gz
diff --git a/perl-Log-Contextual.spec b/perl-Log-Contextual.spec
new file mode 100644
index 0000000..074355c
--- /dev/null
+++ b/perl-Log-Contextual.spec
@@ -0,0 +1,63 @@
+Name: perl-Log-Contextual
+Version: 0.004300
+Release: 1%{?dist}
+Summary: Simple logging interface with a contextual log
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/Log-Contextual/
+Source0: http://www.cpan.org/authors/id/F/FR/FREW/Log-Contextual-%{version}.tar.gz
+BuildArch: noarch
+BuildRequires: perl(inc::Module::Install) >= 0.91
+BuildRequires: perl(base)
+BuildRequires: perl(Carp)
+BuildRequires: perl(Data::Dumper::Concise)
+BuildRequires: perl(Exporter::Declare) >= 0.105
+BuildRequires: perl(Exporter::Declare::Export::Generator)
+BuildRequires: perl(File::Temp)
+BuildRequires: perl(lib)
+BuildRequires: perl(Log::Log4perl) >= 1.29
+BuildRequires: perl(Scalar::Util)
+BuildRequires: perl(Test::More)
+Requires: perl(Exporter::Declare) >= 0.105
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+
+# Filter under-specified depenedencies
+%global __requires_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(Exporter::Declare\\)\\s*$
+
+%description
+This module is a simple interface to extensible logging. It is bundled with
+a really basic logger, Log::Contextual::SimpleLogger, but in general you
+should use a real logger instead of that. For something more serious but
+not overly complicated, try Log::Dispatchouli.
+
+%prep
+%setup -q -n Log-Contextual-%{version}
+rm -r inc
+sed -i -e '/^inc\// d' MANIFEST
+find -type f -exec chmod -x {} +
+
+%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
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Wed Jan 30 2013 Jitka Plesnikova <jplesnik(a)redhat.com> - 0.004300-1
+- 0.004300 bump
+- Update BRs.
+- Replace PERL_INSTALL_ROOT with DESTDIR.
+
+* Tue Jul 24 2012 Jitka Plesnikova <jplesnik(a)redhat.com> - 0.004201-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..6f01ef0 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+f31d346eec8f45d1de2289ae48ffeed2 Log-Contextual-0.004300.tar.gz
11 years, 4 months
[perl-Pod-Checker] Import
by Petr Pisar
commit 9e06f7b2293131bd63202803f13f4a2e617d628c
Author: Petr Písař <ppisar(a)redhat.com>
Date: Wed Feb 6 15:23:19 2013 +0100
Import
.gitignore | 1 +
perl-Pod-Checker.spec | 61 +++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 63 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..51978b4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Pod-Checker-1.60.tar.gz
diff --git a/perl-Pod-Checker.spec b/perl-Pod-Checker.spec
new file mode 100644
index 0000000..06b56d6
--- /dev/null
+++ b/perl-Pod-Checker.spec
@@ -0,0 +1,61 @@
+Name: perl-Pod-Checker
+Version: 1.60
+Release: 1%{?dist}
+Summary: Check POD documents for syntax errors
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/Pod-Checker/
+Source0: http://www.cpan.org/authors/id/M/MA/MAREKR/Pod-Checker-%{version}.tar.gz
+BuildArch: noarch
+BuildRequires: perl
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(File::Spec)
+# Run-time:
+BuildRequires: perl(Carp)
+BuildRequires: perl(Exporter)
+BuildRequires: perl(Pod::Parser) >= 1.60
+BuildRequires: perl(Pod::ParseUtils)
+BuildRequires: perl(strict)
+BuildRequires: perl(vars)
+# Tests:
+BuildRequires: perl(File::Basename)
+BuildRequires: perl(FileHandle)
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires: perl(Pod::Parser) >= 1.60
+
+# Filter under-specified dependencies
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Pod::Parser\\)$
+
+%description
+Module and tools to verify POD documentation contents for compliance with the
+Plain Old Documentation format specifications.
+
+%prep
+%setup -q -n Pod-Checker-%{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
+* Mon Feb 04 2013 Petr Pisar <ppisar(a)redhat.com> 1.60-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..194b251 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+02373b7bdfb1d8f5f756271edc6aef17 Pod-Checker-1.60.tar.gz
11 years, 4 months
[perl-Text-ExtractWords: 9/9] Upload the sources
by Mathieu Bridon
commit 38b9cb87780721c574607a99949adac9465e03a0
Author: Mathieu Bridon <bochecha(a)fedoraproject.org>
Date: Wed Feb 6 13:24:50 2013 +0800
Upload the sources
.gitignore | 1 +
sources | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..15d1ca7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Text-ExtractWords-0.08.tar.gz
diff --git a/sources b/sources
index e69de29..55b3f5d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+cb00bfc462018864fac1d2afcdad1e05 Text-ExtractWords-0.08.tar.gz
11 years, 4 months
[perl-Text-ExtractWords: 8/9] The package was approved in Fedora
by Mathieu Bridon
commit b0b7480770b2cdc791112812f5ebb60c3520f95b
Merge: 3199a06 0e67ebf
Author: Mathieu Bridon <bochecha(a)fedoraproject.org>
Date: Wed Feb 6 13:23:57 2013 +0800
The package was approved in Fedora
perl-Text-ExtractWords.spec | 62 +++++++++++++++++++++++++++++++++++++++++++
1 files changed, 62 insertions(+), 0 deletions(-)
---
11 years, 4 months
[perl-Text-ExtractWords: 7/9] New submission for Fedora
by Mathieu Bridon
commit 0e67ebf72a8ffab3258412e74891f770efc893de
Author: Mathieu Bridon <bochecha(a)fedoraproject.org>
Date: Tue Feb 5 11:59:29 2013 +0800
New submission for Fedora
This was submitted on Tue Feb 05 2013:
https://bugzilla.redhat.com/show_bug.cgi?id=907309#c2
perl-Text-ExtractWords.spec | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/perl-Text-ExtractWords.spec b/perl-Text-ExtractWords.spec
index 6295bad..9f8ed2e 100644
--- a/perl-Text-ExtractWords.spec
+++ b/perl-Text-ExtractWords.spec
@@ -1,7 +1,7 @@
Name: perl-Text-ExtractWords
Summary: Perl extension to extract words from strings
Version: 0.08
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Text-ExtractWords/
Source0: http://www.cpan.org/authors/id/H/HD/HDIAS/Text-ExtractWords-%{version}.ta...
@@ -52,6 +52,7 @@ make test
%changelog
+* Tue Feb 05 2013 Mathieu Bridon <bochecha(a)fedoraproejct.org> - 0.08-2
- Replace usage of the %%{_perl} macro by the plain perl command.
- Use DESTDIR instead of PERL_INSTALL_ROOT.
- Tweak the Summary and %%description.
11 years, 4 months
[perl-Text-ExtractWords: 6/9] Drop unneeded BR on the 'vars' pragma
by Mathieu Bridon
commit dc44304102a9d632e663524ee2a676910fbe5302
Author: Mathieu Bridon <bochecha(a)fedoraproject.org>
Date: Tue Feb 5 11:51:30 2013 +0800
Drop unneeded BR on the 'vars' pragma
perl-Text-ExtractWords.spec | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/perl-Text-ExtractWords.spec b/perl-Text-ExtractWords.spec
index 8191748..6295bad 100644
--- a/perl-Text-ExtractWords.spec
+++ b/perl-Text-ExtractWords.spec
@@ -10,7 +10,6 @@ BuildRequires: perl(AutoLoader)
BuildRequires: perl(DynaLoader)
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker)
-BuildRequires: perl(vars)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
@@ -56,6 +55,7 @@ make test
- Replace usage of the %%{_perl} macro by the plain perl command.
- Use DESTDIR instead of PERL_INSTALL_ROOT.
- Tweak the Summary and %%description.
+- Drop unneeded BR on the 'vars' pragma.
* Mon Feb 04 2013 Mathieu Bridon <bochecha(a)fedoraproject.org> - 0.08-1
- Initial package for Fedora, with help from cpanspec.
11 years, 4 months