9b7a5c
Name:           perl-version
9b7a5c
Epoch:          3
a87c43
Version:        0.99.07
a87c43
%global module_version 0.9907
9b7a5c
Release:        2%{?dist}
9b7a5c
Summary:        Perl extension for Version Objects
9b7a5c
License:        GPL+ or Artistic
9b7a5c
Group:          Development/Libraries
9b7a5c
URL:            http://search.cpan.org/dist/version/
9b7a5c
Source0:        http://www.cpan.org/authors/id/J/JP/JPEACOCK/version-%{module_version}.tar.gz
9b7a5c
BuildRequires:  perl
9b7a5c
BuildRequires:  perl(base)
a87c43
BuildRequires:  perl(Carp)
a87c43
BuildRequires:  perl(Config)
a87c43
BuildRequires:  perl(constant)
9b7a5c
BuildRequires:  perl(Data::Dumper)
a87c43
BuildRequires:  perl(ExtUtils::CBuilder)
a87c43
BuildRequires:  perl(ExtUtils::MakeMaker)
9b7a5c
BuildRequires:  perl(File::Basename)
a87c43
BuildRequires:  perl(File::Spec)
9b7a5c
BuildRequires:  perl(File::Temp) >= 0.13
9b7a5c
# IO::Handle is optional
9b7a5c
BuildRequires:  perl(lib)
a87c43
BuildRequires:  perl(List::Util)
a87c43
BuildRequires:  perl(locale)
a87c43
BuildRequires:  perl(overload)
a87c43
BuildRequires:  perl(parent)
9b7a5c
BuildRequires:  perl(POSIX)
a87c43
BuildRequires:  perl(strict)
9b7a5c
BuildRequires:  perl(Test::More) >= 0.45
9b7a5c
BuildRequires:  perl(Test::Harness)
a87c43
BuildRequires:  perl(UNIVERSAL)
a87c43
BuildRequires:  perl(vars)
9b7a5c
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
a87c43
Requires:       perl(UNIVERSAL)
a87c43
Requires:       perl(XSLoader)
9b7a5c
9b7a5c
%{?perl_default_filter}
9b7a5c
# version::vxs is private module (see bug #633775)
9b7a5c
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}perl\\(version::vxs\\)
9b7a5c
9b7a5c
%description
9b7a5c
Version objects were added to Perl in 5.10. This module implements version
9b7a5c
objects for older version of Perl and provides the version object API for
9b7a5c
all versions of Perl. All previous releases before 0.74 are deprecated and
9b7a5c
should not be used due to incompatible API changes. Version 0.77 introduces
9b7a5c
the new 'parse' and 'declare' methods to standardize usage. You are
9b7a5c
strongly urged to set 0.77 as a minimum in your code.
9b7a5c
9b7a5c
%prep
9b7a5c
%setup -q -n version-%{module_version}
9b7a5c
9b7a5c
%build
a87c43
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
9b7a5c
make %{?_smp_mflags}
9b7a5c
9b7a5c
%install
a87c43
make pure_install DESTDIR=%{buildroot}
a87c43
find %{buildroot} -type f -name .packlist -exec rm -f {} +
a87c43
find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} +
a87c43
%{_fixperms} %{buildroot}/*
9b7a5c
9b7a5c
%check
9b7a5c
make test
9b7a5c
9b7a5c
%files
9b7a5c
%doc Changes README
9b7a5c
%doc %{perl_vendorarch}/version.pod
9b7a5c
%dir %{perl_vendorarch}/version/
9b7a5c
%doc %{perl_vendorarch}/version/Internals.pod
9b7a5c
%{perl_vendorarch}/auto/version/
9b7a5c
%{perl_vendorarch}/version.pm
a87c43
%{perl_vendorarch}/version/vpp.pm
9b7a5c
%{perl_vendorarch}/version/vxs.pm
a87c43
%{perl_vendorarch}/version/regex.pm
9b7a5c
%{_mandir}/man3/version.3pm*
9b7a5c
%{_mandir}/man3/version::Internals.3pm*
9b7a5c
9b7a5c
%changelog
a87c43
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 3:0.99.07-2
a87c43
- Mass rebuild 2014-01-24
a87c43
a87c43
* Wed Jan 15 2014 Petr Šabata <contyk@redhat.com> - 3:0.99.07-1
a87c43
- 0.9907 bugfix bump
a87c43
a87c43
* Tue Jan 07 2014 Petr Šabata <contyk@redhat.com> - 3:0.99.06-1
a87c43
- 0.9906 bump
a87c43
a87c43
* Tue Sep 10 2013 Petr Šabata <contyk@redhat.com> - 3:0.99.04-2
a87c43
- Release bump to (hopefully) fix the build
a87c43
a87c43
* Tue Sep 10 2013 Petr Šabata <contyk@redhat.com> - 3:0.99.04-1
a87c43
- 0.9904 bump
a87c43
a87c43
* Mon Aug 26 2013 Petr Šabata <contyk@redhat.com> - 3:0.99.03-1
a87c43
- 0.9903 bump
a87c43
- Prefer %%global over %%define
a87c43
a87c43
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3:0.99.02-291
a87c43
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
a87c43
a87c43
* Mon Jul 15 2013 Petr Pisar <ppisar@redhat.com> - 3:0.99.02-290
a87c43
- Increase release to favour standalone package
a87c43
a87c43
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 3:0.99.02-3
a87c43
- Perl 5.18 rebuild
a87c43
>>>>>>> fc/master
a87c43
9b7a5c
* Tue Jul 02 2013 Jitka Plesnikova <jplesnik@redhat.com> - 3:0.99.02-2
9b7a5c
- Specify all dependencies
9b7a5c
9b7a5c
* Thu Mar  7 2013 Jitka Plesnikova <jplesnik@redhat.com> - 3:0.99.02-1
9b7a5c
- 0.9902 bump
9b7a5c
9b7a5c
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3:0.99.01-2
9b7a5c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
9b7a5c
9b7a5c
* Mon Sep 17 2012 Jitka Plesnikova <jplesnik@redhat.com> - 3:0.99.01-1
9b7a5c
- 0.9901 bump
9b7a5c
9b7a5c
* Tue Aug 28 2012 Jitka Plesnikova <jplesnik@redhat.com> - 3:0.99-241
9b7a5c
- Add test BR perl(Test::Harness)
9b7a5c
- Remove %%defattr
9b7a5c
9b7a5c
* Fri Aug 17 2012 Petr Pisar <ppisar@redhat.com> - 3:0.99-240
9b7a5c
- Increase release to replace perl sub-package (bug #848961)
9b7a5c
9b7a5c
* Fri Aug 17 2012 Petr Pisar <ppisar@redhat.com> - 3:0.99-1
9b7a5c
- 0.99 bump
9b7a5c
9b7a5c
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3:0.88-10
9b7a5c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
9b7a5c
9b7a5c
* Wed Jun 06 2012 Petr Pisar <ppisar@redhat.com> - 3:0.88-9
9b7a5c
- Perl 5.16 rebuild
9b7a5c
9b7a5c
* Thu May 31 2012 Petr Pisar <ppisar@redhat.com> - 3:0.88-8
9b7a5c
- Fix dependencies
9b7a5c
9b7a5c
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3:0.88-7
9b7a5c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
9b7a5c
9b7a5c
* Tue Aug 16 2011 Marcela Mašláňová <mmaslano@redhat.com> - 3:0.88-6
9b7a5c
- change path on vendor, so our debuginfo are not conflicting with
9b7a5c
  perl core debuginfos
9b7a5c
9b7a5c
* Sun Jul 24 2011 Iain Arnell <iarnell@gmail.com> 3:0.88-5
9b7a5c
- update filtering for rpm 4.9
9b7a5c
9b7a5c
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 3:0.88-4
9b7a5c
- Perl mass rebuild
9b7a5c
9b7a5c
* Fri Apr 08 2011 Petr Pisar <ppisar@redhat.com> - 3:0.88-3
9b7a5c
- Unexport private version::vxs module (bug #633775)
9b7a5c
- Remove BuildRoot stuff
9b7a5c
9b7a5c
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3:0.88-2
9b7a5c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
9b7a5c
9b7a5c
* Wed Jan 26 2011 Paul Howarth <paul@city-fan.org> 3:0.88-1
9b7a5c
- Update to 0.88
9b7a5c
- Revert to Makefile.PL flow as upstream dropped Build.PL to avoid circular
9b7a5c
  dependencies
9b7a5c
- Install into perl directories rather than vendor directories
9b7a5c
- Mark Pod files as %%doc
9b7a5c
9b7a5c
* Tue Mar 09 2010 Marcela Mašláňová <mmaslano@redhat.com> 3:0.82-1
9b7a5c
- Specfile autogenerated by cpanspec 1.78.