Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37041603
en ru br
Репозитории ALT

Группа :: Разработка/Прочее
Пакет: perl-Business-Hours

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Group: Development/Other
# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-build-perl
BuildRequires: perl-podlators
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Summary: Calculate business hours in a time period
Name: perl-Business-Hours
Version: 0.13
Release: alt1_4
License: GPL+ or Artistic
URL: https://metacpan.org/release/Business-Hours

Source0: https://cpan.metacpan.org/authors/id/B/BP/BPS/Business-Hours-%{version}.tar.gz
BuildArch: noarch

Requires:  perl(Set/IntSpan.pm) >= 1.120

BuildRequires: %{__perl}

BuildRequires: perl-devel
BuildRequires: rpm-build-perl
BuildRequires: perl(ExtUtils/MakeMaker.pm)
# Run-time:
BuildRequires: perl(Set/IntSpan.pm)
BuildRequires: perl(strict.pm)
BuildRequires: perl(Time/Local.pm)
BuildRequires: perl(warnings.pm)
# Required by the tests
BuildRequires: perl(Test/More.pm)
# Optional tests:
BuildRequires: perl(Test/Pod.pm)
BuildRequires: perl(Test/Pod/Coverage.pm)

# Filter under-specified dependencies


Source44: import.info
%filter_from_requires /^perl(Set.IntSpan.pm)/d

%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
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}


%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
# %{_fixperms} $RPM_BUILD_ROOT/*

%check
%{__make} test

%files
%doc --no-dereference LICENSE
%doc Changes
%{perl_vendor_privlib}/Business

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin