2020-09-29 21:00:14 +00:00
|
|
|
%global commit 5a1c8d83ba1514ca8d045ba80403f93772fb371a
|
2021-05-28 04:02:21 +00:00
|
|
|
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
2020-09-29 21:00:14 +00:00
|
|
|
%global date 2020704
|
|
|
|
|
2020-09-29 21:03:37 +00:00
|
|
|
%bcond_without tests
|
|
|
|
|
2014-04-24 13:33:22 +00:00
|
|
|
Name: the_silver_searcher
|
2021-05-28 04:02:21 +00:00
|
|
|
Version: 2.2.0^%{date}.%{shortcommit}
|
2023-01-21 04:59:00 +00:00
|
|
|
Release: 6%{?dist}
|
2014-10-15 07:06:16 +00:00
|
|
|
Summary: Super-fast text searching tool (ag)
|
2014-04-24 13:33:22 +00:00
|
|
|
License: ASL 2.0 and BSD
|
2021-05-28 04:02:21 +00:00
|
|
|
URL: https://github.com/ggreer/the_silver_searcher
|
|
|
|
Source0: %{url}/archive/%{commit}/%{name}-%{commit}.tar.gz
|
|
|
|
|
2021-05-28 04:19:16 +00:00
|
|
|
# https://github.com/ggreer/the_silver_searcher/pull/1145
|
|
|
|
Patch0: 0001-update-zsh-completion-for-new-options.patch
|
2020-09-29 21:01:45 +00:00
|
|
|
# https://github.com/ggreer/the_silver_searcher/pull/1410
|
2021-05-28 04:19:16 +00:00
|
|
|
Patch1: 0002-Install-shell-completion-files-to-correct-locations.patch
|
2014-04-24 13:33:22 +00:00
|
|
|
|
2021-05-28 04:02:21 +00:00
|
|
|
BuildRequires: make
|
2018-07-09 17:06:52 +00:00
|
|
|
BuildRequires: gcc
|
2014-04-24 13:33:22 +00:00
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: pcre-devel
|
|
|
|
BuildRequires: xz-devel
|
|
|
|
BuildRequires: zlib-devel
|
2021-05-28 04:10:09 +00:00
|
|
|
BuildRequires: uthash-devel
|
2020-09-29 21:03:37 +00:00
|
|
|
%if %{with tests}
|
|
|
|
BuildRequires: python3-cram
|
|
|
|
BuildRequires: git-core
|
|
|
|
%endif
|
|
|
|
|
2020-09-29 21:03:58 +00:00
|
|
|
Provides: ag
|
|
|
|
|
2014-04-24 13:33:22 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
The Silver Searcher is a code searching tool similar to ack,
|
|
|
|
with a focus on speed.
|
|
|
|
|
2020-09-29 21:00:14 +00:00
|
|
|
|
2014-04-24 13:33:22 +00:00
|
|
|
%prep
|
2021-05-28 04:02:21 +00:00
|
|
|
%autosetup -n %{name}-%{commit} -p 1
|
2020-09-29 21:00:14 +00:00
|
|
|
|
2021-05-28 04:10:09 +00:00
|
|
|
# https://github.com/ggreer/the_silver_searcher/issues/1411
|
|
|
|
rm src/uthash.h
|
|
|
|
sed -e '/ag_SOURCES/ s/ src\/uthash.h//' -i Makefile.am
|
|
|
|
|
2014-04-24 13:33:22 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
aclocal
|
|
|
|
autoconf
|
|
|
|
autoheader
|
|
|
|
automake --add-missing
|
|
|
|
%configure --disable-silent-rules
|
2020-09-29 21:00:14 +00:00
|
|
|
%make_build
|
|
|
|
|
2014-04-24 13:33:22 +00:00
|
|
|
|
|
|
|
%install
|
2020-09-29 21:00:14 +00:00
|
|
|
%make_install
|
2014-04-24 13:33:22 +00:00
|
|
|
|
2020-09-29 21:00:14 +00:00
|
|
|
|
2020-09-29 21:03:37 +00:00
|
|
|
%if %{with tests}
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
2014-04-24 13:33:22 +00:00
|
|
|
%files
|
2020-09-29 21:00:14 +00:00
|
|
|
%license LICENSE
|
|
|
|
%doc README.md
|
2014-04-24 13:33:22 +00:00
|
|
|
%{_bindir}/ag
|
|
|
|
%{_mandir}/man1/ag.1*
|
2020-09-29 21:01:45 +00:00
|
|
|
%{_datadir}/bash-completion/completions/ag
|
|
|
|
%{_datadir}/zsh/site-functions/_ag
|
2014-04-24 13:33:22 +00:00
|
|
|
|
2020-09-29 21:00:14 +00:00
|
|
|
|
2014-04-24 13:33:22 +00:00
|
|
|
%changelog
|
2023-01-21 04:59:00 +00:00
|
|
|
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0^2020704.5a1c8d8-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-07-23 10:24:12 +00:00
|
|
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0^2020704.5a1c8d8-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-01-22 02:37:18 +00:00
|
|
|
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0^2020704.5a1c8d8-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-12-24 09:57:27 +00:00
|
|
|
* Fri Dec 24 2021 Björn Esser <besser82@fedoraproject.org> - 2.2.0^2020704.5a1c8d8-3
|
|
|
|
- Rebuild(uthash)
|
|
|
|
|
2021-07-23 19:11:00 +00:00
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0^2020704.5a1c8d8-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-05-28 04:02:21 +00:00
|
|
|
* Fri May 28 2021 Carl George <carl@george.computer> - 2.2.0^2020704.5a1c8d8-1
|
|
|
|
- Switch to caret versioning
|
2021-05-28 04:10:09 +00:00
|
|
|
- Build against system uthash
|
2021-05-28 04:19:16 +00:00
|
|
|
- Add patch for zsh completion of new flags
|
2021-05-28 04:02:21 +00:00
|
|
|
|
2021-01-27 21:52:51 +00:00
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-09-29 21:00:14 +00:00
|
|
|
* Tue Sep 29 2020 Carl George <carl@george.computer> - 2.2.0-3.2020704git5a1c8d8
|
|
|
|
- Update to latest upstream commit
|
2020-09-29 21:01:45 +00:00
|
|
|
- Add patch to use correct shell completion locations
|
2020-09-29 21:03:37 +00:00
|
|
|
- Run test suite
|
2020-09-29 21:03:58 +00:00
|
|
|
- Add provides for ag and bundled uthash
|
2020-09-29 21:00:14 +00:00
|
|
|
|
2020-07-29 12:24:33 +00:00
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-04-15 17:36:37 +00:00
|
|
|
* Wed Apr 15 2020 Shlomi Fish <shlomif@cpan.org> - 2.2.0-1
|
|
|
|
- New upstream version
|
|
|
|
|
2020-01-31 01:28:09 +00:00
|
|
|
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-07-27 01:21:14 +00:00
|
|
|
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-02-03 09:45:39 +00:00
|
|
|
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-14 07:31:13 +00:00
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-02-09 18:53:22 +00:00
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-11-06 01:07:26 +00:00
|
|
|
* Mon Nov 6 2017 Kenjiro Nakayama <nakayamakenjiro@gmail.com> - 2.1.0-1
|
|
|
|
- update to 2.1.0
|
2017-07-27 20:13:43 +00:00
|
|
|
|
2017-07-06 05:00:00 +00:00
|
|
|
* Fri Jun 9 2017 Kenjiro Nakayama <nakayamakenjiro@gmail.com> - 2.0.0-1
|
|
|
|
- update to 2.0.0
|
2017-02-11 15:52:55 +00:00
|
|
|
|
2016-12-12 01:05:42 +00:00
|
|
|
* Thu Nov 3 2016 Kenjiro Nakayama <nakayamakenjiro@gmail.com> - 0.33.0-1
|
|
|
|
- update to 1.0.2
|
|
|
|
|
2016-11-03 04:47:43 +00:00
|
|
|
* Thu Nov 3 2016 Kenjiro Nakayama <nakayamakenjiro@gmail.com> - 0.33.0-1
|
|
|
|
- update to 0.33.0
|
|
|
|
|
2016-09-22 10:17:13 +00:00
|
|
|
* Thu Sep 22 2016 Kenjiro Nakayama <nakayamakenjiro@gmail.com> - 0.32.0-3
|
2016-09-22 08:41:37 +00:00
|
|
|
- Fixed bz#1377596
|
|
|
|
|
2016-06-30 01:28:40 +00:00
|
|
|
* Thu Jun 30 2016 Kenjiro Nakayama <nakayamakenjiro@gmail.com> - 0.32.0-1
|
|
|
|
- update to 0.32.0
|
2016-02-05 01:33:04 +00:00
|
|
|
|
2016-01-24 07:52:27 +00:00
|
|
|
* Sun Jan 24 2016 Kenjiro Nakayama <nakayamakenjiro@gmail.com> - 0.31.0-2
|
2016-01-24 07:51:08 +00:00
|
|
|
- Build for RHEL6(EPEL)
|
|
|
|
|
2015-12-29 05:24:34 +00:00
|
|
|
* Tue Dec 29 2015 Kenjiro Nakayama <nakayamakenjiro@gmail.com> - 0.31.0-1
|
|
|
|
- update to 0.31.0
|
2015-06-19 02:49:33 +00:00
|
|
|
|
2015-05-07 04:19:43 +00:00
|
|
|
* Thu May 07 2015 Kenjiro Nakayama <nakayamakenjiro@gmail.com> - 0.30.0-1
|
|
|
|
- update to 0.30.0
|
2015-02-16 00:36:56 +00:00
|
|
|
|
2014-12-15 04:45:10 +00:00
|
|
|
* Mon Dec 15 2014 Kenjiro Nakayama <nakayamakenjiro@gmail.com> - 0.27.0-1
|
|
|
|
- update to 0.27.0
|
|
|
|
|
2014-11-03 02:20:46 +00:00
|
|
|
* Mon Nov 03 2014 Kenjiro Nakayama <nakayamakenjiro@gmail.com> - 0.26.0-1
|
2014-11-03 01:49:48 +00:00
|
|
|
- update to 0.26.0
|
|
|
|
|
2014-12-15 04:45:10 +00:00
|
|
|
* Wed Oct 15 2014 Kenjiro Nakayama <nakayamakenjiro@gmail.com> - 0.25.0-1
|
2014-10-15 07:06:16 +00:00
|
|
|
- update to 0.25.0
|
|
|
|
|
2014-09-30 08:31:56 +00:00
|
|
|
* Tue Sep 30 2014 Kenjiro Nakayama <nakayamakenjiro@gmail.com> - 0.24.1-1
|
|
|
|
- update to 0.24.1
|
|
|
|
|
2014-06-22 09:19:16 +00:00
|
|
|
* Sun Jun 22 2014 Kenjiro Nakayama <nakayamakenjiro@gmail.com> - 0.22.0-1
|
|
|
|
- update to 0.22.0
|
|
|
|
|
2014-04-24 13:33:22 +00:00
|
|
|
* Tue Apr 22 2014 Kenjiro Nakayama <nakayamakenjiro@gmail.com> - 0.21.0-1
|
|
|
|
- update to 0.21.0
|
|
|
|
|
|
|
|
* Thu Sep 12 2013 Henrik Hodne <henrik@hodne.io> - 0.16-2
|
|
|
|
- Initial RPM release
|