1 |
%define upstream_name ExtUtils-Command |
2 |
%define upstream_version 1.17 |
3 |
|
4 |
Name: perl-%{upstream_name} |
5 |
Version: %perl_convert_version %{upstream_version} |
6 |
Release: %mkrel 1 |
7 |
|
8 |
Summary: Utilities to replace common UNIX commands in Makefiles etc |
9 |
License: GPL+ or Artistic |
10 |
Group: Development/Perl |
11 |
Url: http://search.cpan.org/dist/%{upstream_name} |
12 |
Source0: http://www.cpan.org/modules/by-module/ExtUtils/%{upstream_name}-%{upstream_version}.tar.gz |
13 |
|
14 |
BuildRequires: perl(Carp) |
15 |
BuildRequires: perl(Exporter) |
16 |
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.310.0 |
17 |
BuildRequires: perl(File::Basename) |
18 |
BuildRequires: perl(File::Compare) |
19 |
BuildRequires: perl(File::Copy) |
20 |
BuildRequires: perl(File::Path) |
21 |
BuildRequires: perl(vars) |
22 |
BuildArch: noarch |
23 |
|
24 |
%description |
25 |
Thin wrapper around ExtUtils::Command. See the ExtUtils::Command manpage |
26 |
for a description of available commands. |
27 |
|
28 |
%prep |
29 |
%setup -q -n %{upstream_name}-%{upstream_version} |
30 |
|
31 |
%build |
32 |
%{__perl} Makefile.PL INSTALLDIRS=vendor |
33 |
|
34 |
%{make} |
35 |
|
36 |
%check |
37 |
%{make} test |
38 |
|
39 |
%install |
40 |
rm -rf %buildroot |
41 |
%makeinstall_std |
42 |
|
43 |
%clean |
44 |
rm -rf %buildroot |
45 |
|
46 |
%files |
47 |
%defattr(-,root,root) |
48 |
%doc Changes LICENSE META.json META.yml README |
49 |
%{_mandir}/man3/* |
50 |
%perl_vendorlib/* |