From 328c8ba29e7af7567aa1b93355bb8ab010759578 Mon Sep 17 00:00:00 2001 From: corsepiu Date: Oct 17 2005 13:00:37 +0000 Subject: auto-import perl-Business-Hours-0.07-1 on branch devel from perl-Business-Hours-0.07-1.src.rpm --- diff --git a/.cvsignore b/.cvsignore index e69de29..49b53bf 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Business-Hours-0.07.tar.gz diff --git a/perl-Business-Hours.spec b/perl-Business-Hours.spec new file mode 100644 index 0000000..09411a4 --- /dev/null +++ b/perl-Business-Hours.spec @@ -0,0 +1,59 @@ +Summary: Calculate business hours in a time period +Name: perl-Business-Hours +Version: 0.07 +Release: 1%{?dist} +License: GPL or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Business-Hours/ +Source0: http://search.cpan.org/CPAN/authors/id/J/JE/JESSE/Business-Hours-%{version}.tar.gz +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +BuildRequires: perl(Set::IntSpan) + +# Required by the tests +BuildRequires: perl(Test::Pod) >= 1.00 +BuildRequires: perl(Test::Pod::Coverage) >= 1.00 + +%description +A simple tool for calculating business hours in a time period. Over time, +additional functionality will be added to make it easy to calculate the +number of business hours between arbitrary dates. + +%prep +%setup -q -n Business-Hours-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' +find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' +chmod -R u+w $RPM_BUILD_ROOT/* + + +%clean +rm -rf $RPM_BUILD_ROOT + +%check +make test + +%files +%defattr(-,root,root,-) +%doc Changes LICENSE +%{perl_vendorlib}/Business +%{_mandir}/man3/* + +%changelog +* Tue Oct 10 2005 Ralf Corsepius - 0.07-1 +- Upstream update. +- FE submission. + +* Tue Mar 22 2005 Ralf Corsepius - 0.06-0.pm.2 +- Initial packman version. diff --git a/sources b/sources index e69de29..479a923 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +963e2a6c7b1db22ae9526ead930670ef Business-Hours-0.07.tar.gz