forked from pool/perl-Pod-Readme
Compare commits
9 Commits
904d3e1b5f
...
bfc4b25520
Author | SHA256 | Date | |
---|---|---|---|
bfc4b25520 | |||
|
3de8252cb5 | ||
101ed019bc | |||
|
29ae54eabe | ||
|
0dbc72f13f | ||
|
f4a8b8804a | ||
|
8d1d128427 | ||
|
356db983e2 | ||
|
b6be290e6d |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0d747b6ec2fda18c58ca8855f9923f8aad035e0ca7712153e1765f78dbb41ae9
|
||||
size 8022
|
3
Pod-Readme-v1.2.3.tar.gz
Normal file
3
Pod-Readme-v1.2.3.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d379f98976ebe5225d768ccb3a760e9b5673eb3f3d8ae8f57430ed9513f22857
|
||||
size 37001
|
3
cpanspec.yml
Normal file
3
cpanspec.yml
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
post_prep:
|
||||
sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse inc::Module::Install/' Makefile.PL
|
@@ -1,3 +1,74 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 3 07:25:15 UTC 2019 - Stephan Kulow <coolo@suse.com>
|
||||
|
||||
- updated to 1.2.3
|
||||
see /usr/share/doc/packages/perl-Pod-Readme/Changes
|
||||
|
||||
v1.2.3 2018-10-31 22:56:42+00:00 Europe/London
|
||||
[Bug Fixes]
|
||||
- Increased minimum version of Type::Tiny to 1.000000.
|
||||
|
||||
v1.2.2 2018-10-31 22:41:45+00:00 Europe/London
|
||||
[Documentation]
|
||||
- Updated POD with regard to format types (Mohammad S Anwar).
|
||||
|
||||
- Fixed typos in Changes.
|
||||
|
||||
[Bug Fixes]
|
||||
- Added explicit requirements for Pod::Simple as well as recommended
|
||||
modules.
|
||||
|
||||
[Toolchain]
|
||||
- Remove explicit core dependencies from prereqs list.
|
||||
|
||||
- Updated list of contributors in distribution metadata. (Apologies
|
||||
if anyone was omitted.)
|
||||
|
||||
v1.2.1 2018-10-30 18:23:48+00:00 Europe/London
|
||||
[Documentation]
|
||||
- Added note about Github Flavoured Markdown (GFM) support
|
||||
to Changes for v1.2.0.
|
||||
|
||||
[Other]
|
||||
- Restore license to "Perl_5" that was inadvertently changed
|
||||
in the conversion to use Dist::Zilla, GH#25.
|
||||
|
||||
v1.2.0 2018-10-29 19:24:01+00:00 Europe/London
|
||||
[Bug Fixes]
|
||||
- Specify minimum version of List::Util, GH#22.
|
||||
|
||||
[Enhancements]
|
||||
- Added "md" as an alias for "markdown" in pod2readme.
|
||||
|
||||
- Added "github" or "gfm" for Github Flavored Markdown in
|
||||
pod2readme, GH#15.
|
||||
|
||||
[Incompatabilities]
|
||||
- Removed DistZilla type from Pod::Readme::Types, as it was not
|
||||
necessary.
|
||||
|
||||
[Toolchain]
|
||||
- Remove use of Module::Install, fixes GH#21.
|
||||
|
||||
- Use Dist::Zilla to build the distribution.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 3 07:54:57 UTC 2017 - coolo@suse.com
|
||||
|
||||
- patch the Makefile to build with perl 5.26
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 16 05:36:17 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 1.1.2
|
||||
see /usr/share/doc/packages/perl-Pod-Readme/Changes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 14 21:05:29 UTC 2014 - chris@computersalat.de
|
||||
|
||||
- fix for bnc#851647
|
||||
* /usr/bin/pod2readme not executable
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 4 16:05:45 UTC 2011 - chris@computersalat.de
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Pod-Readme
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,91 +12,99 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
|
||||
Name: perl-Pod-Readme
|
||||
Version: 0.11
|
||||
Release: 1
|
||||
License: GPL-1.0+ or Artistic-1.0
|
||||
Version: 1.2.3
|
||||
Release: 0
|
||||
%define cpan_name Pod-Readme
|
||||
Summary: Convert POD to README file
|
||||
Summary: Intelligently generate a README file from POD
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Pod-Readme/
|
||||
#Source: http://www.cpan.org/authors/id/B/BI/BIGPRESH/Pod-Readme-0.11.tar.gz
|
||||
Source: %{cpan_name}-%{version}.tar.gz
|
||||
Url: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/R/RR/RRWO/%{cpan_name}-v%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(File::Copy)
|
||||
BuildRequires: perl(IO::File)
|
||||
%if 0%{?suse_version} >= 1110
|
||||
BuildRequires: perl(Pod::Text) >= 3.0
|
||||
%else
|
||||
BuildRequires: perl(Pod::Text)
|
||||
%endif
|
||||
BuildRequires: perl(Regexp::Common)
|
||||
BuildRequires: perl(Test::More)
|
||||
Requires: perl(Carp)
|
||||
Requires: perl(File::Copy)
|
||||
Requires: perl(IO::File)
|
||||
%if 0%{?suse_version} >= 1110
|
||||
Requires: perl(Pod::Text) >= 3.0
|
||||
%else
|
||||
Requires: perl(Pod::Text)
|
||||
%endif
|
||||
Requires: perl(Regexp::Common)
|
||||
Requires: perl(Test::More)
|
||||
BuildRequires: perl(CPAN::Changes) >= 0.30
|
||||
BuildRequires: perl(CPAN::Meta)
|
||||
BuildRequires: perl(Class::Method::Modifiers)
|
||||
BuildRequires: perl(File::Slurp)
|
||||
BuildRequires: perl(Getopt::Long::Descriptive)
|
||||
BuildRequires: perl(IO::String)
|
||||
BuildRequires: perl(List::Util) >= 1.33
|
||||
BuildRequires: perl(Module::CoreList)
|
||||
BuildRequires: perl(Module::Metadata)
|
||||
BuildRequires: perl(Moo)
|
||||
BuildRequires: perl(Moo::Role)
|
||||
BuildRequires: perl(MooX::HandlesVia)
|
||||
BuildRequires: perl(Path::Tiny)
|
||||
BuildRequires: perl(Pod::Simple)
|
||||
BuildRequires: perl(Pod::Simple::Text)
|
||||
BuildRequires: perl(Role::Tiny)
|
||||
BuildRequires: perl(Test::Deep)
|
||||
BuildRequires: perl(Test::Exception)
|
||||
BuildRequires: perl(Test::Kit)
|
||||
BuildRequires: perl(Try::Tiny)
|
||||
BuildRequires: perl(Type::Tiny) >= 1.000000
|
||||
BuildRequires: perl(Types::Standard)
|
||||
BuildRequires: perl(namespace::autoclean)
|
||||
Requires: perl(CPAN::Changes) >= 0.30
|
||||
Requires: perl(CPAN::Meta)
|
||||
Requires: perl(Class::Method::Modifiers)
|
||||
Requires: perl(File::Slurp)
|
||||
Requires: perl(Getopt::Long::Descriptive)
|
||||
Requires: perl(List::Util) >= 1.33
|
||||
Requires: perl(Module::CoreList)
|
||||
Requires: perl(Moo)
|
||||
Requires: perl(Moo::Role)
|
||||
Requires: perl(MooX::HandlesVia)
|
||||
Requires: perl(Path::Tiny)
|
||||
Requires: perl(Pod::Simple)
|
||||
Requires: perl(Role::Tiny)
|
||||
Requires: perl(Try::Tiny)
|
||||
Requires: perl(Type::Tiny) >= 1.000000
|
||||
Requires: perl(Types::Standard)
|
||||
Requires: perl(namespace::autoclean)
|
||||
Recommends: perl(Pod::Markdown)
|
||||
Recommends: perl(Pod::Markdown::Github)
|
||||
Recommends: perl(Pod::Simple::HTML)
|
||||
Recommends: perl(Pod::Simple::LaTeX)
|
||||
Recommends: perl(Pod::Simple::RTF)
|
||||
Recommends: perl(Pod::Simple::Text)
|
||||
Recommends: perl(Pod::Simple::XHTML)
|
||||
Recommends: perl(Type::Tiny::XS)
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
This module is a subclass of L<Pod::PlainText> which provides additional
|
||||
POD markup for generating F<README> files.
|
||||
|
||||
Why should one bother with this? One can simply use
|
||||
|
||||
pod2text Module.pm > README
|
||||
|
||||
A problem with doing that is that the default L<pod2text> converter will
|
||||
add text to links, so that "LZ<><Module>" is translated to "the Module
|
||||
manpage".
|
||||
|
||||
Another problem is that the F<README> includes the entirety of the module
|
||||
documentation! Most people browsing the F<README> file do not need all of
|
||||
this information.
|
||||
|
||||
Likewise, including installation and requirement information in the module
|
||||
documentation is not necessary either, since the module is already
|
||||
installed.
|
||||
|
||||
This module allows authors to mark portions of the POD to be included only
|
||||
in, or to be excluded from the F<README> file. It also allows you to
|
||||
include portions of another file (such as a separate F<ChangeLog>).
|
||||
This module filters POD to generate a _README_ file, by using POD commands
|
||||
to specify which parts are included or excluded from the _README_ file.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%setup -q -n %{cpan_name}-v%{version}
|
||||
# MANUAL BEGIN
|
||||
sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse inc::Module::Install/' Makefile.PL
|
||||
# MANUAL END
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
make test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
%{__rm} -rf %{buildroot}
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(644,root,root,755)
|
||||
%doc Changes README
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user