102 lines
3.0 KiB
RPMSpec
102 lines
3.0 KiB
RPMSpec
Name: perl-App-find2perl
|
|
Version: 1.003
|
|
Release: 9%{?dist}
|
|
Summary: Translate find command lines to Perl code
|
|
License: GPL+ or Artistic
|
|
Group: Development/Tools
|
|
URL: http://search.cpan.org/dist/App-find2perl/
|
|
Source0: http://www.cpan.org/authors/id/L/LE/LEONT/App-find2perl-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
BuildRequires: perl
|
|
BuildRequires: perl-generators
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
|
|
BuildRequires: perl(strict)
|
|
BuildRequires: perl(warnings)
|
|
# Run-time:
|
|
BuildRequires: perl(Config)
|
|
BuildRequires: perl(Cwd)
|
|
BuildRequires: perl(File::Find)
|
|
BuildRequires: perl(File::Spec::Functions)
|
|
BuildRequires: perl(vars)
|
|
# Tests:
|
|
%if !%{defined perl_bootstrap}
|
|
BuildRequires: perl(constant)
|
|
BuildRequires: perl(Devel::FindPerl) >= 0.009
|
|
BuildRequires: perl(File::Path)
|
|
%endif
|
|
BuildRequires: perl(File::Spec)
|
|
%if !%{defined perl_bootstrap}
|
|
BuildRequires: perl(File::Temp)
|
|
%endif
|
|
BuildRequires: perl(IO::Handle)
|
|
%if !%{defined perl_bootstrap}
|
|
BuildRequires: perl(IPC::Open2)
|
|
%endif
|
|
BuildRequires: perl(IPC::Open3)
|
|
%if !%{defined perl_bootstrap}
|
|
BuildRequires: perl(open)
|
|
BuildRequires: perl(Perl::OSType)
|
|
%endif
|
|
BuildRequires: perl(Test::More)
|
|
%if !%{defined perl_bootstrap}
|
|
BuildRequires: %{_bindir}/find
|
|
%endif
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
Conflicts: perl < 4:5.18.2-300
|
|
|
|
%description
|
|
This package delivers find2perl tool which is a little translator to convert
|
|
find command lines to equivalent Perl code.
|
|
|
|
%prep
|
|
%setup -q -n App-find2perl-%{version}
|
|
%if %{defined perl_bootstrap}
|
|
rm t/find2perl.t
|
|
sed -i -e '/^t\/find2perl.t/d' MANIFEST
|
|
%endif
|
|
|
|
%build
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
%check
|
|
make test
|
|
|
|
%files
|
|
%doc Changes LICENSE README
|
|
%{_bindir}/*
|
|
%{_mandir}/man1/*
|
|
|
|
%changelog
|
|
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.003-9
|
|
- Perl 5.24 re-rebuild of bootstrapped packages
|
|
|
|
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.003-8
|
|
- Perl 5.24 rebuild
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.003-7
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.003-6
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.003-5
|
|
- Perl 5.22 re-rebuild of bootstrapped packages
|
|
|
|
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.003-4
|
|
- Perl 5.22 rebuild
|
|
|
|
* Thu Jan 08 2015 Petr Pisar <ppisar@redhat.com> - 1.003-3
|
|
- Disable a test when bootstrapping because of non-core Devel::FindPerl
|
|
|
|
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.003-2
|
|
- Perl 5.20 rebuild
|
|
|
|
* Thu Jun 19 2014 Petr Pisar <ppisar@redhat.com> 1.003-1
|
|
- Specfile autogenerated by cpanspec 1.78.
|