%{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)} Name: perl-Config-Tiny Version: 2.00 Release: 1 Summary: Perl module for reading and writing .ini style configuration files Group: Development/Libraries License: GPL or Artistic URL: http://search.cpan.org/dist/Config-Tiny/ Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/Config-Tiny-2.00.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 1:5.6.1 BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Config::Tiny is a Perl module designed for reading and writing .ini style configuration files. It is designed for simplicity and ease of use, and thus only supports the most basic operations. %prep %setup -q -n Config-Tiny-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' chmod -R u+w $RPM_BUILD_ROOT/* %check || : make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes LICENSE README %{perl_vendorlib}/Config %{_mandir}/man3/*.3* %changelog * Sun Jul 25 2004 Marius L. Jøhndal - 0:2.00-0.fdr.1 - Updated to 2.00. * Sat Jul 10 2004 Marius L. Jøhndal - 0:1.9-0.fdr.1 - Updated to 1.9. * Fri Jul 2 2004 Marius L. Jøhndal - 0:1.8-0.fdr.1 - Updated to 1.8. * Tue Jun 29 2004 Marius L. Jøhndal - 0:1.7-0.fdr.1 - Updated to 1.7. * Sat Jun 5 2004 Marius L. Jøhndal - 0:1.6-0.fdr.3 - Changed URL to canonical location (bug 1140). - Added build req perl >= 1:5.6.1 and perl(Test::More) (bug 1140). - Added missing req perl(:MODULE_COMPAT_...) (bug 1140). - Updated to match most recent perl spec template (bug 1140). - Removed unneeded optimization settings and find *.bs (bug 1140). * Thu Mar 18 2004 Marius L. Jøhndal - 0:1.6-0.fdr.2 - Reduced directory ownership bloat. * Thu Mar 11 2004 Marius L. Jøhndal - 0:1.6-0.fdr.1 - Updated to 1.6. * Wed Jan 7 2004 Marius L. Jøhndal 0:1.5-0.fdr.1 - Updated to 1.5. * Sat Dec 13 2003 Marius L. Jøhndal 0:1.3-0.fdr.1 - Initial RPM release.