# # spec file for package perl-Config-Model-Tester # # Copyright (c) 2014 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-Config-Model-Tester Version: 2.047 Release: 0 %define cpan_name Config-Model-Tester Summary: Test framework for Config::Model License: LGPL-2.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Config-Model-Tester/ #Source: http://www.cpan.org/authors/id/D/DD/DDUMONT/Config-Model-Tester-%%{version}.tar.gz Source0: %{cpan_name}-%{version}.tar.gz BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(File::Copy) BuildRequires: perl(File::Copy::Recursive) BuildRequires: perl(File::Find) BuildRequires: perl(File::Path) BuildRequires: perl(File::Spec) BuildRequires: perl(Log::Log4perl) >= 1.11 BuildRequires: perl(Module::Build) BuildRequires: perl(Path::Class) >= 0.29 BuildRequires: perl(Test::Differences) BuildRequires: perl(Test::Exception) BuildRequires: perl(Test::File::Contents) BuildRequires: perl(Test::Memory::Cycle) BuildRequires: perl(Test::Warn) Requires: perl(File::Copy) Requires: perl(File::Copy::Recursive) Requires: perl(File::Find) Requires: perl(File::Path) Requires: perl(File::Spec) Requires: perl(Log::Log4perl) >= 1.11 Requires: perl(Path::Class) >= 0.29 Requires: perl(Test::Differences) Requires: perl(Test::Exception) Requires: perl(Test::File::Contents) Requires: perl(Test::Memory::Cycle) Requires: perl(Test::Warn) BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %{perl_requires} %description This class provides a way to test configuration models with tests files. This class was designed to tests several models and several tests cases per model. %prep %setup -q -n %{cpan_name}-%{version} %build %{__perl} Build.PL installdirs=vendor ./Build build flags=%{?_smp_mflags} %check ./Build test %install ./Build install destdir=%{buildroot} create_packlist=0 %perl_gen_filelist %clean %{__rm} -rf %{buildroot} %files -f %{name}.files %defattr(-,root,root) %doc Changes LICENSE weaver.ini %changelog