File perl-Config-Simple.spec of Package perl-Config-Simple

# spec file for package perl-Config-Simple (Version 4.59)
# Copyright (c) 2010 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

# norootforbuild

Name:           perl-Config-Simple
%define         cpan_name %( %{__sed} -e 's,perl-,,' <<< %{name} )
Summary:        Simple configuration file class
Group:          Development/Libraries/Perl
License:        Artistic
Version:        4.59
Release:        2
Source:         %{cpan_name}-%{version}.tar.bz2
Requires:       perl(AutoLoader)
BuildRequires:  perl
BuildRequires:  perl-macros
BuildRequires:  perl-macros
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Reading and writing configuration files is one of the most frequent tasks of
any software design. Config::Simple is the library that helps you with it.

Config::Simple is a class representing configuration file object. It supports
several configuration file syntax and tries to identify the file syntax
automatically. Library supports parsing, updating and creating configuration

    Sherzod B. Ruzmetov

%setup -q -n %{cpan_name}-%{version}
# rpmlint: executable-docs, script-without-shebang
chmod 644 Changes README

%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}

%{__make} test


%{__rm} -rf $RPM_BUILD_ROOT

%doc Changes README
%dir %perl_vendorlib/Config
%dir %{perl_vendorlib}/auto/Config
%dir %{perl_vendorlib}/auto/Config/Simple
%dir %{perl_vendorarch}/auto/Config
%dir %{perl_vendorarch}/auto/Config/Simple

openSUSE Build Service is sponsored by