Files
perl-Pod-Simple/perl-Pod-Simple.spec

108 lines
3.6 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-Pod-Simple
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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/
#
Name: perl-Pod-Simple
Version: 3.23
Release: 0
%define cpan_name Pod-Simple
Summary: Pod::Simple Perl module
License: GPL-1.0+ or Artistic-1.0
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.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Carp)
BuildRequires: perl(Config)
BuildRequires: perl(Cwd)
BuildRequires: perl(File::Basename)
BuildRequires: perl(File::Find)
BuildRequires: perl(File::Spec)
BuildRequires: perl(Pod::Escapes) >= 1.04
BuildRequires: perl(Symbol)
BuildRequires: perl(Test) >= 1.25
BuildRequires: perl(Test::More)
BuildRequires: perl(Text::Wrap) >= 98.112902
BuildRequires: perl(constant)
BuildRequires: perl(integer)
BuildRequires: perl(overload)
BuildRequires: perl(strict)
Requires: perl(Carp)
Requires: perl(Config)
Requires: perl(Cwd)
Requires: perl(File::Basename)
Requires: perl(File::Find)
Requires: perl(File::Spec)
Requires: perl(Pod::Escapes) >= 1.04
Requires: perl(Symbol)
Requires: perl(Test) >= 1.25
Requires: perl(Test::More)
Requires: perl(Text::Wrap) >= 98.112902
Requires: perl(constant)
Requires: perl(integer)
Requires: perl(overload)
Requires: perl(strict)
%{perl_requires}
%description
Pod::Simple is a Perl library for parsing text in the Pod ("plain old
documentation") markup language that is typically used for writing
documentation for Perl and for Perl modules. The Pod format is explained
the perlpod manpage; the most common formatter is called 'perldoc'.
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'.
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.
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).
%prep
%setup -q -n %{cpan_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
%{__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 ChangeLog README
%changelog