e320d7c
Name:		perl-Config-Tiny
e320d7c
Version:	2.14
b415e54
Release:	7%{?dist}
e320d7c
Summary:	Perl module for reading and writing .ini style configuration files
e320d7c
Group:		Development/Libraries
e320d7c
License:	GPL+ or Artistic
e320d7c
URL:		http://search.cpan.org/dist/Config-Tiny/
e320d7c
Source0:	http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Config-Tiny-%{version}.tar.gz
e320d7c
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
e320d7c
BuildArch:	noarch
e320d7c
BuildRequires:	perl(ExtUtils::MakeMaker)
e320d7c
BuildRequires:	perl(Test::CPAN::Meta)
e320d7c
BuildRequires:	perl(Test::More)
e320d7c
BuildRequires:	perl(Test::Pod)
e320d7c
# Test::MinimumVersion -> Perl::MinimumVersion -> Perl::Critic -> Config::Tiny
e320d7c
%if 0%{!?perl_bootstrap:1}
e320d7c
# Test::MinimumVersion not available for EPEL < 6
e320d7c
%if "%{rhel}" != "4" && "%{rhel}" != "5"
e320d7c
BuildRequires:	perl(Test::MinimumVersion)
4241d96
%endif
e320d7c
%endif
e320d7c
Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
cvsextras 0d3a772
cvsextras 0d3a772
%description
cvsextras 0d3a772
Config::Tiny is a Perl module designed for reading and writing .ini
cvsextras 0d3a772
style configuration files. It is designed for simplicity and ease of
cvsextras 0d3a772
use, and thus only supports the most basic operations.
cvsextras 0d3a772
cvsextras 0d3a772
%prep
cvsextras 0d3a772
%setup -q -n Config-Tiny-%{version}
cvsextras 0d3a772
cvsextras 0d3a772
%build
e320d7c
perl Makefile.PL INSTALLDIRS=vendor
cvsextras 0d3a772
make %{?_smp_mflags}
cvsextras 0d3a772
cvsextras 0d3a772
%install
e320d7c
rm -rf %{buildroot}
e320d7c
make pure_install DESTDIR=%{buildroot}
e320d7c
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
e320d7c
find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null
e320d7c
%{_fixperms} %{buildroot}
cvsextras 0d3a772
964f74b
%check
e320d7c
make test
e320d7c
make test TEST_FILES="xt/*.t" AUTOMATED_TESTING=1
cvsextras 0d3a772
e320d7c
%clean
e320d7c
rm -rf %{buildroot}
cvsextras 0d3a772
cvsextras 0d3a772
%files
e320d7c
%defattr(-,root,root,-)
cvsextras 0d3a772
%doc Changes LICENSE README
964f74b
%{perl_vendorlib}/Config/
e320d7c
%{_mandir}/man3/Config::Tiny.3pm*
cvsextras 0d3a772
cvsextras 0d3a772
%changelog
b415e54
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.14-7
b415e54
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
b415e54
887e3d8
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.14-6
887e3d8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
887e3d8
2e31466
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 2.14-5
2e31466
- Perl 5.16 re-rebuild of bootstrapped packages
2e31466
3786f1f
* Wed Jun 13 2012 Petr Pisar <ppisar@redhat.com> - 2.14-4
3786f1f
- Perl 5.16 rebuild
3786f1f
e320d7c
* Thu Jan 19 2012 Paul Howarth <paul@city-fan.org> - 2.14-3
e320d7c
- Reinstate compatibility with older distributions like EL-5
e320d7c
- Run release tests as well as the regular test suite
e320d7c
- BR: perl(Test::CPAN::Meta) and perl(Test::More)
e320d7c
- Only drop perl(Test::MinimumVersion) as a buildreq when bootstrapping, and
e320d7c
  add a comment about why that's needed
