2009-12-10 13:00:14 +00:00
|
|
|
#
|
2011-03-04 15:45:05 +00:00
|
|
|
# spec file for package perl-Pod-Simple
|
2009-12-10 13:00:14 +00:00
|
|
|
#
|
2011-03-04 15:45:05 +00:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2009-12-10 13:00:14 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
2011-03-04 15:45:05 +00:00
|
|
|
Name: perl-Pod-Simple
|
|
|
|
Version: 3.15
|
|
|
|
Release: 1
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
%define cpan_name Pod-Simple
|
|
|
|
Summary: Pod::Simple Perl module
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
Url: http://search.cpan.org/dist/Pod-Simple/
|
|
|
|
#Source: http://www.cpan.org/authors/id/D/DW/DWHEELER/Pod-Simple-3.15.tar.gz
|
|
|
|
Source: %{cpan_name}-%{version}.tar.bz2
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2009-12-10 13:00:14 +00:00
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
2011-03-04 15:45:05 +00:00
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
BuildRequires: perl(constant)
|
|
|
|
BuildRequires: perl(Cwd)
|
|
|
|
BuildRequires: perl(File::Basename)
|
|
|
|
BuildRequires: perl(File::Find)
|
|
|
|
BuildRequires: perl(File::Spec)
|
|
|
|
BuildRequires: perl(integer)
|
|
|
|
BuildRequires: perl(overload)
|
2009-12-10 13:00:14 +00:00
|
|
|
BuildRequires: perl(Pod::Escapes) >= 1.04
|
2011-03-04 15:45:05 +00:00
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(Symbol)
|
|
|
|
BuildRequires: perl(Test) >= 1.25
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
BuildRequires: perl(Text::Wrap) >= 98.112902
|
|
|
|
Requires: perl(Carp)
|
|
|
|
Requires: perl(Config)
|
|
|
|
Requires: perl(constant)
|
|
|
|
Requires: perl(Cwd)
|
|
|
|
Requires: perl(File::Basename)
|
|
|
|
Requires: perl(File::Find)
|
|
|
|
Requires: perl(File::Spec)
|
|
|
|
Requires: perl(integer)
|
|
|
|
Requires: perl(overload)
|
|
|
|
Requires: perl(Pod::Escapes) >= 1.04
|
|
|
|
Requires: perl(strict)
|
|
|
|
Requires: perl(Symbol)
|
|
|
|
Requires: perl(Test) >= 1.25
|
|
|
|
Requires: perl(Test::More)
|
|
|
|
Requires: perl(Text::Wrap) >= 98.112902
|
|
|
|
%{perl_requires}
|
2009-12-10 13:00:14 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Pod::Simple is a Perl library for parsing text in the Pod ("plain old
|
|
|
|
documentation") markup language that is typically used for writing
|
2011-03-04 15:45:05 +00:00
|
|
|
documentation for Perl and for Perl modules. The Pod format is explained
|
|
|
|
the perlpod manpage; the most common formatter is called 'perldoc'.
|
2009-12-10 13:00:14 +00:00
|
|
|
|
2011-03-04 15:45:05 +00:00
|
|
|
Pod formatters can use Pod::Simple to parse Pod documents and render them
|
|
|
|
into plain text, HTML, or any number of other formats. Typically, such
|
|
|
|
formatters will be subclasses of Pod::Simple, and so they will inherit its
|
|
|
|
methods, like 'parse_file'.
|
2009-12-10 13:00:14 +00:00
|
|
|
|
2011-03-04 15:45:05 +00:00
|
|
|
If you're reading this document just because you have a Pod-processing
|
|
|
|
subclass that you want to use, this document (plus the documentation for
|
|
|
|
the subclass) is probably all you need to read.
|
2009-12-10 13:00:14 +00:00
|
|
|
|
2011-03-04 15:45:05 +00:00
|
|
|
If you're reading this document because you want to write a formatter
|
|
|
|
subclass, continue reading it and then read the Pod::Simple::Subclassing
|
|
|
|
manpage, and then possibly even read the perlpodspec manpage (some of which
|
|
|
|
is for parser-writers, but much of which is notes to formatter-writers).
|
2009-12-10 13:00:14 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
|
|
|
|
|
|
|
%build
|
2011-03-04 15:45:05 +00:00
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
%{__make} %{?_smp_mflags}
|
2009-12-10 13:00:14 +00:00
|
|
|
|
|
|
|
%check
|
|
|
|
%{__make} test
|
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
%clean
|
2011-03-04 15:45:05 +00:00
|
|
|
%{__rm} -rf %{buildroot}
|
2009-12-10 13:00:14 +00:00
|
|
|
|
|
|
|
%files -f %{name}.files
|
2011-03-04 15:45:05 +00:00
|
|
|
%defattr(644,root,root,755)
|
2009-12-10 13:00:14 +00:00
|
|
|
%doc ChangeLog README
|
|
|
|
|
|
|
|
%changelog
|