You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
perl-Algorithm-Dependency/perl-Algorithm-Dependency.spec

67 lines
2.1 KiB
Plaintext

Name: perl-Algorithm-Dependency
Version: 1.112
Release: 1%{?dist}
Summary: Base class for implementing various dependency trees
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Algorithm-Dependency/
Source0: http://www.cpan.org/authors/id/E/ET/ETHER/Algorithm-Dependency-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl >= 0:5.006
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Spec) >= 0.80
BuildRequires: perl(File::Spec::Functions)
BuildRequires: perl(List::Util) >= 1.11
BuildRequires: perl(Params::Util) >= 0.31
BuildRequires: perl(strict)
BuildRequires: perl(Test::ClassAPI) >= 0.6
BuildRequires: perl(Test::More) >= 0.47
BuildRequires: perl(warnings)
Requires: perl(List::Util) >= 1.11
Requires: perl(Params::Util) >= 0.31
Requires: perl(strict)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Provides: perl(Algorithm::Dependency)
Provides: perl(Algorithm::Dependency::Item)
Provides: perl(Algorithm::Dependency::Ordered)
Provides: perl(Algorithm::Dependency::Source)
%description
Algorithm::Dependency is a framework for creating simple read-only
dependency hierarchies, where you have a set of items that rely on other
items in the set, and require actions on them as well.
%prep
%setup -q -n Algorithm-Dependency-%{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 -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes CONTRIBUTING dist.ini LICENSE META.json README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Sat Feb 17 2024 Trevor Batley <trevor@batley.id.au> 1.112-1
- Specfile autogenerated by cpanspec 1.78.