144 lines
4.6 KiB
RPMSpec
144 lines
4.6 KiB
RPMSpec
Name: perl-Date-Manip
|
|
Version: 6.05
|
|
Release: 1%{?dist}
|
|
Summary: A Perl module containing a wide variety of date manipulation routines
|
|
|
|
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
|
|
|
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
|
|
BuildArch: noarch
|
|
BuildRequires: perl(Module::Build)
|
|
BuildRequires: perl(YAML::Syck)
|
|
BuildRequires: perl(Test::More)
|
|
Requires: perl(YAML::Syck)
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
# This package was formerly known as perl-DateManip
|
|
Provides: perl-DateManip = %{version}-%{release}
|
|
Obsoletes: perl-DateManip < 5.48-1
|
|
|
|
|
|
%description
|
|
Date::Manip is a series of modules designed to make any common date/time
|
|
manipulation easy to do. Operations such as comparing two times,
|
|
calculating a time a given amount of time from another, or parsing
|
|
international times are all easily done. From the very beginning, the main
|
|
focus of Date::Manip has been to be able to do ANY desired date/time
|
|
operation easily, not necessarily quickly. Also, it is definitely oriented
|
|
towards the type of operations we (as people) tend to think of rather than
|
|
those operations used routinely by computers. There are other modules that
|
|
can do a subset of the operations available in Date::Manip much quicker
|
|
than those presented here, so be sure to read the section SHOULD I USE
|
|
DATE::MANIP in the Date::Manip::Misc document before deciding which of the
|
|
Date and Time modules from CPAN is for you.
|
|
|
|
%prep
|
|
%setup -q -n Date-Manip-%{version}
|
|
|
|
%build
|
|
%{__perl} Build.PL installdirs=vendor
|
|
./Build
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
%check
|
|
./Build test
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc HISTORY LICENSE README README.first requirements
|
|
%{perl_vendorlib}/Date/
|
|
%{_mandir}/man3/*.3*
|
|
|
|
|
|
%changelog
|
|
* Mon Feb 1 2010 Marcela Mašláňová <mmaslano@redhat.com> - 6.05-1
|
|
- update, remove patch (tested functionality without it)
|
|
|
|
* Wed Jan 13 2010 Marcela Mašláňová <mmaslano@redhat.com> - 5.54-5
|
|
- add license into doc and fix rpmlint warnings
|
|
|
|
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 5.54-4
|
|
- rebuild against perl 5.10.1
|
|
|
|
* 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
|
|
|
|
* 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
|
|
|
|
* Wed Nov 26 2008 Stepan Kasal <skasal@redhat.com> - 5.54-1
|
|
- new upstream version
|
|
- add BuildRequires so that testsuite can be fully executed
|
|
|
|
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 5.48-3
|
|
- Rebuild for perl 5.10 (again)
|
|
|
|
* Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 5.48-2
|
|
- rebuild for new perl
|
|
|
|
* 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.
|