eac5259
Name:           perl-DateTime-Set
Petr Šabata e9479b7
Version:        0.3600
Petr Šabata 6cac416
Release:        1%{?dist}
eac5259
Summary:        Datetime sets and set math
f58f164
License:        GPL+ or Artistic
eac5259
Group:          Development/Libraries
eac5259
URL:            http://search.cpan.org/dist/DateTime-Set/
eac5259
Source0:        http://www.cpan.org/authors/id/F/FG/FGLOCK/DateTime-Set-%{version}.tar.gz
c38e7c7
Patch0:         DateTime-Set-0.32-version.patch
eac5259
BuildArch:      noarch
c38e7c7
# Build
Petr Šabata 6cac416
BuildRequires:  perl
eac5259
BuildRequires:  perl(Module::Build)
Petr Šabata 6cac416
BuildRequires:  perl(strict)
c38e7c7
# Runtime
c38e7c7
BuildRequires:  perl(Carp)
c38e7c7
BuildRequires:  perl(constant)
Petr Šabata 6cac416
BuildRequires:  perl(DateTime) >= 0.12
c38e7c7
BuildRequires:  perl(DateTime::Duration)
c38e7c7
BuildRequires:  perl(DateTime::Infinite)
c38e7c7
BuildRequires:  perl(Params::Validate)
eac5259
BuildRequires:  perl(Set::Infinite) >= 0.59
c38e7c7
BuildRequires:  perl(vars)
c38e7c7
# Test Suite
f58f164
BuildRequires:  perl(Test::More)
c38e7c7
BuildRequires:  perl(warnings)
Petr Šabata 6cac416
Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
eac5259
eac5259
%description
eac5259
DateTime::Set is a module for datetime sets. It can be used to handle two
eac5259
different types of sets. The first is a fixed set of predefined datetime
eac5259
objects. For example, if we wanted to create a set of datetimes containing
eac5259
the birthdays of people in our family. The second type of set that it can
eac5259
handle is one based on the idea of a recurrence, such as "every Wednesday",
eac5259
or "noon on the 15th day of every month". This type of set can have fixed
eac5259
starting and ending datetimes, but neither is required. So our "every
eac5259
Wednesday set" could be "every Wednesday from the beginning of time until
eac5259
the end of time", or "every Wednesday after 2003-03-05 until the end of
eac5259
time", or "every Wednesday between 2003-03-05 and 2004-01-07".
eac5259
eac5259
%prep
eac5259
%setup -q -n DateTime-Set-%{version}
c38e7c7
# Make perl/rpm version comparisons work the same way
c38e7c7
%patch0
c38e7c7
eac5259
%build
c38e7c7
perl Build.PL installdirs=vendor
eac5259
./Build
eac5259
eac5259
%install
Petr Šabata 6cac416
./Build install destdir="%{buildroot}" create_packlist=0
Petr Šabata 6cac416
%{_fixperms} %{buildroot}
eac5259
eac5259
%check
eac5259
./Build test
eac5259
eac5259
%files
Petr Šabata 6cac416
%license LICENSE
Petr Šabata 6cac416
%doc Changes README TODO
Petr Šabata 6cac416
%{perl_vendorlib}/*
Petr Šabata 6cac416
%{_mandir}/man3/*
eac5259
eac5259
%changelog
Petr Šabata e9479b7
* Wed Nov 11 2015 Petr Šabata <contyk@redhat.com> - 0.3600-1
Petr Šabata e9479b7
- 0.3600 bump
Petr Šabata e9479b7
Petr Šabata 6cac416
* Wed Nov 11 2015 Petr Šabata <contyk@redhat.com> - 0.3500-1
Petr Šabata 6cac416
- 0.3500 bump
Petr Šabata 6cac416
103bf54
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3400-7
103bf54
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
103bf54
add7126
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.3400-6
add7126
- Perl 5.22 re-rebuild of bootstrapped packages
add7126
258afee
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.3400-5
258afee
- Perl 5.22 rebuild
258afee
1265e31
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.3400-4
1265e31
- Perl 5.20 re-rebuild of bootstrapped packages
1265e31
f529fab
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.3400-3
f529fab
- Perl 5.20 rebuild
f529fab
f5c8aee
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3400-2
f5c8aee
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
f5c8aee
27c0a93
* Wed Feb 12 2014 Paul Howarth <paul@city-fan.org> - 0.3400-1
27c0a93
- Update to 0.3400
27c0a93
  - Documentation and packaging fixes
27c0a93
  - Version number using 4 digits
27c0a93
5a29747
* Thu Jan 23 2014 Paul Howarth <paul@city-fan.org> - 0.33-3
5a29747
- Bootstrap of epel7 done
5a29747
271802c
* Thu Jan 23 2014 Paul Howarth <paul@city-fan.org> - 0.33-2
271802c
- Bootstrap epel7 build
271802c
088a2fe
* Tue Oct 15 2013 Paul Howarth <paul@city-fan.org> - 0.33-1
088a2fe
- Update to 0.33
088a2fe
  - Bugfix in SpanSet->grep
088a2fe
c38e7c7
* Thu Oct  3 2013 Paul Howarth <paul@city-fan.org> - 0.32-1
c38e7c7
- Update to 0.32
c38e7c7
  - New method is_empty_set (CPAN RT#50750)
c38e7c7
  - New test t/21from_recurrence.t
c38e7c7
  - Ignore duration signal in DateTime::Span->from_datetime_and_duration() and
c38e7c7
    use the 'end'/'start' parameters as a cue for the time direction
c38e7c7
  - More tests of intersections with open/closed ended spans
c38e7c7
- Tweak the Set::Infinite version requirement to avoid the need for rpm
c38e7c7
  dependency filters
c38e7c7
- Specify all dependencies
c38e7c7
- BR: perl(DateTime::Event::Recurrence) for the test suite except when
c38e7c7
  bootstrapping
c38e7c7
- Drop %%defattr, redundant since rpm 4.4
c38e7c7
- Make %%files list more explicit
c38e7c7
- Don't need to remove empty directories from the buildroot
c38e7c7
- Don't use macros for commands
c38e7c7
042a812
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.28-14
042a812
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
042a812
db76e2a
* Wed Jul 31 2013 Petr Pisar <ppisar@redhat.com> - 0.28-13
db76e2a
- Perl 5.18 rebuild
db76e2a
70782b6
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.28-12
70782b6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
70782b6
cd63c7f
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.28-11
cd63c7f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
cd63c7f
fcdb9cc
* Wed Jun 20 2012 Petr Pisar <ppisar@redhat.com> - 0.28-10
fcdb9cc
- Perl 5.16 rebuild
fcdb9cc
065fcfd
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.28-9
065fcfd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
065fcfd
e75befc
* Wed Jul 20 2011 Iain Arnell <iarnell@gmail.com> 0.28-8
e75befc
- update filtering macros for rpm 4.9
e75befc
Petr Sabata 0d0783a
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 0.28-7
Petr Sabata 0d0783a
- Perl mass rebuild
Petr Sabata 0d0783a
2d529e9
* Sat Feb 19 2011 Iain Arnell <iarnell@gmail.com> 0.28-6
2d529e9
- remove perl(DateTime::Event::Recurrence) buildreq to avoid circular
2d529e9
  dependency
2d529e9
0c5c1d4
* Tue Feb 15 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.28-5
d766605
- remove useless filter & add new because of RPM4.9
0c5c1d4
066a6f7
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.28-4
066a6f7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
066a6f7
6f8894e
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.28-3
6f8894e
- 661697 rebuild for fixing problems with vendorach/lib
6f8894e
cfcdf82
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.28-2
cfcdf82
- Mass rebuild with perl-5.12.0
cfcdf82
4bb6939
* Sat Feb 13 2010 Steven Pritchard <steve@kspei.com> 0.28-1
4bb6939
- Update to 0.28.
4bb6939
- BR DateTime::Event::Recurrence for better test coverage.
4bb6939
b4136b4
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.26-4
b4136b4
- rebuild against perl 5.10.1
b4136b4
f9ffc75
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.26-3
f9ffc75
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
f9ffc75
9a06684
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.26-2
9a06684
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
9a06684
6a7aac1
* Fri Jan 16 2009 Steven Pritchard <steve@kspei.com> 0.26-1
6a7aac1
- Update to 0.26.
6a7aac1
e857071
* Wed Mar 05 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.25-6
e857071
- rebuild for new perl
e857071
f58f164
* Sun Dec 30 2007 Ralf Corsépius <rc040203@freenet.de> - 0.25-5
f58f164
- Adjust License-tag.
f58f164
- BR: perl(Test::More) (BZ 419631).
f58f164
ec797f6
* Tue Apr 17 2007 Steven Pritchard <steve@kspei.com> 0.25-4
ec797f6
- Use fixperms macro instead of our own chmod incantation.
ec797f6
760dab4
* Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 0.25-3
760dab4
- Fix find option order.
760dab4
d06f317
* Fri Jul 07 2006 Steven Pritchard <steve@kspei.com> 0.25-2
d06f317
- Drop explicit versioned dependency on Set::Infinite.
d06f317
eac5259
* Wed Jul 05 2006 Steven Pritchard <steve@kspei.com> 0.25-1
eac5259
- Specfile autogenerated by cpanspec 1.66.
eac5259
- Fix License.
eac5259
- Exclude Set::Infinite auto-requires due to version comparison issue
eac5259
  (0.5502 > 0.59 to rpm).
eac5259
- Drop explicit DateTime dependency.  (rpmbuild figures it out.)
eac5259
- Add a bit to the description.