113 lines
3.2 KiB
RPMSpec
113 lines
3.2 KiB
RPMSpec
#
|
|
# spec file for package perl-Date-Manip (Version 5.54)
|
|
#
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
# This file and all modifications and additions to the pristine
|
|
# package are under the same license as the package itself.
|
|
#
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
|
|
Name: perl-Date-Manip
|
|
Summary: Date Manipulation Routines
|
|
Version: 5.54
|
|
Release: 2
|
|
Provides: DateManip perl-DateManip = %{version}
|
|
Obsoletes: perl-DateManip < %{version}
|
|
Requires: perl = %{perl_version}
|
|
AutoReqProv: on
|
|
Group: Development/Libraries/Perl
|
|
License: Artistic License
|
|
Url: http://www.cise.ufl.edu/~sbeck/
|
|
Source: Date-Manip-%{version}.tar.bz2
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
This is a set of routines designed to make any common date and time
|
|
manipulation easy to perform. Operations such as comparing two times,
|
|
calculating a time a given amount of time from another time, or parsing
|
|
international times are all easily accomplished.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Sullivan Beck <sbeck@cpan.org>
|
|
|
|
%prep
|
|
%setup -q -n Date-Manip-%{version}
|
|
|
|
%build
|
|
perl Makefile.PL
|
|
make %{?jobs:-j %jobs}
|
|
|
|
%check
|
|
make test
|
|
|
|
%install
|
|
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
|
%perl_process_packlist
|
|
|
|
%clean
|
|
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-, root, root)
|
|
%doc HISTORY LICENSE README* TODO
|
|
%doc %{_mandir}/man?/*
|
|
%{perl_vendorlib}/Date
|
|
%{perl_vendorarch}/auto/Date
|
|
/var/adm/perl-modules/%{name}
|
|
|
|
%changelog
|
|
* Wed Jul 23 2008 anicka@suse.cz
|
|
- update to 5.54
|
|
* Final changes to meet requirements on http://cpants.perl.org/
|
|
- rename from perl-DateManip to perl-Date-Manip according to cpan
|
|
* Wed May 07 2008 lrupp@suse.de
|
|
- update to 5.50:
|
|
* Corrected typo in %%G and %%L format descriptions
|
|
* Added "ereyesterday"
|
|
* Added new timezones
|
|
* Added Build.PL and several other things to meet requirements on
|
|
http://cpants.perl.org/
|
|
- remove INSTALL, added LICENSE and README.FIRST to doc
|
|
- build parallel
|
|
* Mon Mar 10 2008 anicka@suse.cz
|
|
- update to 5.48
|
|
* Language fix for Danish.
|
|
* Language fix for German.
|
|
* New timezones.
|
|
* Minor documentation improvement.
|
|
* Revised some of the docs about Y2K (given that it's in the past)
|
|
and the 2007 US daylight saving time rule changes.
|
|
* bugfixes
|
|
* Wed Jan 25 2006 mls@suse.de
|
|
- converted neededforbuild to BuildRequires
|
|
* Fri Jan 06 2006 anicka@suse.cz
|
|
- update to 5.44
|
|
* Sun Jan 11 2004 adrian@suse.de
|
|
- build as user
|
|
* Fri Aug 22 2003 mjancar@suse.cz
|
|
- require the perl version we build with
|
|
* Mon Jul 21 2003 rommel@suse.de
|
|
- update to version 5.42a
|
|
- using perl_vendorlib and perl_vendorarch instead of
|
|
perl_archlib and perl_sitearch
|
|
* Sun Jun 22 2003 coolo@suse.de
|
|
- package directories
|
|
* Mon May 26 2003 ro@suse.de
|
|
- remove unpackaged files from buildroot
|
|
* Tue Jul 02 2002 mls@suse.de
|
|
- remove race in .packlist generation
|
|
* Fri Jun 22 2001 grimmer@suse.de
|
|
- Update to version 5.40
|
|
- use more perl macros in spec file
|
|
* Tue Nov 07 2000 grimmer@suse.de
|
|
- added .packlist to file list and removed BuildRoot path with sed
|
|
* Tue Nov 07 2000 grimmer@suse.de
|
|
- initial version (5.39)
|