%global pkg_name Config-Tiny %global pkg_version 2.12 %global rpm_pkg_version 2.12 %global rpm_pkg_release 1.n0i.9 Summary: Read/Write .ini style files Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: Artistic 2.0 URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: rpm-build-reb00t-perl %description Config::Tiny is a perl class to read and write .ini style configuration files with as little code as possible, reducing load time and memory overhead. Most of the time it is accepted that Perl applications use a lot of memory and modules. The "::Tiny" family of modules is specifically intended to provide an ultralight alternative to the standard modules. This module is primarily for reading human written files, and anything we write shouldn't need to have documentation/comments. If you need something with more power move up to Config::Simple, Config::General or one of the many other "Config::" modules. To rephrase, Config::Tiny does not preserve your comments, whitespace, or the order of your config file. %prep %setup -q -n %{pkg_name}-%{pkg_version} %build %{perl_build} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files} %doc Changes LICENSE README %changelog * Sat Nov 03 2007 Marius Feraru - 2.12-1.n0i.9 - version 2.12 * Tue May 22 2007 Marius Feraru - 2.10-1.n0i.8 - spec file (re)created using N0i::CPAN::RPMizer 2.004 - version 2.10 * Sat Jul 15 2006 Marius Feraru - 2.07-2.n0i.7 - automatic rebuild (perl 5.8.8) * Thu May 11 2006 Marius Feraru - 2.07-1.n0i.6 - version 2.07 * Tue May 02 2006 Marius Feraru - 2.06-1.n0i.5 - version 2.06 * Fri Mar 03 2006 Marius Feraru - 2.05-1.n0i.4 - version 2.05 * Thu Feb 02 2006 Marius Feraru 2.04-1.n0i.3 - version 2.04 * Fri Dec 30 2005 Marius Feraru 2.03-1.n0i.2 - version 2.03 * Sat Jul 23 2005 Marius Feraru 2.02-1.n0i.1 - spec file (re)created using N0i::CPAN::RPMizer/1.01 - rebuild on perl 5.8.7