You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.2 KiB
44 lines
1.2 KiB
Name: perl-Clone-Choose
|
|
Version: 0.008
|
|
Release: 1%{?dist}
|
|
Summary: Choose appropriate clone utility
|
|
Group: Development/Libraries
|
|
License: GPL+ or Artistic
|
|
URL: http://search.cpan.org/dist/Clone-Choose/
|
|
Source0: http://search.cpan.org/CPAN/authors/id/H/HE/HERMES/Clone-Choose-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
BuildRequires: perl-generators
|
|
BuildRequires: perl(Test::More), perl(Clone::PP), perl(ExtUtils::MakeMaker), perl(Storable), perl(Clone)
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
%{?perl_default_filter}
|
|
|
|
%description
|
|
%{summary}.
|
|
|
|
%prep
|
|
%setup -q -n Clone-Choose-%{version}
|
|
|
|
%build
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make pure_install DESTDIR=%{buildroot}
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|
chmod -x %{buildroot}%{perl_vendorlib}/Clone/Choose.pm
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
%check
|
|
make test
|
|
|
|
%files
|
|
%doc Changes README.md
|
|
%{perl_vendorlib}/Clone/
|
|
%{_mandir}/man3/*.3*
|
|
|
|
%changelog
|
|
* Mon Nov 20 2017 Tom Callaway <spot@fedoraproject.org> - 0.008-1
|
|
- initial package
|