File perl-Devel-PartialDump.spec of Package perl-Devel-PartialDump

# vim: set sw=4 ts=4 et nu:
#
# spec file for package perl-Devel-PartialDump
#
# 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-Devel-PartialDump
Version:        0.15
Release:        0
Summary:        Data Dumper optimized for Logging of arbitrary Parameters
License:        Artistic-1.0 or GPL-1.0+
Group:          Development/Libraries/Perl
Source:         http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/Devel-PartialDump-%{version}.tar.gz
Url:            http://search.cpan.org/dist/Devel-PartialDump
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires:  make
BuildRequires:  perl
BuildRequires:  perl-macros
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(Moose)
BuildRequires:  perl(Scalar::Util)
BuildRequires:  perl(Sub::Exporter)
BuildRequires:  perl(Test::Warn) >= 0.21
BuildRequires:  perl(Test::use::ok)
BuildRequires:  perl(namespace::clean) >= 0.20
Requires:       perl(Scalar::Util)
Requires:       perl(namespace::clean) >= 0.20
Requires:       perl(Sub::Exporter)
Requires:       perl(Moose)

%description
This module is a data dumper optimized for logging of arbitrary
parameters.

%prep
%setup -q -n "Devel-PartialDump-%{version}"
%__sed -i '/^auto_install/d' Makefile.PL

%build
%__perl Makefile.PL PREFIX="%{_prefix}"
%__make %{?jobs:-j%{jobs}}

%install
%perl_make_install
%perl_process_packlist

%check
%__make test

%files
%defattr(-,root,root)
%doc Changes
%dir %{perl_vendorlib}/Devel
%{perl_vendorlib}/Devel/PartialDump.pm
%dir %{perl_vendorarch}/auto/Devel
%{perl_vendorarch}/auto/Devel/PartialDump
%doc %{perl_man3dir}/Devel::PartialDump.%{perl_man3ext}%{ext_man}

%changelog
openSUSE Build Service is sponsored by