0ae0f9
Name:           perl-Date-Calc
0ae0f9
Version:        6.4
0ae0f9
Release:        9%{?dist}
0ae0f9
Summary:        Gregorian calendar date calculations
0ae0f9
License:        GPL+ or Artistic
0ae0f9
URL:            http://search.cpan.org/dist/Date-Calc/
0ae0f9
Source0:        http://www.cpan.org/authors/id/S/ST/STBEY/Date-Calc-%{version}.tar.gz
0ae0f9
BuildArch:      noarch
0ae0f9
# Build
0ae0f9
BuildRequires:  perl-interpreter
0ae0f9
BuildRequires:  perl-generators
0ae0f9
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
0ae0f9
BuildRequires:  perl(Config)
0ae0f9
BuildRequires:  perl(strict)
0ae0f9
# Runtime
0ae0f9
BuildRequires:  perl(Bit::Vector) >= 7.1
0ae0f9
BuildRequires:  perl(bytes)
0ae0f9
BuildRequires:  perl(Carp::Clan) >= 6.04
0ae0f9
BuildRequires:  perl(Exporter)
0ae0f9
BuildRequires:  perl(overload)
0ae0f9
BuildRequires:  perl(POSIX)
0ae0f9
BuildRequires:  perl(vars)
0ae0f9
# Tests only
0ae0f9
Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
0ae0f9
Requires:       perl(Bit::Vector) >= 7.1
0ae0f9
Requires:       perl(Carp::Clan) >= 6.04
0ae0f9
0ae0f9
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Bit::Vector\\)$
0ae0f9
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Carp::Clan\\)$
0ae0f9
# Filter unwanted Provides:
0ae0f9
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}perl\\(Date::Calc\\)$
0ae0f9
0ae0f9
%description
0ae0f9
The library provides all sorts of date calculations based on the
0ae0f9
Gregorian calendar (the one used in all western countries today),
0ae0f9
thereby complying with all relevant norms and standards: ISO/R
0ae0f9
2015-1971, DIN 1355 and, to some extent, ISO 8601 (where applicable).
0ae0f9
0ae0f9
%prep
0ae0f9
%setup -q -n Date-Calc-%{version}
0ae0f9
0ae0f9
%build
0ae0f9
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1
0ae0f9
make %{?_smp_mflags}
0ae0f9
0ae0f9
%install
0ae0f9
make pure_install DESTDIR=%{buildroot}
0ae0f9
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} +
0ae0f9
chmod -R u+w %{buildroot}/*
0ae0f9
for file in %{buildroot}%{_mandir}/man3/Date::Calc.3pm \
0ae0f9
            CREDITS.txt; do
0ae0f9
  iconv -f iso-8859-1 -t utf-8 < "$file" > "${file}_"
0ae0f9
  mv -f "${file}_" "$file"
0ae0f9
done
0ae0f9
0ae0f9
%check
0ae0f9
make test
0ae0f9
0ae0f9
%files
0ae0f9
%license license/Artistic.txt license/GNU_GPL.txt license/GNU_LGPL.txt
0ae0f9
%doc CHANGES.txt CREDITS.txt README.txt
0ae0f9
%{perl_vendorlib}/Date/
0ae0f9
%{_mandir}/man3/*.3*
0ae0f9
0ae0f9
0ae0f9
%changelog
0ae0f9
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.4-9
0ae0f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
0ae0f9
0ae0f9
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.4-8
0ae0f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
0ae0f9
0ae0f9
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 6.4-7
0ae0f9
- Perl 5.26 rebuild
0ae0f9
0ae0f9
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.4-6
0ae0f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
0ae0f9
0ae0f9
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 6.4-5
0ae0f9
- Perl 5.24 rebuild
0ae0f9
0ae0f9
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 6.4-4
0ae0f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
0ae0f9
0ae0f9
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.4-3
0ae0f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
0ae0f9
0ae0f9
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 6.4-2
0ae0f9
- Perl 5.22 rebuild
0ae0f9
0ae0f9
* Thu Mar 12 2015 Jitka Plesnikova <jplesnik@redhat.com> - 6.4-1
0ae0f9
- 6.4 bump
0ae0f9
0ae0f9
* Wed Jan 07 2015 Petr Šabata <contyk@redhat.com> - 6.3-18
0ae0f9
- Adapt the test suite for the 2015-2115 era
0ae0f9
0ae0f9
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 6.3-17
0ae0f9
- Perl 5.20 rebuild
0ae0f9
0ae0f9
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.3-16
0ae0f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
0ae0f9
0ae0f9
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.3-15
0ae0f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
0ae0f9
0ae0f9
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 6.3-14
0ae0f9
- Perl 5.18 rebuild
0ae0f9
0ae0f9
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.3-13
0ae0f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
0ae0f9
0ae0f9
* Mon Nov 26 2012 Jitka Plesnikova <jplesnik@redhat.com> - 6.3-12
0ae0f9
- Update filter
0ae0f9
- Add BR perl(Carp)
0ae0f9
- Don't need to remove examples and tools, they don't exist
0ae0f9
0ae0f9
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.3-11
0ae0f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
0ae0f9
0ae0f9
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 6.3-10
0ae0f9
- Perl 5.16 rebuild
0ae0f9
0ae0f9
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.3-9
0ae0f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
0ae0f9
0ae0f9
* Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 6.3-8
0ae0f9
- Perl mass rebuild
0ae0f9
0ae0f9
* Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 6.3-7
0ae0f9
- Perl mass rebuild
0ae0f9
0ae0f9
* Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 6.3-6
0ae0f9
- Perl mass rebuild
0ae0f9
0ae0f9
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.3-5
0ae0f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
0ae0f9
0ae0f9
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 6.3-4
0ae0f9
- 661697 rebuild for fixing problems with vendorach/lib
0ae0f9
0ae0f9
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 6.3-3
0ae0f9
- Mass rebuild with perl-5.12.0
0ae0f9
0ae0f9
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 6.3-2
0ae0f9
- rebuild against perl 5.10.1
0ae0f9
0ae0f9
* Wed Nov 18 2009 Marcela Mašláňová <mmaslano@redhat.com> - 6.3-1
0ae0f9
- new upstream version - noarch, because since 6.0 there were bigger
0ae0f9
 changes like stripping this module into more of them
0ae0f9
0ae0f9
* Mon Oct 19 2009 Marcela Mašláňová <mmaslano@redhat.com> - 6.2-1
0ae0f9
- new upstream version
0ae0f9
0ae0f9
* Tue Aug  4 2009 Stepan Kasal <skasal@redhat.com> - 5.6-1
0ae0f9
- new upstream version
0ae0f9
0ae0f9
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.4-8
0ae0f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
0ae0f9
0ae0f9
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.4-7
0ae0f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
0ae0f9
0ae0f9
* Tue Mar  4 2008 Tom "spot" Callaway <tcallawa@redhat.com> 5.4-6
0ae0f9
- rebuild for new perl
0ae0f9
0ae0f9
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 5.4-5
0ae0f9
- Autorebuild for GCC 4.3
0ae0f9
0ae0f9
* Mon Nov 12 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 5.4-4
0ae0f9
- filtered out too many provides
0ae0f9
0ae0f9
* Wed Oct 24 2007 Robin Norwood <rnorwood@redhat.com> - 5.4-3
0ae0f9
- various specfile fixes
0ae0f9
0ae0f9
* Mon Oct 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 5.4-2.1
0ae0f9
- correct license tag
0ae0f9
- add BR: perl(ExtUtils::MakeMaker)
0ae0f9
0ae0f9
* Mon Aug 27 2007 Robin Norwood <rnorwood@redhat.com> - 5.4-2
0ae0f9
- Update License tag
0ae0f9
- Clean up minor specfile issues
0ae0f9
0ae0f9
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 5.4-1.2.2.1
0ae0f9
- rebuild
0ae0f9
0ae0f9
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 5.4-1.2.2
0ae0f9
- bump again for double-long bug on ppc(64)
0ae0f9
0ae0f9
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 5.4-1.2.1
0ae0f9
- rebuilt for new gcc4.1 snapshot and glibc changes
0ae0f9
0ae0f9
* Fri Feb 03 2006 Jason Vas Dias <jvdias@redhat.com> - 5.4-1.2
0ae0f9
- rebuild for new perl-5.8.8
0ae0f9
0ae0f9
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
0ae0f9
- rebuilt for new gcc
0ae0f9
0ae0f9
* Sat Apr  2 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 5.4-1
0ae0f9
- Update to 5.4.
0ae0f9
- Bring up to date with current Fedora.Extras perl spec template.
0ae0f9
0ae0f9
* Thu Nov 25 2004 Miloslav Trmac <mitr@redhat.com> - 5.3-10
0ae0f9
- Convert man page to UTF-8
0ae0f9
0ae0f9
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
0ae0f9
- rebuilt
0ae0f9
0ae0f9
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
0ae0f9
- rebuilt
0ae0f9
0ae0f9
* Fri Feb 13 2004 Chip Turner <cturner@redhat.com> 5.3-5
0ae0f9
- rebuilt
0ae0f9
0ae0f9
* Thu Jun 05 2003 Elliot Lee <sopwith@redhat.com>
0ae0f9
- rebuilt
0ae0f9
0ae0f9
* Tue Dec 10 2002 Chip Turner <cturner@redhat.com>
0ae0f9
- update to latest version from CPAN
0ae0f9
0ae0f9
* Tue Aug  6 2002 Chip Turner <cturner@redhat.com>
0ae0f9
- automated release bump and build
0ae0f9
0ae0f9
* Wed Jan 30 2002 cturner@redhat.com
0ae0f9
- Specfile autogenerated
0ae0f9