2007-01-15 23:30:06 +00:00
|
|
|
#
|
2011-06-23 08:10:56 +00:00
|
|
|
# spec file for package perl-Config-IniFiles
|
2007-01-15 23:30:06 +00:00
|
|
|
#
|
2018-03-19 10:24:58 +00:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2007-01-15 23:30:06 +00:00
|
|
|
#
|
2009-01-22 15:51:58 +00:00
|
|
|
# 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.
|
|
|
|
|
2018-09-20 07:19:57 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-15 23:30:06 +00:00
|
|
|
#
|
|
|
|
|
2010-08-02 01:29:15 +00:00
|
|
|
|
2009-01-22 15:51:58 +00:00
|
|
|
Name: perl-Config-IniFiles
|
2018-09-20 07:19:57 +00:00
|
|
|
Version: 3.000000
|
2013-06-05 07:48:48 +00:00
|
|
|
Release: 0
|
2010-08-02 01:29:17 +00:00
|
|
|
%define cpan_name Config-IniFiles
|
2015-04-17 04:51:15 +00:00
|
|
|
Summary: Module for Reading .Ini-Style Configuration Files
|
2018-03-19 10:24:58 +00:00
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
2010-08-02 01:29:17 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2018-09-20 07:20:41 +00:00
|
|
|
Url: https://metacpan.org/release/%{cpan_name}
|
2018-03-19 10:24:58 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/%{cpan_name}-%{version}.tar.gz
|
2015-04-17 04:51:15 +00:00
|
|
|
Source1: cpanspec.yml
|
2010-08-02 01:29:17 +00:00
|
|
|
BuildArch: noarch
|
2010-08-02 01:29:15 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-08-02 01:29:17 +00:00
|
|
|
BuildRequires: perl
|
2012-05-30 13:57:38 +00:00
|
|
|
BuildRequires: perl-macros
|
2016-06-12 14:05:58 +00:00
|
|
|
BuildRequires: perl(IO::Scalar)
|
2015-06-19 05:15:29 +00:00
|
|
|
BuildRequires: perl(List::Util) >= 1.33
|
2016-06-12 14:05:58 +00:00
|
|
|
BuildRequires: perl(Module::Build) >= 0.280000
|
2018-04-23 07:47:26 +00:00
|
|
|
BuildRequires: perl(Test::More) >= 0.88
|
2018-03-19 10:24:58 +00:00
|
|
|
BuildRequires: perl(parent)
|
2016-06-12 14:05:58 +00:00
|
|
|
Requires: perl(IO::Scalar)
|
2015-06-19 05:15:29 +00:00
|
|
|
Requires: perl(List::Util) >= 1.33
|
2010-12-10 11:08:27 +00:00
|
|
|
%{perl_requires}
|
2007-01-15 23:30:06 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Config::IniFiles provides a way to have readable configuration files
|
2010-08-02 01:29:17 +00:00
|
|
|
outside your Perl script. Configurations can be imported (inherited,
|
|
|
|
stacked,...), sections can be grouped, and settings can be accessed from a
|
|
|
|
tied hash.
|
2007-01-15 23:30:06 +00:00
|
|
|
|
|
|
|
%prep
|
2013-06-05 07:48:48 +00:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2007-01-15 23:30:06 +00:00
|
|
|
|
|
|
|
%build
|
2010-08-02 01:29:17 +00:00
|
|
|
%{__perl} Build.PL installdirs=vendor
|
2013-06-05 07:48:48 +00:00
|
|
|
./Build build flags=%{?_smp_mflags}
|
2010-08-02 01:29:15 +00:00
|
|
|
|
2009-01-22 15:51:58 +00:00
|
|
|
%check
|
2010-08-02 01:29:17 +00:00
|
|
|
./Build test
|
2007-01-15 23:30:06 +00:00
|
|
|
|
|
|
|
%install
|
2013-06-05 07:48:48 +00:00
|
|
|
./Build install destdir=%{buildroot} create_packlist=0
|
2010-08-02 01:29:17 +00:00
|
|
|
%perl_gen_filelist
|
2007-01-15 23:30:06 +00:00
|
|
|
|
2010-08-02 01:29:17 +00:00
|
|
|
%files -f %{name}.files
|
2013-06-05 07:48:48 +00:00
|
|
|
%defattr(-,root,root,755)
|
2018-03-19 10:24:58 +00:00
|
|
|
%doc Changes OLD-Changes.txt README scripts
|
|
|
|
%license LICENSE
|
2007-01-15 23:30:06 +00:00
|
|
|
|
2009-01-22 15:51:58 +00:00
|
|
|
%changelog
|