2008-01-04 19:49:05 +00:00
|
|
|
Name: perl-Date-Manip
|
2012-06-04 13:51:21 +00:00
|
|
|
Version: 6.32
|
|
|
|
Release: 1%{?dist}
|
2011-01-18 08:29:40 +00:00
|
|
|
Summary: Date manipulation routines
|
2008-01-04 19:49:05 +00:00
|
|
|
Group: Development/Libraries
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
URL: http://search.cpan.org/dist/Date-Manip/
|
|
|
|
Source0: http://www.cpan.org/authors/id/S/SB/SBECK/Date-Manip-%{version}.tar.gz
|
|
|
|
|
|
|
|
BuildArch: noarch
|
2010-09-14 15:38:20 +00:00
|
|
|
BuildRequires: perl(Carp)
|
2010-10-27 12:24:10 +00:00
|
|
|
BuildRequires: perl(Encode)
|
|
|
|
BuildRequires: perl(Exporter)
|
2011-04-18 14:13:18 +00:00
|
|
|
BuildRequires: perl(IO::File)
|
2012-06-04 13:51:21 +00:00
|
|
|
BuildRequires: perl(Module::Build)
|
2010-09-14 15:38:20 +00:00
|
|
|
BuildRequires: perl(Storable)
|
2010-02-01 09:05:31 +00:00
|
|
|
BuildRequires: perl(Test::More)
|
2010-09-14 15:38:20 +00:00
|
|
|
BuildRequires: perl(YAML::Syck)
|
|
|
|
# Tests only
|
|
|
|
BuildRequires: perl(Test::Inter)
|
|
|
|
BuildRequires: perl(Test::Pod) >= 1.00
|
|
|
|
BuildRequires: perl(Test::Pod::Coverage) >= 1.00
|
|
|
|
|
2012-06-04 13:51:21 +00:00
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
2008-01-04 19:49:05 +00:00
|
|
|
|
|
|
|
# This package was formerly known as perl-DateManip
|
|
|
|
Provides: perl-DateManip = %{version}-%{release}
|
|
|
|
Obsoletes: perl-DateManip < 5.48-1
|
|
|
|
|
2011-01-18 08:29:40 +00:00
|
|
|
%{?perl_default_filter}
|
2008-01-04 19:49:05 +00:00
|
|
|
|
|
|
|
%description
|
2010-02-01 09:05:31 +00:00
|
|
|
Date::Manip is a series of modules designed to make any common date/time
|
2012-03-14 14:35:29 +00:00
|
|
|
operation easy to do. Operations such as comparing two times, determining a
|
|
|
|
data a given amount of time from another, or parsing international times
|
2011-01-18 08:29:40 +00:00
|
|
|
are all easily done. It deals with time as it is used in the Gregorian
|
|
|
|
calendar (the one currently in use) with full support for time changes due
|
|
|
|
to daylight saving time.
|
2008-01-04 19:49:05 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n Date-Manip-%{version}
|
2011-09-01 11:51:38 +00:00
|
|
|
chmod -x examples/*
|
2008-01-04 19:49:05 +00:00
|
|
|
|
|
|
|
%build
|
2012-06-04 13:51:21 +00:00
|
|
|
perl Build.PL installdirs=vendor
|
2010-02-01 09:05:31 +00:00
|
|
|
./Build
|
2008-01-04 19:49:05 +00:00
|
|
|
|
|
|
|
%install
|
2010-02-01 09:05:31 +00:00
|
|
|
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
|
|
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
2008-01-04 19:49:05 +00:00
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
%check
|
2010-02-01 09:05:31 +00:00
|
|
|
./Build test
|
2008-01-04 19:49:05 +00:00
|
|
|
|
|
|
|
%files
|
2011-09-01 11:51:38 +00:00
|
|
|
%doc HISTORY LICENSE README README.first examples
|
2008-01-04 19:49:05 +00:00
|
|
|
%{perl_vendorlib}/Date/
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2012-06-04 13:51:21 +00:00
|
|
|
* Mon Jun 04 2012 Petr Šabata <contyk@redhat.com> - 6.32-1
|
|
|
|
- 6.32 bump
|
|
|
|
- Remove command macros
|
|
|
|
- Don't require a specific version of Module::Build
|
|
|
|
|
2012-05-31 09:32:25 +00:00
|
|
|
* Thu May 31 2012 Petr Pisar <ppisar@redhat.com> - 6.31-2
|
|
|
|
- Round Module::Build version to 2 digits
|
|
|
|
|
2012-03-14 14:35:29 +00:00
|
|
|
* Wed Mar 14 2012 Marcela Mašláňová <mmaslano@redhat.com> - 6.31-1
|
|
|
|
- bump to 6.31
|
|
|
|
|
2012-01-13 14:33:36 +00:00
|
|
|
* Fri Jan 13 2012 Marcela Mašláňová <mmaslano@redhat.com> - 6.30-1
|
|
|
|
- bump to 6.30
|
|
|
|
|
2012-01-13 13:21:41 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.25-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-09-01 11:51:38 +00:00
|
|
|
* Thu Sep 01 2011 Petr Pisar <ppisar@redhat.com> - 6.25-1
|
|
|
|
- 6.25 bump
|
|
|
|
- Package examples
|
|
|
|
|
2011-07-21 14:37:19 +00:00
|
|
|
* Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 6.24-3
|
|
|
|
- Perl mass rebuild
|
|
|
|
|
2011-07-19 13:31:35 +00:00
|
|
|
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 6.24-2
|
|
|
|
- Perl mass rebuild
|
|
|
|
|
2011-06-14 10:48:37 +00:00
|
|
|
* Tue Jun 14 2011 Petr Sabata <contyk@redhat.com> - 6.24-1
|
|
|
|
- 6.24 bump
|
|
|
|
- defattr removed
|
|
|
|
|
2011-04-18 14:13:18 +00:00
|
|
|
* Mon Apr 18 2011 Petr Sabata <psabata@redhat.com> - 6.23-1
|
|
|
|
- 6.23 bump
|
|
|
|
- IO::File added to BR
|
|
|
|
- Buildroot stuff removed
|
|
|
|
|
2011-03-08 14:15:13 +00:00
|
|
|
* Tue Mar 8 2011 Petr Sabata <psabata@redhat.com> - 6.22-1
|
|
|
|
- 6.22 bump, new timezone data
|
|
|
|
|
2011-02-08 20:50:07 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.21-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2011-01-18 08:29:40 +00:00
|
|
|
* Tue Jan 18 2011 Marcela Mašláňová <mmaslano@redhat.com> - 6.21-1
|
|
|
|
- update to 6.21
|
|
|
|
|
2010-12-03 08:12:17 +00:00
|
|
|
* Fri Dec 3 2010 Petr Sabata <psabata@redhat.com> - 6.20-1
|
|
|
|
- 6.20 bump, internal resources might be incompatible with previous versions
|
|
|
|
|
2010-10-27 12:24:10 +00:00
|
|
|
* Wed Oct 27 2010 Petr Pisar <ppisar@redhat.com> - 6.14-1
|
|
|
|
- 6.14 bump
|
|
|
|
- Remove double-required perl(YAML::Syck)
|
|
|
|
|
2010-10-18 12:27:01 +00:00
|
|
|
* Mon Oct 18 2010 Petr Sabata <psabata@redhat.com> - 6.13-1
|
|
|
|
- 6.13 bump
|
|
|
|
|
2010-10-04 11:51:15 +00:00
|
|
|
* Mon Oct 4 2010 Petr Sabata <psabata@redhat.com> - 6.12-1
|
|
|
|
- 6.12 bump
|
|
|
|
|
2010-09-14 15:38:20 +00:00
|
|
|
* Tue Sep 14 2010 Petr Pisar <ppisar@redhat.com> - 6.11-1
|
|
|
|
- 6.11 bump
|
|
|
|
|
2010-04-27 16:10:39 +00:00
|
|
|
* Tue Apr 27 2010 Marcela Maslanova <mmaslano@redhat.com> - 6.07-3
|
2010-04-27 14:57:42 +00:00
|
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
|
2010-04-16 12:50:18 +00:00
|
|
|
* Fri Apr 16 2010 Marcela Mašláňová <mmaslano@redhat.com> - 6.07-1
|
|
|
|
- update
|
|
|
|
|
2010-02-01 09:05:31 +00:00
|
|
|
* Mon Feb 1 2010 Marcela Mašláňová <mmaslano@redhat.com> - 6.05-1
|
|
|
|
- update, remove patch (tested functionality without it)
|
|
|
|
|
2010-01-13 08:30:51 +00:00
|
|
|
* Wed Jan 13 2010 Marcela Mašláňová <mmaslano@redhat.com> - 5.54-5
|
|
|
|
- add license into doc and fix rpmlint warnings
|
|
|
|
|
2009-12-07 13:22:21 +00:00
|
|
|
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 5.54-4
|
|
|
|
- rebuild against perl 5.10.1
|
|
|
|
|
2009-07-26 05:32:49 +00:00
|
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.54-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-26 14:39:54 +00:00
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.54-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-11-26 17:07:07 +00:00
|
|
|
* Wed Nov 26 2008 Stepan Kasal <skasal@redhat.com> - 5.54-1
|
|
|
|
- new upstream version
|
2008-11-28 12:44:00 +00:00
|
|
|
- add BuildRequires so that testsuite can be fully executed
|
2008-11-26 17:07:07 +00:00
|
|
|
|
2008-02-28 13:04:57 +00:00
|
|
|
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 5.48-3
|
|
|
|
- Rebuild for perl 5.10 (again)
|
|
|
|
|
2008-01-20 16:21:10 +00:00
|
|
|
* Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 5.48-2
|
|
|
|
- rebuild for new perl
|
|
|
|
|
2008-01-04 19:49:05 +00:00
|
|
|
* Thu Jan 3 2008 Ed Avis <eda@waniasset.com> - 5.48-1
|
|
|
|
- Update to 5.48.
|
|
|
|
- rhbz#214709 Krasnoyarsk patch now upstream.
|
|
|
|
- Changed name to Date-Manip as now used on CPAN.
|
|
|
|
|
|
|
|
* Mon Aug 27 2007 Robin Norwood <rnorwood@redhat.com> - 5.44-4
|
|
|
|
- Apply patch to use date +%%z as possible source for timezone data
|
|
|
|
- Fix license tag
|
|
|
|
- Add TODO and HISTORY to %%doc list
|
|
|
|
|
|
|
|
* Tue Mar 20 2007 Robin Norwood <rnorwood@redhat.com> - 5.44-3
|
|
|
|
- Fix minor issues in spec file for package review
|
|
|
|
- Bump release
|
|
|
|
- Resolves: rhbz#226250
|
|
|
|
|
|
|
|
* Fri Nov 10 2006 Robin Norwood <rnorwood@redhat.com> - 5.44-2
|
|
|
|
- Add support for KRAT and KRAST timezones
|
|
|
|
- Include magic dist tag in release
|
|
|
|
- Resolves: rhbz#214709
|
|
|
|
- Related: rhbz#100786
|
|
|
|
|
|
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 5.44-1.3
|
|
|
|
- rebuild
|
|
|
|
|
|
|
|
* Fri Feb 03 2006 Jason Vas Dias <jvdias@redhat.com> - 5.44-1.2
|
|
|
|
- rebuild for new perl-5.8.8
|
|
|
|
|
|
|
|
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
|
- rebuilt for new gcc
|
|
|
|
|
|
|
|
* Fri Sep 9 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 5.44-1
|
|
|
|
- Update to 5.44.
|
|
|
|
|
|
|
|
* Mon Apr 25 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 5.42a-4
|
|
|
|
- Bring up to date with current Fedora.Extras perl spec template. (#155913)
|
|
|
|
|
|
|
|
* Wed Sep 22 2004 Chip Turner <cturner@redhat.com> 5.42a-2
|
|
|
|
- rebuild
|
|
|
|
|
|
|
|
* Fri Feb 13 2004 Chip Turner <cturner@redhat.com> 5.42a-1
|
|
|
|
- update to 5.42a
|
|
|
|
|
|
|
|
* Tue Aug 6 2002 Chip Turner <cturner@redhat.com>
|
|
|
|
- automated release bump and build
|
|
|
|
|
|
|
|
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
|
|
|
* Fri Dec 7 2001 root <root@redhat.com>
|
|
|
|
- Spec file was autogenerated.
|