Name: perl-Config-Record
Version: 1.1.1
Release: 3%{?dist}
Summary: Perl module for Configuration file access
Group: Development/Libraries
License: GPLv2+
URL: http://search.cpan.org/dist/Config-Record/
Source: http://www.cpan.org/authors/id/D/DA/DANBERR/Config-Record-1.1.1.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
Config::Record provides a module for loading configuration
records. It supports scalar, array and hash parameters nested
to an arbitrary depth.
%prep
%setup -q -n Config-Record-%{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 AUTHORS CHANGES LICENSE README
%{perl_vendorlib}/Config/
%{_mandir}/man3/*.3pm*
%changelog
* Thu Sep 21 2006 <dgregor@redhat.com> - 1.1.1-3
- Add the %%{?dist} tag, general cleanup (bz #207548)
* Fri Sep 15 2006 <dgregor@redhat.com> - 1.1.1-2
- Rebuild for FC6
* Wed Aug 2 2006 <dgregor@redhat.com> - 1.1.1-1
- Update to 1.1.1
* Fri Apr 22 2005 Oliver Falk <oliver@linux-kernel.at> - 1.1.0-1_FC4
- Make devel branch RPM newer than the one in FC3 tree, by adding FC4
to the release tag
* Tue Apr 5 2005 Dennis Gregorovic <dgregor@redhat.com> - 1.1.0-1
- First build.