forked from pool/perl-Time-modules
87 lines
2.2 KiB
RPMSpec
87 lines
2.2 KiB
RPMSpec
|
|
#
|
||
|
|
# spec file for package perl-Time-modules (Version 2006.0814)
|
||
|
|
#
|
||
|
|
# Copyright (c) 2006 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-Time-modules
|
||
|
|
Version: 2006.0814
|
||
|
|
Release: 1
|
||
|
|
Requires: perl = %{perl_version}
|
||
|
|
Autoreqprov: on
|
||
|
|
Group: Development/Libraries/Perl
|
||
|
|
URL: http://www.cpan.org/modules/by-module/Time/
|
||
|
|
License: Other License(s), see package
|
||
|
|
Summary: Various Perl time modules
|
||
|
|
Source: Time-modules-%{version}.tar.bz2
|
||
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
|
|
||
|
|
%description
|
||
|
|
Perl modules providing various time functions.
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
Authors:
|
||
|
|
--------
|
||
|
|
David Muir Sharnoff <muir@idiom.com>
|
||
|
|
|
||
|
|
%prep
|
||
|
|
%setup -n Time-modules-%{version}
|
||
|
|
|
||
|
|
%build
|
||
|
|
perl Makefile.PL
|
||
|
|
make
|
||
|
|
make test
|
||
|
|
|
||
|
|
%install
|
||
|
|
rm -rf $RPM_BUILD_ROOT
|
||
|
|
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
||
|
|
%perl_process_packlist
|
||
|
|
|
||
|
|
%clean
|
||
|
|
rm -rf $RPM_BUILD_ROOT
|
||
|
|
|
||
|
|
%files
|
||
|
|
%defattr(-, root, root)
|
||
|
|
%doc CHANGELOG README
|
||
|
|
%doc %{_mandir}/man?/*
|
||
|
|
%{perl_vendorlib}/Time/
|
||
|
|
%{perl_vendorarch}/auto/Time-modules/
|
||
|
|
/var/adm/perl-modules/%{name}
|
||
|
|
|
||
|
|
%changelog -n perl-Time-modules
|
||
|
|
* Wed Sep 13 2006 - anicka@suse.cz
|
||
|
|
- update to 2006.0814
|
||
|
|
* A bugfix for negative offsets that overflowed
|
||
|
|
* Add a few more timezones
|
||
|
|
* Recognize fractional times counts like "1.5 minutes ago"
|
||
|
|
* Recognize Dow "before last"
|
||
|
|
* Change various __DATA__ to __END__
|
||
|
|
* Wed Jan 25 2006 - mls@suse.de
|
||
|
|
- converted neededforbuild to BuildRequires
|
||
|
|
* Thu Feb 26 2004 - mjancar@suse.cz
|
||
|
|
- update to 2003.1126
|
||
|
|
* Sun Jan 11 2004 - adrian@suse.de
|
||
|
|
- build as user
|
||
|
|
* Fri Aug 22 2003 - mjancar@suse.cz
|
||
|
|
- require the perl version we build with
|
||
|
|
* Thu Jul 24 2003 - mjancar@suse.cz
|
||
|
|
- update to 2003.0211
|
||
|
|
* Tue Jul 15 2003 - mjancar@suse.cz
|
||
|
|
- adapt to perl-5.8.1
|
||
|
|
- use %%perl_process_packlist
|
||
|
|
* Tue May 20 2003 - mjancar@suse.cz
|
||
|
|
- remove unpackaged files
|
||
|
|
* Fri Dec 27 2002 - prehak@suse.cz
|
||
|
|
- updated to version 2002.1001
|
||
|
|
* Tue Jul 02 2002 - mls@suse.de
|
||
|
|
- remove race in .packlist generation
|
||
|
|
* Fri Jun 28 2002 - prehak@suse.cz
|
||
|
|
- new package perl-Time-modules version 101.062101
|