|
|
|
@ -1,20 +1,16 @@
|
|
|
|
|
%define svnver 20081120svn88
|
|
|
|
|
|
|
|
|
|
Name: perl-Config-IniFiles
|
|
|
|
|
Version: 2.40
|
|
|
|
|
Release: 0.1.%{svnver}%{?dist}
|
|
|
|
|
Version: 2.47
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: A module for reading .ini-style configuration files
|
|
|
|
|
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
URL: http://search.cpan.org/dist/Config-IniFiles/
|
|
|
|
|
# Pulled from upstream SVN
|
|
|
|
|
# http://config-inifiles.svn.sourceforge.net/viewvc/config-inifiles/trunk/config-inifiles/
|
|
|
|
|
# svn co https://config-inifiles.svn.sourceforge.net/svnroot/config-inifiles/trunk/ config-inifiles
|
|
|
|
|
Source0: Config-IniFiles-%{version}-%{svnver}.tar.bz2
|
|
|
|
|
Source0: http://www.cpan.org/authors/id/S/SH/SHLOMIF/Config-IniFiles-%{version}.tar.gz
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker), perl(Test::More)
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
|
|
|
@ -26,7 +22,7 @@ from a tied hash.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n Config-IniFiles-%{version}-%{svnver}
|
|
|
|
|
%setup -q -n Config-IniFiles-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
@ -51,12 +47,16 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc README
|
|
|
|
|
%doc README Changes
|
|
|
|
|
%{perl_vendorlib}/Config/
|
|
|
|
|
%{_mandir}/man3/*.3pm*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Feb 12 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 2.47-1
|
|
|
|
|
- Upstream update.
|
|
|
|
|
- Add Changes to %%doc.
|
|
|
|
|
|
|
|
|
|
* Thu Nov 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.40-0.1.20081120svn88
|
|
|
|
|
- Update to svn checkout, since 2.39 doesn't appear to be accurate.
|
|
|
|
|
|
|
|
|
|