2007-01-16 00:32:03 +01:00
|
|
|
#
|
|
|
|
# spec file for package perl-TimeDate (Version 1.16)
|
|
|
|
#
|
2009-06-18 17:14:22 +02:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:32:03 +01:00
|
|
|
#
|
2009-06-18 17:14:22 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2007-01-16 00:32:03 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2009-06-18 17:14:22 +02:00
|
|
|
|
|
|
|
Name: perl-TimeDate
|
|
|
|
License: Artistic License
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
Provides: TimeDate
|
|
|
|
Requires: perl = %{perl_version}
|
|
|
|
AutoReqProv: on
|
|
|
|
Version: 1.16
|
|
|
|
Release: 257
|
|
|
|
Summary: Perl Modules for Time and Date Calculation
|
|
|
|
Source: TimeDate-%{version}.tar.gz
|
|
|
|
Patch: TimeDate-deprecated_array_use.patch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-01-16 00:32:03 +01:00
|
|
|
|
|
|
|
%description
|
2009-06-18 17:14:22 +02:00
|
|
|
These modules provide Perl functions for performing time and date
|
|
|
|
calculations.
|
2007-01-16 00:32:03 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Graham Barr <gbarr@pobox.com>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -n TimeDate-%{version}
|
|
|
|
%patch
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL
|
|
|
|
make
|
|
|
|
make test
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
|
|
|
|
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 ChangeLog README
|
|
|
|
%doc %{_mandir}/man?/*
|
|
|
|
%{perl_vendorlib}/Date
|
|
|
|
%{perl_vendorlib}/Time
|
|
|
|
%{perl_vendorarch}/auto/TimeDate
|
|
|
|
/var/adm/perl-modules/%{name}
|
|
|
|
|
2009-06-18 17:14:22 +02:00
|
|
|
%changelog
|
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-16 00:32:03 +01:00
|
|
|
- converted neededforbuild to BuildRequires
|
2009-06-18 17:14:22 +02:00
|
|
|
* Sun Jan 11 2004 adrian@suse.de
|
2007-01-16 00:32:03 +01:00
|
|
|
- build as user
|
2009-06-18 17:14:22 +02:00
|
|
|
* Fri Aug 22 2003 mjancar@suse.cz
|
2007-01-16 00:32:03 +01:00
|
|
|
- require the perl version we build with
|
2009-06-18 17:14:22 +02:00
|
|
|
* Mon Jul 21 2003 rommel@suse.de
|
2007-01-16 00:32:03 +01:00
|
|
|
- update to version 1.16
|
|
|
|
- using perl_vendorlib and perl_vendorarch instead of
|
|
|
|
perl_sitearch and perl_archlib
|
2009-06-18 17:14:22 +02:00
|
|
|
* Wed Jun 18 2003 coolo@suse.de
|
2007-01-16 00:32:03 +01:00
|
|
|
- package directories
|
2009-06-18 17:14:22 +02:00
|
|
|
* Sun May 25 2003 ro@suse.de
|
2007-01-16 00:32:03 +01:00
|
|
|
- remove unpackaged files from buildroot
|
2009-06-18 17:14:22 +02:00
|
|
|
* Thu Jan 16 2003 rommel@suse.de
|
2007-01-16 00:32:03 +01:00
|
|
|
- update to version 1.14
|
|
|
|
- fixed depricated array use in timegm()
|
2009-06-18 17:14:22 +02:00
|
|
|
* Thu Aug 08 2002 mls@suse.de
|
2007-01-16 00:32:03 +01:00
|
|
|
- use sitearch macro
|
2009-06-18 17:14:22 +02:00
|
|
|
* Tue Jul 02 2002 mls@suse.de
|
2007-01-16 00:32:03 +01:00
|
|
|
- remove race in .packlist generation
|
2009-06-18 17:14:22 +02:00
|
|
|
* Tue Nov 07 2000 grimmer@suse.de
|
2007-01-16 00:32:03 +01:00
|
|
|
- added .packlist to file list and removed BuildRoot path
|
2009-06-18 17:14:22 +02:00
|
|
|
* Tue Nov 07 2000 grimmer@suse.de
|
2007-01-16 00:32:03 +01:00
|
|
|
- removed BuildRoot path from perllocal.pod
|
2009-06-18 17:14:22 +02:00
|
|
|
* Mon Nov 06 2000 grimmer@suse.de
|
2007-01-16 00:32:03 +01:00
|
|
|
- initial version (1.10)
|