# # spec file for package perl-Config-Simple # # norootforbuild Name: perl-Config-Simple %define cpan_name %( %{__sed} -e 's,perl-,,' <<< %{name} ) Summary: Simple configuration file class Url: http://search.cpan.org/perldoc?Config::Simple Group: Development/Libraries/Perl License: Artistic License Version: 4.59 Release: 1 Source: %{cpan_name}-%{version}.tar.bz2 BuildRequires: perl-macros Requires: perl = %{perl_version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %description 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 files. Author: ------- Sherzod B. Ruzmetov %prep %setup -n %{cpan_name}-%{version} %build perl Makefile.PL make %{?jobs:-j%jobs} %check make test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %clean rm -rf %{buildroot} %files -f %{name}.files %defattr(-, root, root) %doc Changes README MANIFEST %changelog