|
|
f596d2 |
%{?scl:%scl_package perl-ExtUtils-Command}
|
|
|
f596d2 |
|
|
|
f596d2 |
Name: %{?scl_prefix}perl-ExtUtils-Command
|
|
|
f596d2 |
Version: 1.20
|
|
|
f596d2 |
Release: 1%{?dist}
|
|
|
f596d2 |
Summary: Perl routines to replace common UNIX commands in Makefiles
|
|
|
f596d2 |
License: GPL+ or Artistic
|
|
|
f596d2 |
Group: Development/Libraries
|
|
|
f596d2 |
URL: http://search.cpan.org/dist/ExtUtils-Command/
|
|
|
f596d2 |
Source0: http://www.cpan.org/authors/id/B/BI/BINGOS/ExtUtils-Command-%{version}.tar.gz
|
|
|
f596d2 |
BuildArch: noarch
|
|
|
f596d2 |
BuildRequires: %{?scl_prefix}perl
|
|
|
f596d2 |
BuildRequires: %{?scl_prefix}perl(ExtUtils::MakeMaker)
|
|
|
f596d2 |
BuildRequires: %{?scl_prefix}perl(strict)
|
|
|
f596d2 |
BuildRequires: %{?scl_prefix}perl(warnings)
|
|
|
f596d2 |
# Run-time:
|
|
|
f596d2 |
BuildRequires: %{?scl_prefix}perl(Carp)
|
|
|
f596d2 |
BuildRequires: %{?scl_prefix}perl(Exporter)
|
|
|
f596d2 |
BuildRequires: %{?scl_prefix}perl(File::Copy)
|
|
|
f596d2 |
BuildRequires: %{?scl_prefix}perl(File::Find)
|
|
|
f596d2 |
BuildRequires: %{?scl_prefix}perl(File::Path)
|
|
|
f596d2 |
# File::Spec not used on Linux
|
|
|
f596d2 |
BuildRequires: %{?scl_prefix}perl(vars)
|
|
|
f596d2 |
# VMS::Feature not used on Linux
|
|
|
f596d2 |
# Tests:
|
|
|
f596d2 |
BuildRequires: %{?scl_prefix}perl(File::Spec)
|
|
|
f596d2 |
BuildRequires: %{?scl_prefix}perl(Test::More)
|
|
|
f596d2 |
Requires: %{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'}))
|
|
|
f596d2 |
Requires: %{?scl_prefix}perl(Carp)
|
|
|
f596d2 |
Requires: %{?scl_prefix}perl(File::Copy)
|
|
|
f596d2 |
Requires: %{?scl_prefix}perl(File::Find)
|
|
|
f596d2 |
Requires: %{?scl_prefix}perl(File::Path)
|
|
|
f596d2 |
|
|
|
f596d2 |
%description
|
|
|
f596d2 |
This Perl module is used to replace common UNIX commands. In all cases the
|
|
|
f596d2 |
functions work with @ARGV rather than taking arguments. This makes them
|
|
|
f596d2 |
easier to deal with in Makefiles.
|
|
|
f596d2 |
|
|
|
f596d2 |
%prep
|
|
|
f596d2 |
%setup -q -n ExtUtils-Command-%{version}
|
|
|
f596d2 |
|
|
|
f596d2 |
%build
|
|
|
f596d2 |
%{?scl:scl enable %{scl} '}perl Makefile.PL INSTALLDIRS=vendor && make %{?_smp_mflags}%{?scl:'}
|
|
|
f596d2 |
|
|
|
f596d2 |
%install
|
|
|
f596d2 |
%{?scl:scl enable %{scl} '}make pure_install DESTDIR=$RPM_BUILD_ROOT%{?scl:'}
|
|
|
f596d2 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
f596d2 |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
f596d2 |
|
|
|
f596d2 |
%check
|
|
|
f596d2 |
%{?scl:scl enable %{scl} '}make test%{?scl:'}
|
|
|
f596d2 |
|
|
|
f596d2 |
%files
|
|
|
f596d2 |
%doc Changes LICENSE README
|
|
|
f596d2 |
%{perl_vendorlib}/*
|
|
|
f596d2 |
%{_mandir}/man3/*
|
|
|
f596d2 |
|
|
|
f596d2 |
%changelog
|
|
|
f596d2 |
* Mon Jan 19 2015 Petr Pisar <ppisar@redhat.com> - 1.20-1
|
|
|
f596d2 |
- 1.20 bump
|
|
|
f596d2 |
|
|
|
f596d2 |
* Mon Jan 05 2015 Petr Pisar <ppisar@redhat.com> - 1.19-1
|
|
|
f596d2 |
- 1.19 bump
|
|
|
f596d2 |
|
|
|
f596d2 |
* Tue Nov 18 2014 Petr Pisar <ppisar@redhat.com> - 1.18-340
|
|
|
f596d2 |
- Increase release number to supersede perl's sub-package
|
|
|
f596d2 |
|
|
|
f596d2 |
* Wed Oct 29 2014 Petr Pisar <ppisar@redhat.com> 1.18-240
|
|
|
f596d2 |
- Specfile autogenerated by cpanspec 1.78.
|