File perl-PPI.spec of Package perl-PPI

#
# spec file for package perl-PPI
#
# Copyright (c) 2011 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-PPI
%define cpan_name PPI
Summary:        Parse, Analyze and Manipulate Perl (without perl)
Url:            http://search.cpan.org/dist/PPI/
Version:        1.215
Release:        1
License:        GPL-1.0+ or Artistic-1.0
Group:          Development/Libraries/Perl
#Source:         http://www.cpan.org/authors/id/A/AD/ADAMK/PPI-%{version}.tar.gz
Source:         %{cpan_name}-%{version}.tar.gz
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  perl
BuildRequires:  perl-macros
BuildRequires:  perl(Class::Inspector) >= 1.22
BuildRequires:  perl(Clone) >= 0.30
BuildRequires:  perl(Digest::MD5) >= 2.35
BuildRequires:  perl(File::Remove) >= 1.42
BuildRequires:  perl(File::Spec) >= 0.84
BuildRequires:  perl(IO::String) >= 1.07
BuildRequires:  perl(List::MoreUtils) >= 0.16
BuildRequires:  perl(List::Util) >= 1.20
BuildRequires:  perl(Params::Util) >= 1.00
BuildRequires:  perl(Task::Weaken)
BuildRequires:  perl(Test::NoWarnings) >= 0.084
BuildRequires:  perl(Test::Object) >= 0.07
BuildRequires:  perl(Test::SubCalls) >= 1.07
Requires:       perl(Clone) >= 0.30
Requires:       perl(Digest::MD5) >= 2.35
Requires:       perl(File::Spec) >= 0.84
Requires:       perl(IO::String) >= 1.07
Requires:       perl(List::MoreUtils) >= 0.16
Requires:       perl(List::Util) >= 1.20
Requires:       perl(Params::Util) >= 1.00
Requires:       perl(Task::Weaken)
%{perl_requires}

%description
This is the PPI manual. It describes its reason for existing, its
general structure, its use, an overview of the API, and provides a few
implementation samples.

%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 Changes inline2test.conf inline2test.tpl LICENSE README

%changelog
openSUSE Build Service is sponsored by