2009-12-10 13:00:14 +00:00
|
|
|
#
|
2009-12-10 13:49:14 +00:00
|
|
|
# spec file for package perl-Pod-Simple (Version 3.11)
|
2009-12-10 13:00:14 +00:00
|
|
|
#
|
|
|
|
# Copyright (c) 2009 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
#Distribution: %dist
|
|
|
|
#Packager: %packager
|
|
|
|
#Vendor: %vendor
|
|
|
|
|
|
|
|
Name: perl-Pod-Simple
|
|
|
|
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
|
|
|
Summary: Framework for parsing Pod
|
2009-12-10 13:49:14 +00:00
|
|
|
Version: 3.11
|
2009-12-10 13:00:14 +00:00
|
|
|
Release: 1
|
|
|
|
License: Artistic License
|
|
|
|
Group: Development/Languages/Perl
|
|
|
|
Url: http://search.cpan.org/perldoc?Pod::Simple
|
2009-12-10 13:49:14 +00:00
|
|
|
Source: %{cpan_name}-%{version}.tar.bz2
|
2009-12-10 13:00:14 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-12-03 14:48:08 +00:00
|
|
|
%{perl_requires}
|
2009-12-10 13:00:14 +00:00
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
|
|
|
BuildRequires: perl(Text::Wrap) >= 98.112902
|
|
|
|
BuildRequires: perl(Pod::Escapes) >= 1.04
|
|
|
|
Requires: perl(Text::Wrap) >= 98.112902
|
|
|
|
Requires: perl(Pod::Escapes) >= 1.04
|
|
|
|
|
|
|
|
%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 in the
|
|
|
|
perlpod man page; the most common formatter is called "perldoc".
|
|
|
|
|
|
|
|
Pod formatters can use Pod::Simple to parse Pod documents into produce
|
|
|
|
renderings of them in plain ASCII, in HTML, or in any number of other formats.
|
|
|
|
Typically, such formatters will be subclasses of Pod::Simple, and so they will
|
|
|
|
inherit its methods, like parse_file.
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Sean M. Burke <sburke at cpan dot org>
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
|
|
|
|
%{__make}
|
|
|
|
|
|
|
|
%check
|
|
|
|
%{__make} test
|
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
%clean
|
|
|
|
%{__rm} -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
|
|
|
# normally you only need to check for doc files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc ChangeLog README
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|