e320d7c
- Use DESTDIR rather than PERL_INSTALL_ROOT
e320d7c
- Don't use macros for commands
e320d7c
- Make %%files list more explicit
e320d7c
- No longer need to fix permissions of Tiny.pm
e320d7c
- Use tabs
e320d7c
4108f40
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.14-2
4108f40
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
4108f40
e320d7c
* Sun Oct 02 2011 Iain Arnell <iarnell@gmail.com> - 2.14-1
e320d7c
- Update to latest upstream version
e320d7c
- Clean up spec for modern rpmbuild
9fa213f
4241d96
* Tue Jun 28 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.12-12
e320d7c
- Rebuild with Perl 5.14.1
e320d7c
- Use perl_bootstrap macro
e320d7c
- Add missing BR ExtUtils::MakeMaker
4241d96
be30a69
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.12-11
be30a69
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
be30a69
3928713
* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.12-10
e320d7c
- Rebuild to fix problems with vendorarch/lib (#661697)
3928713
8b289c3
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.12-9
8b289c3
- Mass rebuild with perl-5.12.0
8b289c3
acc86c7
* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 2.12-8
e320d7c
- Rebuild against perl 5.10.1
acc86c7
7876c6c
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.12-7
7876c6c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
7876c6c
8456f9c
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.12-6
8456f9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
8456f9c
782b6ed
* Thu Feb 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.12-5
782b6ed
- Rebuild normally, second pass
782b6ed
b1cc4a6
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.12-4
b1cc4a6
- Rebuild for perl 5.10 (again), first pass
b1cc4a6
8daa0a8
* Mon Jan 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.12-3
e320d7c
- Rebuild normally, second pass
8daa0a8
cdbeab9
* Sun Jan 13 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.12-2.1
e320d7c
- Rebuild with TMV, tests disabled for first pass
cdbeab9
6f72855
* Fri Jan 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.12-2
6f72855
- Rebuild for new perl
6f72855
f4054da
* Thu Dec 13 2007 Ralf Corsépius <rc040203@freenet.de> - 2.12-1
e320d7c
- Update to 2.12
f4054da
45971e3
* Mon Oct  2 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.10-1
e320d7c
- Updated to 2.10
45971e3
8652cab
* Sun Jul 16 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.08-1
e320d7c
- Updated to 2.08
8652cab
9c78aa6
* Wed May 10 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.07-1
e320d7c
- Updated to 2.07
9c78aa6
13fbfec
* Sat Apr 22 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.06-1
e320d7c
- Updated to 2.06
13fbfec
cbeafe8
* Mon Mar  6 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.05-1
e320d7c
- Updated to 2.05
cbeafe8
40ebcda
* Sat Feb 18 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.04-2
e320d7c
- Rebuild for FC5 (perl 5.8.8)
40ebcda
5ab6901
* Sat Jan 28 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.04-1
e320d7c
- Updated to 2.04
5ab6901
964f74b
* Fri Dec 30 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.03-1
e320d7c
- Updated to 2.03
964f74b
db39b5a
* Mon Jun 27 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.02-1
e320d7c
- Updated to 2.02
db39b5a
db39b5a
* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 2.01-2
e320d7c
- Rebuilt
f97e39f
f227fd9
* Thu Mar 24 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.01-1
e320d7c
- Updated to 2.01
f227fd9
cvsextras 0d3a772
* Sun Jul 25 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:2.00-0.fdr.1
e320d7c
- Updated to 2.00
cvsextras 0d3a772
cvsextras 0d3a772
* Sat Jul 10 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:1.9-0.fdr.1
e320d7c
- Updated to 1.9
cvsextras 0d3a772
cvsextras 0d3a772
* Fri Jul  2 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:1.8-0.fdr.1
e320d7c
- Updated to 1.8
cvsextras 0d3a772
cvsextras 0d3a772
* Tue Jun 29 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:1.7-0.fdr.1
e320d7c
- Updated to 1.7
cvsextras 0d3a772
cvsextras 0d3a772
* Sat Jun  5 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:1.6-0.fdr.3
e320d7c
- Changed URL to canonical location (bug 1140)
e320d7c
- Added build req perl >= 1:5.6.1 and perl(Test::More) (bug 1140)
e320d7c
- Added missing req perl(:MODULE_COMPAT_...) (bug 1140)
e320d7c
- Updated to match most recent perl spec template (bug 1140)
e320d7c
- Removed unneeded optimization settings and find *.bs (bug 1140)
cvsextras 0d3a772
cvsextras 0d3a772
* Thu Mar 18 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:1.6-0.fdr.2
e320d7c
- Reduced directory ownership bloat
cvsextras 0d3a772
cvsextras 0d3a772
* Thu Mar 11 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:1.6-0.fdr.1
e320d7c
- Updated to 1.6
cvsextras 0d3a772
cvsextras 0d3a772
* Wed Jan  7 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> 0:1.5-0.fdr.1
e320d7c
- Updated to 1.5
cvsextras 0d3a772
cvsextras 0d3a772
* Sat Dec 13 2003 Marius L. Jøhndal <mariuslj at ifi.uio.no> 0:1.3-0.fdr.1
e320d7c
- Initial RPM release
cvsextras 0d3a772