File perl-Time-Duration.spec of Package perl-Time-Duration
#
# spec file for package perl-Time-Duration (Version 1.06)
#
# Copyright (c) 2007 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-Duration
Url: http://cpan.org/modules/by-module/Time/
License: Any permissive
Group: Development/Libraries/Perl
Requires: perl = %{perl_version}
BuildRequires: perl-Pod-Coverage perl-Pod-Escapes perl-Pod-Simple perl-Test-Pod perl-Test-Pod-Coverage
AutoReqProv: on
Summary: Rounded or exact English expression of durations
Version: 1.06
Release: 1
Source: Time-Duration-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This module provides functions for expressing durations in rounded or
exact terms.
Authors:
--------
Sean M. Burke <sburke@cpan.org>
Avi Finkel <avi@finkel.org>
%prep
%setup -q -n Time-Duration-%{version}
# ---------------------------------------------------------------------------
%build
perl Makefile.PL
make
#disable tests that need special modules
mv t/02_pod.t t/02_pod.tt
mv t/03_pod_cover.t t/03_pod_cover.tt
%check
make test
# ---------------------------------------------------------------------------
%install
rm -rf $RPM_BUILD_ROOT
make CFLAGS="$RPM_OPT_FLAGS" DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist
%files
%defattr(-,root,root)
%{perl_vendorlib}/Time
%{perl_vendorarch}/auto/Time
#%{perl_vendorarch}/auto/Time/Duration
%doc %{_mandir}/man3/*.gz
/var/adm/perl-modules/perl-Time-Duration
%doc README
%changelog
* Thu Oct 04 2007 - anicka@suse.cz
- update to 1.06
* Fixing Makefile
- fix BuildRequires, move make test to %%check
* Mon Jul 24 2006 - anicka@suse.cz
- update to 1.04
* tests reorganized
* Thu Jul 13 2006 - anicka@suse.cz
- update to 1.03
* new upstream maintainer
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Sep 20 2005 - schubi@suse.de
- initial