Dennis Gregorovic 0e21074
Name:           perl-Config-Record
099a689
Version:        1.1.2
099a689
Release:        1%{?dist}
Dennis Gregorovic 0e21074
Summary:        Perl module for Configuration file access
Dennis Gregorovic 0e21074
Dennis Gregorovic 0e21074
Group:          Development/Libraries
30d957a
License:        GPLv2+
Dennis Gregorovic 0e21074
URL:            http://search.cpan.org/dist/Config-Record/
099a689
Source:         http://www.cpan.org/authors/id/D/DA/DANBERR/Config-Record-%{version}.tar.gz
Dennis Gregorovic 0e21074
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Dennis Gregorovic 0e21074
Dennis Gregorovic 0e21074
BuildArch:      noarch
30d957a
BuildRequires:  perl(ExtUtils::MakeMaker)
97fba4a
BuildRequires:  perl(Test::More)
Dennis Gregorovic 31c099b
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Dennis Gregorovic 0e21074
099a689
# for improved tests
099a689
BuildRequires:  perl(Test::Pod)
099a689
BuildRequires:  perl(Test::Pod::Coverage)
099a689
Dennis Gregorovic 0e21074
099a689
%description
Dennis Gregorovic 0e21074
Config::Record provides a module for loading configuration
Dennis Gregorovic 0e21074
records. It supports scalar, array and hash parameters nested
Dennis Gregorovic 0e21074
to an arbitrary depth.
Dennis Gregorovic 0e21074
Dennis Gregorovic 0e21074
%prep
Dennis Gregorovic 0e21074
%setup -q -n Config-Record-%{version}
Dennis Gregorovic 0e21074
Dennis Gregorovic 0e21074
Dennis Gregorovic 0e21074
%build
Dennis Gregorovic 0e21074
%{__perl} Makefile.PL INSTALLDIRS=vendor
Dennis Gregorovic 0e21074
make %{?_smp_mflags}
Dennis Gregorovic 0e21074
Dennis Gregorovic 0e21074
Dennis Gregorovic 0e21074
%install
Dennis Gregorovic 0e21074
rm -rf $RPM_BUILD_ROOT
Dennis Gregorovic 0e21074
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
Dennis Gregorovic 0e21074
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
Dennis Gregorovic 0e21074
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
Dennis Gregorovic 0e21074
chmod -R u+w $RPM_BUILD_ROOT/*
Dennis Gregorovic 0e21074
Dennis Gregorovic 0e21074
Dennis Gregorovic 31c099b
%check
Dennis Gregorovic 0e21074
make test
Dennis Gregorovic 0e21074
Dennis Gregorovic 0e21074
Dennis Gregorovic 0e21074
%clean
Dennis Gregorovic 0e21074
rm -rf $RPM_BUILD_ROOT
Dennis Gregorovic 0e21074
Dennis Gregorovic 0e21074
Dennis Gregorovic 0e21074
%files
Dennis Gregorovic 0e21074
%defattr(-,root,root,-)
Dennis Gregorovic 0e21074
%doc AUTHORS CHANGES LICENSE README
Dennis Gregorovic 0e21074
%{perl_vendorlib}/Config/
Dennis Gregorovic 31c099b
%{_mandir}/man3/*.3pm*
Dennis Gregorovic 0e21074
Dennis Gregorovic 0e21074
%changelog
099a689
* Wed Jul 23 2008 Ralf Cors├ępius <rc040203@freenet.de> - 1.1.2-1
099a689
- Upstream update.
099a689
- Minor spec cleanup.
099a689
099a689
* Thu Mar  6 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.1.1-4
099a689
- rebuild for new perl
099a689
97fba4a
* Mon Oct 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.1.1-3.2
97fba4a
- add BR: perl(Test::More)
97fba4a
30d957a
* Mon Oct 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.1.1-3.1
30d957a
- correct license tag
30d957a
- add BR: perl(ExtUtils::MakeMaker)
30d957a
Dennis Gregorovic 8cace49
* Thu Sep 21 2006  <dgregor@redhat.com> - 1.1.1-3
Dennis Gregorovic 31c099b
- Add the %%{?dist} tag, general cleanup (bz #207548)
Dennis Gregorovic 8cace49
Dennis Gregorovic 0d34d69
* Fri Sep 15 2006  <dgregor@redhat.com> - 1.1.1-2
Dennis Gregorovic 0d34d69
- Rebuild for FC6
Dennis Gregorovic 0d34d69
Dennis Gregorovic 12b3a55
* Wed Aug  2 2006  <dgregor@redhat.com> - 1.1.1-1
Dennis Gregorovic 12b3a55
- Update to 1.1.1
Dennis Gregorovic 12b3a55
7ff1173
* Fri Apr 22 2005 Oliver Falk <oliver@linux-kernel.at>   - 1.1.0-1_FC4
7ff1173
- Make devel branch RPM newer than the one in FC3 tree, by adding FC4
7ff1173
  to the release tag
7ff1173
Dennis Gregorovic 0e21074
* Tue Apr  5 2005 Dennis Gregorovic <dgregor@redhat.com> - 1.1.0-1
Dennis Gregorovic 0e21074
- First build.