Compare commits
10 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c449ee43ec | ||
|
|
a6ad16b574 | ||
|
|
b23001a055 | ||
|
|
da4455afbb | ||
|
|
3b47dd2e68 | ||
|
|
1c40a2755b | ||
|
|
61cc23b504 | ||
|
|
77192523e5 | ||
|
|
80188d713a | ||
|
|
da8e5054e5 |
3 changed files with 23 additions and 41 deletions
29
.gitignore
vendored
29
.gitignore
vendored
|
|
@ -1,28 +1 @@
|
|||
/ack-1.94.tar.gz
|
||||
/ack-1.96.tar.gz
|
||||
/ack-2.00.tar.gz
|
||||
/ack-2.04.tar.gz
|
||||
/ack-2.08.tar.gz
|
||||
/ack-2.10.tar.gz
|
||||
/ack-2.12.tar.gz
|
||||
/ack-2.14.tar.gz
|
||||
/ack-2.16.tar.gz
|
||||
/ack-2.18.tar.gz
|
||||
/ack-2.20.tar.gz
|
||||
/ack-2.22.tar.gz
|
||||
/ack-2.24.tar.gz
|
||||
/ack-2.999_06.tar.gz
|
||||
/ack-v3.0.0.tar.gz
|
||||
/ack-v3.0.1.tar.gz
|
||||
/ack-v3.0.2.tar.gz
|
||||
/ack-v3.0.3.tar.gz
|
||||
/ack-v3.1.0.tar.gz
|
||||
/ack-v3.1.1.tar.gz
|
||||
/ack-v3.1.2.tar.gz
|
||||
/ack-v3.2.0.tar.gz
|
||||
/ack-v3.3.0.tar.gz
|
||||
/ack-v3.3.1.tar.gz
|
||||
/ack-v3.4.0.tar.gz
|
||||
/ack-v3.5.0.tar.gz
|
||||
/ack-v3.6.0.tar.gz
|
||||
/ack-v3.7.0.tar.gz
|
||||
ack3-*.tar.gz
|
||||
|
|
|
|||
33
ack.spec
33
ack.spec
|
|
@ -1,12 +1,11 @@
|
|||
Name: ack
|
||||
Version: 3.7.0
|
||||
%global cpan_version v%{version}
|
||||
Version: 3.9.0
|
||||
Release: %autorelease
|
||||
Summary: Grep-like text finder
|
||||
Summary: A Grep-like source code search tool
|
||||
# SPDX migration
|
||||
License: Artistic-2.0
|
||||
URL: http://beyondgrep.com/
|
||||
Source0: https://cpan.metacpan.org/authors/id/P/PE/PETDANCE/%{name}-%{cpan_version}.tar.gz
|
||||
Source: https://github.com/beyondgrep/ack3/archive/v%{version}/ack3-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: findutils
|
||||
|
|
@ -17,6 +16,7 @@ BuildRequires: perl(:VERSION) >= 5.10.1
|
|||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(warnings)
|
||||
BuildRequires: perl(Template)
|
||||
# Run-time:
|
||||
BuildRequires: perl(Config)
|
||||
BuildRequires: perl(Cwd) >= 3.00
|
||||
|
|
@ -48,6 +48,7 @@ BuildRequires: perl(Term::ANSIColor) >= 1.10
|
|||
BuildRequires: perl(Test::Builder)
|
||||
BuildRequires: perl(Test::Harness) >= 2.5
|
||||
BuildRequires: perl(Test::More) >= 0.98
|
||||
BuildRequires: perl(YAML::PP)
|
||||
Requires: perl(File::Basename) >= 1.00015
|
||||
Requires: perl(Config)
|
||||
Requires: perl(File::Next) >= 1.18
|
||||
|
|
@ -58,22 +59,28 @@ Requires: perl(Pod::Usage) >= 1.26
|
|||
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\(File::Next\\)
|
||||
|
||||
%description
|
||||
Ack is designed as a replacement for grep.
|
||||
Ack is a grep-like search tool designed for use with large heterogeneous
|
||||
trees of source code. It searchs recursively and ignores common version
|
||||
control directories.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{cpan_version}
|
||||
%setup -q -n ack3-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
make
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
||||
%{make_build}
|
||||
|
||||
make completion.bash
|
||||
make completion.zsh
|
||||
|
||||
%install
|
||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||
%{make_install}
|
||||
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
||||
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||
install -D -p -m 0644 completion.bash %{buildroot}%{bash_completions_dir}/ack
|
||||
install -D -p -m 0644 completion.zsh %{buildroot}%{zsh_completions_dir}/_ack
|
||||
|
||||
%{_fixperms} %{buildroot}/*
|
||||
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
|
@ -84,6 +91,8 @@ make test
|
|||
%{perl_vendorlib}/*
|
||||
%{_bindir}/%{name}
|
||||
%{_mandir}/man1/%{name}*
|
||||
%{bash_completions_dir}/ack
|
||||
%{zsh_completions_dir}/_ack
|
||||
|
||||
|
||||
%changelog
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (ack-v3.7.0.tar.gz) = 3d97309956ce65f972a7636d195b13031f4441981d5bdddf0b67e577c32c88972f7ed02ffafbbf73c4db9a22f200f95cce9c8eb2a6f47fd60143d93469038f57
|
||||
SHA512 (ack3-3.9.0.tar.gz) = 244f799bee3ba4f450ebd0b116eb7d31d46f95d522a5fed187795e9c3fd5b4e6def881d5d8bb685559ed582e3abee0cb4ea2752cacdac6930ce5737cfbca3147
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue