forked from pool/ugrep
Accepting request 1190807 from home:AndreasStieger:branches:utilities
ugrep 6.3.0 OBS-URL: https://build.opensuse.org/request/show/1190807 OBS-URL: https://build.opensuse.org/package/show/utilities/ugrep?expand=0&rev=146
This commit is contained in:
commit
1f9fcf95e8
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
ugrep-6.1.0.tar.gz
Normal file
3
ugrep-6.1.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:587ebb694dd3d2f5bef9f35df5b9e196b89da981cfe1084539e55b8d9a62fd65
|
||||||
|
size 13091376
|
3
ugrep-6.2.0.tar.gz
Normal file
3
ugrep-6.2.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e7b54e8e7d2d9058167269673fd783651071ba1ace547cf6c926b833607d2e1b
|
||||||
|
size 7024025
|
3
ugrep-6.3.0.tar.gz
Normal file
3
ugrep-6.3.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e6042ba7b4bf040e44c16b89a056e926d46d179de48b1077888abb5b8a7be435
|
||||||
|
size 7032313
|
759
ugrep.changes
Normal file
759
ugrep.changes
Normal file
@ -0,0 +1,759 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 31 20:22:31 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 6.3.0:
|
||||||
|
* option --index always enables --recursive
|
||||||
|
* new bash, fish and zsh ugrep-indexer completions
|
||||||
|
* option --hyperlink outputs absolute search paths
|
||||||
|
* update regex DFA cut optimization that was too agressive for
|
||||||
|
some patterns
|
||||||
|
* option -o (--only-matching) with -ABC context now also
|
||||||
|
supports multi-line pattern matching with \n (newline) in regex
|
||||||
|
patterns
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 10 19:12:15 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 6.2.0:
|
||||||
|
* improved support for legacy grep color environment variable
|
||||||
|
single ANSI color codes format
|
||||||
|
* improved zsh -ABC options completion
|
||||||
|
* improved option -% (--bool) when multiple -e PATTERN are
|
||||||
|
specified; now aligns with the documentation of option -e to
|
||||||
|
match any of the specified PATTERN (note that -% can be
|
||||||
|
combined with options --and, --andnot, --not. -e amd -N)
|
||||||
|
* improved option -Q (--query) when combined with options --and,
|
||||||
|
--andnot, --not by activatating option -% (--bool) so that the
|
||||||
|
combined search patterns can be edited as one Boolean query
|
||||||
|
pattern in the TUI
|
||||||
|
* minor speed improvement when searching in large files with
|
||||||
|
option -f with a file with hundreds, thousands or more
|
||||||
|
words/strings to find (-fwords/4.txt in benchmarks)
|
||||||
|
* again extensively tested with randomized patterns
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 4 16:40:11 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 6.1.0:
|
||||||
|
* improve option -w to support Unicode
|
||||||
|
* make [[:alpha:]] and other [::] character classes also match
|
||||||
|
Unicode by default, like \p{Class} already does, unless option
|
||||||
|
-U (--ascii or --binary) is used
|
||||||
|
* Unicode word boundaries \<, \>, \b, \B unless option -U
|
||||||
|
(--ascii or --binary) is used
|
||||||
|
* improve bash and zsh auto-completion usability
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 7 20:16:40 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 6.0.0:
|
||||||
|
* faster search speeds on ARM CPUs
|
||||||
|
* overall optimization
|
||||||
|
* includes ugrep-indexer
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 10 20:14:21 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 5.1.4:
|
||||||
|
* use statfs() with options --include-fs and --exclude-fs when
|
||||||
|
the preferred statvfs() is not available
|
||||||
|
* suppress --filter utility stderr messages when ugrep options
|
||||||
|
-s (--no-messages) and -q (--quiet) are used
|
||||||
|
* support the NO_COLOR environment variable to suppress color
|
||||||
|
output
|
||||||
|
* fix TUI scroll glitch in non-split screen, and other TUI fixes
|
||||||
|
- enable SIMD code for faster matching on CPUs that support it
|
||||||
|
(while keeping build reproducible)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 11 22:06:29 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 5.1.1:
|
||||||
|
* fix a problem with POSIX lazy quantifier matching when combined
|
||||||
|
with anchors, causing longer pattern matches than expected
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Mar 9 19:44:47 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 5.1.0:
|
||||||
|
* a minor improvement of the regex syntax to allow escaped spaces
|
||||||
|
* updated POSIX regex lazy quantifier matching in linear time
|
||||||
|
using an advanced DFA transformation algorithm
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Feb 17 10:56:22 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 5.0.0:
|
||||||
|
* new and updated regex engine to speed up searching patterns
|
||||||
|
using a new heuristic DFA cut algorithm
|
||||||
|
* new option --exclude-fs default to exclude file systems that
|
||||||
|
aren't specified as search targets
|
||||||
|
* new option --all (-@) to search all files except hidden:
|
||||||
|
cancel previous file and directory search restrictions
|
||||||
|
* TUI regex syntax highlighting improved for --fixed-strings
|
||||||
|
(-F) when used with option --bool (-% and -%%)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 10 17:52:11 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 4.5.2:
|
||||||
|
* fix 7zip search failing on 32 bit systems when option -M is used
|
||||||
|
(or -t when setting -M)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jan 6 17:59:29 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 4.5.1:
|
||||||
|
* fix bzip3 build failures (previously patched)
|
||||||
|
- drop ugrep-4.5.0-fix-bzip3-configure.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jan 6 09:14:00 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 4.5.0:
|
||||||
|
* 7zip archive search with option -z
|
||||||
|
* apply Unicode normalization to canonicalize literal combining
|
||||||
|
characters in regex patterns
|
||||||
|
* improved TUI TAB directory navigation when searching from the FS
|
||||||
|
root
|
||||||
|
- drop ugrep-4.4.1-remove-shebang-from-bash-completion.patch
|
||||||
|
- add ugrep-4.5.0-fix-bzip3-configure.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 19 17:46:14 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- 4.4.1
|
||||||
|
* ship shell completions (bash,zsh,fish)
|
||||||
|
* option -t (--file-type) now also accepts filename extensions as
|
||||||
|
shortcuts, when unambiguous, for example, the shorter form -tpy
|
||||||
|
for -tpython to select files to search
|
||||||
|
* TUI ALT-SHIFT-% switches between "bool query lines" mode,
|
||||||
|
"bool query files" mode, and bool queries off
|
||||||
|
TUI boolF mode (-%FQ) now applies syntax highlighting
|
||||||
|
* support legacy grep long options without = to bind option
|
||||||
|
arguments
|
||||||
|
- add ugrep-4.4.1-remove-shebang-from-bash-completion.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Dec 9 00:00:41 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 4.3.6:
|
||||||
|
* fix an issue with option -Zbest fuzzy matching
|
||||||
|
* updated option --index for accelerated index-based search, now
|
||||||
|
also indexes and searches archives and compressed files with
|
||||||
|
option -z
|
||||||
|
* faster search with -ABC context options
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Nov 25 07:59:11 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 4.3.4:
|
||||||
|
* the ug command no longer quits with an error message when no
|
||||||
|
default .ugrep config file was found
|
||||||
|
* improved GNU grep compatibility
|
||||||
|
* Bug fixes for parsing configuration files
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 15 20:52:19 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 4.3.3:
|
||||||
|
* support brotli compressed files
|
||||||
|
* support bzip3 compressed files
|
||||||
|
* update option --pretty to accept an optional WHEN argument
|
||||||
|
never, always, auto similar to the --color option
|
||||||
|
* improve TUI screen blanking response when a new search starts,
|
||||||
|
while also avoiding screen flicker
|
||||||
|
* fix option --zmax>1 when a decompression library produces a
|
||||||
|
decompression error when decompressing a nested compressed file
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 3 16:02:01 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 4.3.2:
|
||||||
|
* double short option -%% enables both --files --bool (a single
|
||||||
|
-% still enables only --bool) for convenience
|
||||||
|
* updated thread pool scheduling and execution with thread
|
||||||
|
affinity and priority settings
|
||||||
|
* improvements and fixes for minor (mostly cosmetic) issues
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 19 15:14:36 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 4.3.1:
|
||||||
|
* Unicode 15.1 support
|
||||||
|
* TUI features, including CTRL-Y improved viewer
|
||||||
|
* TUI regex syntax highlighting with user-definable colors
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Oct 8 05:47:14 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 4.3.0:
|
||||||
|
* Redesigned TUI with a new split screen window pane to preview
|
||||||
|
matching files
|
||||||
|
* fix --zmax=n for n>1 that had a low chance to hang as
|
||||||
|
discovered recently (about once in a few thousand runs) when
|
||||||
|
searching (deeply) nested zip or tar archives
|
||||||
|
* fix compressed file search of files that are exactly one byte
|
||||||
|
long, instead of rejecting those files as being empty
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Sep 23 07:06:03 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 4.2.0:
|
||||||
|
* text user inerface improvements
|
||||||
|
* improve recursive search performance
|
||||||
|
* improve compatibility with GNU grep
|
||||||
|
* improve detection of special devices to avoid searching them
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 18 18:17:03 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 4.1.0:
|
||||||
|
* fix -Z fuzzy matching when character deletions are solely
|
||||||
|
specified with a minus sign
|
||||||
|
* fix --pager when a regex syntax error occurs
|
||||||
|
* update --pager to use $PAGER
|
||||||
|
* update --ignore-files for compliance with git and ag gitignore
|
||||||
|
rules
|
||||||
|
* update -Q TUI ctrl-S and ctrl-W to jump to context group
|
||||||
|
separators when context options -ABC are specified
|
||||||
|
* update -o for GNU grep compatibility with "empty-matching"
|
||||||
|
patterns
|
||||||
|
* update POSIX [[:space:]] and \s to exclude newline \n matching
|
||||||
|
* improve performance: faster -c and line matching
|
||||||
|
* improve performance: faster "empty-matching" pattern search
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 28 04:46:13 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 4.0.5:
|
||||||
|
* Fix a recently-added optimization that may in some rare cases
|
||||||
|
caused a problem with a match at the end of a file.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Aug 26 07:06:28 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 4.0.4:
|
||||||
|
* update --save-config as per user request
|
||||||
|
* correct an issue with -o and context
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 25 18:15:33 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 4.0.3:
|
||||||
|
* new --delay=DELAY option to specify a default query TUI
|
||||||
|
response delay time, which can be specified in a .ugrep config
|
||||||
|
file with delay=DELAY (--save-config includes this setting also)
|
||||||
|
* fix option -m compatibility issue wth GNU grep when showing
|
||||||
|
context lines with -ABC after the last max match
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 23 15:02:01 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 4.0.2:
|
||||||
|
* additional speed up with improved parametrization of the
|
||||||
|
matching algorithm decision logic
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Aug 20 17:52:48 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 4.0.1:
|
||||||
|
* speed up option -l to search compressed files
|
||||||
|
* enable an important search optimization that was no longer
|
||||||
|
enabled
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 18 16:20:22 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 4.0.0:
|
||||||
|
* faster async output, speeds up ugrep 3x when outputting many
|
||||||
|
matching lines
|
||||||
|
* removed "rest line" buffering, speeds up ugrep up to 2x,
|
||||||
|
depending on the output-related options used
|
||||||
|
* removed redundant "binary file" checking, speed-up 10%~20%
|
||||||
|
* double size input buffer, speeds up searching 5%~20% when
|
||||||
|
searching very large files (GB) with none/infrequent pattern
|
||||||
|
matches
|
||||||
|
* faster empty pattern matching, i.e. pattern '' matches all
|
||||||
|
lines faster, as much as 10x faster
|
||||||
|
* removed redundant color escape codes from the output
|
||||||
|
* option -Q with an optional argument is now -Q=DELAY instead of
|
||||||
|
-QDELAY, so -Q2 is -Q -2 (simple options should be composable/
|
||||||
|
separable) which searches 2 directory levels deep with the
|
||||||
|
query TUI
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 15 18:20:54 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 3.12.7:
|
||||||
|
* compatibility improvement with one of GNU grep's idiosyncrasies:
|
||||||
|
unpaired ) in regex are matched literally. This behavior is
|
||||||
|
automatically in effect when the grep and egrep aliases of
|
||||||
|
ugrep are used or explicitly with option -Y.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 7 05:23:38 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 3.12.6:
|
||||||
|
* New option -S (--dereference-files) to follow symbolic links
|
||||||
|
only to files, not to directories, when using option -r for
|
||||||
|
recursive search.
|
||||||
|
* Updated default recursive search to strictly perform -r without
|
||||||
|
following any symbolic links.
|
||||||
|
* New option --index for fast index-based search with the new
|
||||||
|
ugrep-indexer tool.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Aug 5 11:09:03 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 3.12.5:
|
||||||
|
* New --iglob and --glob-ignore-case options
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 18 09:09:11 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 3.12.4:
|
||||||
|
* Faster search for common search patterns, such as a set of
|
||||||
|
words, using SIMD AVX and neon/AArch64 intrinsics
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jul 15 16:25:25 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 3.12.3:
|
||||||
|
* Fixed a potential pattern match issue in the new v3.12
|
||||||
|
optimizations
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 11 05:26:40 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 3.12.2:
|
||||||
|
* Speed improvements to further speed up common search patterns
|
||||||
|
* Improved man page
|
||||||
|
* The ug and ug+ commands now enable --pretty by default
|
||||||
|
(that is, if a .ugrep configuration file does not override it
|
||||||
|
with no-pretty).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jun 4 18:18:13 UTC 2023 - Andreas Stieger <Andreas.Stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 3.12.1:
|
||||||
|
* New ug+ and ugrep+ commands to search pdfs, documents and image
|
||||||
|
metadata when the corresponding tools are installed
|
||||||
|
* improved --filter option
|
||||||
|
* speed improvements
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Apr 8 10:42:51 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 3.11.2:
|
||||||
|
* Improve --hyperlink with additional usability options
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Apr 2 18:28:20 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 3.11.1:
|
||||||
|
* Smarter interactive navigation in the TUI when option --tree is
|
||||||
|
used with option -l or -c
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Mar 19 07:50:55 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 3.11.0:
|
||||||
|
* Update --format output when used with option -o to also enable
|
||||||
|
option -u to show all matches automatically;
|
||||||
|
* improve --json, --xml, --csv output when used with option -o
|
||||||
|
* update option -o output with headings (when applicable) for
|
||||||
|
every match like GNU grep
|
||||||
|
* update options --format and --replace field %m to output the
|
||||||
|
number of matches sequentially
|
||||||
|
* new --format and --replace field %M outputs number of matching
|
||||||
|
lines
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Mar 18 08:31:34 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 3.10.1:
|
||||||
|
* Fix a performace issue with specific regex patterns when used
|
||||||
|
with case-insensitive pattern matching
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 1 19:42:06 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 3.10.0:
|
||||||
|
* This release adds the option --tree to output directory trees
|
||||||
|
of files for the options -l (--files-with-matches),
|
||||||
|
-L (--files-withou-match), and -c (--count)
|
||||||
|
* The option --pretty was updated to to enable --tree when output
|
||||||
|
is sent to a terminal. This can be disabled with --no-tree.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 1 07:32:36 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 3.9.7:
|
||||||
|
* handle gnutar archive extension field formats to search huge
|
||||||
|
files (>4GB) stored in (gnu) tar archives
|
||||||
|
- includes changes gro 3.9.6:
|
||||||
|
* Fixed a Unicode-specific regex pattern syntax issue that caused
|
||||||
|
a valid regex pattern to produce a regex syntax error message
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jan 15 12:18:22 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 3.9.5:
|
||||||
|
* Fix option -l (files-with-matches) when used with option -z
|
||||||
|
(decompress) which would sometimes show duplicates when a
|
||||||
|
compressed files had many matches
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 5 09:08:20 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 3.9.4:
|
||||||
|
* fix spurious 0 byte in tar filename output results
|
||||||
|
* fix support for PCRE2 prior 10.34
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Dec 30 10:30:57 UTC 2022 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 3.9.3:
|
||||||
|
* Fix a PCRE2 library-related issues with -P (--perl-regexp)
|
||||||
|
matching binary files
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 22 05:41:38 UTC 2022 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 3.9.2:
|
||||||
|
* Fixed an issue with invalid Unicode regex patterns
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 15 07:24:24 UTC 2022 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 3.9.1:
|
||||||
|
* make -r the default recursive search without following
|
||||||
|
symlinked directories
|
||||||
|
* Symlinked files are always searched on a search path, except
|
||||||
|
with option -p (--no-dereference)
|
||||||
|
* A fix for a minor issue with fuzzy matching when only allowing
|
||||||
|
substitutions
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 29 13:06:04 UTC 2022 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 3.8.3:
|
||||||
|
* fix search with tiny lz4 files
|
||||||
|
* skip empty zip files
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jun 11 07:38:38 UTC 2022 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 3.8.2:
|
||||||
|
* update documentation
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 7 16:19:36 UTC 2022 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 3.8.1:
|
||||||
|
* Fix bz2 issue cutting off decompression too soon
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 30 17:37:17 UTC 2022 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 3.8.0
|
||||||
|
* New option combination -o (--only-matching) with -ABC context
|
||||||
|
for column context
|
||||||
|
* option -o with -b or -k now shows results on separate lines
|
||||||
|
* new option --width to truncate long lines to the specified
|
||||||
|
width or the terminal width by default
|
||||||
|
* short ug command now sorts by name by default
|
||||||
|
* query TUI ALT-] [ (increase/decrease context) and ALT-} {
|
||||||
|
(increase/decrease fuzziness) keys switched meaning
|
||||||
|
* new %+ format field used by updated --only-line-number option
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 11 04:22:53 UTC 2022 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 3.7.11:
|
||||||
|
* New -Zbest (--fuzzy=best) option argument best to only output
|
||||||
|
the best matching patterns
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 10 04:33:22 UTC 2022 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 3.7.10:
|
||||||
|
* -Z (--fuzzy) can now be combined with -U (--binary) to fuzzy
|
||||||
|
match bytes instead of Unicode characters
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 8 09:49:39 UTC 2022 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 3.7.9:
|
||||||
|
* Additional --stats results with total lines searched and
|
||||||
|
matched, and time elapsed.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Apr 2 14:32:47 UTC 2022 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 3.7.7:
|
||||||
|
* New --hexdump options
|
||||||
|
* --ignore-files improvement
|
||||||
|
* speed improvements
|
||||||
|
* New option --min-count
|
||||||
|
* New complementary options --min-depth, --max-depth,
|
||||||
|
--min-line and --max-line which are added for consistency with
|
||||||
|
the updated options --min-count and --max-count
|
||||||
|
* Updated the --min-count option, which can now be combined with
|
||||||
|
any other option except with -v (--invert-match)
|
||||||
|
* Updated option -K (--range) to take a MAX argument instead of a
|
||||||
|
FIRST argument for consistency with other min/max options
|
||||||
|
* Recursive searching sysfd, such as /proc and /sys, no longer
|
||||||
|
blocks on special files/devices
|
||||||
|
* Fixed colorization of option -v when used with context options
|
||||||
|
-A, -B and -C
|
||||||
|
* Fixed option -r when combined with argument - (read standard
|
||||||
|
input), which does both, like GNU grep
|
||||||
|
* Updated --stats reporting and other minor improvements
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 28 05:13:03 UTC 2022 - Avinesh Kumar <avinesh.kumar@suse.com>
|
||||||
|
|
||||||
|
- update to 3.7.1:
|
||||||
|
* add newline when showing usage and also fix segfault when arg == NULL
|
||||||
|
- update to 3.7.0:
|
||||||
|
* README.md: add FreeBSD installation instructions
|
||||||
|
* resolve LGTM alerts & minor improvements
|
||||||
|
* Support "cpp" as a file type
|
||||||
|
* msvc - Add matcher_avx2, matcher_avx512bw
|
||||||
|
- update to 3.6.0:
|
||||||
|
* new option --replace & faster searching
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 6 15:20:57 UTC 2022 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- ugrep 3.5.0:
|
||||||
|
* New --zmax=NUM option to be used with -z (--decompress) to
|
||||||
|
search compressed files and archives recursively stored within
|
||||||
|
tar/zip/cpio/pax archives, e.g. to search tar and zip files
|
||||||
|
stored in (compressed) tar files, in zip files etc. for up to
|
||||||
|
NUM recursive levels deep. The --zmax argument may range from 1
|
||||||
|
(default) to 99 for up to 99 decompression and de-archiving
|
||||||
|
steps.
|
||||||
|
* Improved option -U to be used for backward compatibility with
|
||||||
|
GNU/BSD grep by no longer flagging invalid UTF as "binary
|
||||||
|
files"
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 4 18:37:35 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 3.4.0:
|
||||||
|
* New Boolean search query options --files and --lines.
|
||||||
|
The specified Boolean search query conditions apply to
|
||||||
|
lines by default.
|
||||||
|
Because GNU/BSD grep and ugrep are generally line-based,
|
||||||
|
--lines is the default option.
|
||||||
|
Specify --files --bool to apply the specified Boolean query
|
||||||
|
to files as a whole: a file matches if all Boolean conditions
|
||||||
|
are satisfied by matching patterns anywhere in the file
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 24 11:39:05 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- ugrep 3.3.4:
|
||||||
|
* New --hyperlink option for terminals that support it
|
||||||
|
* Revised and enhanced option -P (PCRE) compatible with GNU grep
|
||||||
|
* Improved query UI option -Q with quick Tab/Shift/Tab navigation
|
||||||
|
* CTRL-Y file viewing with --view to specify viewer
|
||||||
|
* Improved CTRL-X/CTRL-R bookmarking to restore search state
|
||||||
|
* Fix compatibility with GNU grep binary file search results
|
||||||
|
* fix an optimization preventing unnecessary backtracking
|
||||||
|
* performance improvement for option -P
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 13 14:26:08 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- ugrep 3.2.2:
|
||||||
|
* Add support for file search on zstd-compressed files:
|
||||||
|
-z (.zst, .zstd, .tzstd) and advanced .zipx method zstd (93)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat May 1 09:45:09 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 3.1.15:
|
||||||
|
* fix a recursive search crash
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 28 01:41:49 UTC 2021 - Wang Jun <jgwang@suse.com>
|
||||||
|
|
||||||
|
- ugrep 3.1.14:
|
||||||
|
* Fix names of the encodings, it's ISO-8859, not ISO-8869
|
||||||
|
* Fixed an issue when placing options --bool, -G, -F, -w, -x
|
||||||
|
at the end of the command line
|
||||||
|
* Add missing header file "limits" in mmap.hpp
|
||||||
|
* Use option `-U` instead of `-C` for `diff`
|
||||||
|
* Minor --bool and --glob improvements; MinGW portability
|
||||||
|
* Update README.md with Alpine Linux
|
||||||
|
* Updated \s pattern matching to exclude newline, compatible with
|
||||||
|
GNU/BSD grep.
|
||||||
|
* Added format field %[NAME]# to output named capturing groups and
|
||||||
|
%[NUM1|NAME1|NUM2|NAME2...]# to output the first capturing group
|
||||||
|
that matched by num or name; option --bool improvements
|
||||||
|
* Fix #125 and fix #122
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 9 06:47:55 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- ugrep 3.1.7:
|
||||||
|
* various fixes, including fixes to globbing and regex
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jan 17 09:22:45 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- ugrep 3.1.3:
|
||||||
|
* fixes for other platforms only
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Dec 27 22:04:12 UTC 2020 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- ugrep 3.1.1:
|
||||||
|
* clarifications on boolean search query pattern feature
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Dec 18 18:17:39 UTC 2020 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- ugrep 3.1.0:
|
||||||
|
* New --bool option to specify a Boolean search query pattern
|
||||||
|
* New --and and --not options
|
||||||
|
* --format not supports -v
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 7 14:40:18 UTC 2020 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- ugrep 3.0.6:
|
||||||
|
* slightly improved error handling
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 26 07:58:11 UTC 2020 - Wang Jun <jgwang@suse.com>
|
||||||
|
|
||||||
|
- ugrep 3.0.5:
|
||||||
|
* 'enable-color' option deprecated, use 'disable-auto-color'
|
||||||
|
* support wide Unicode strings
|
||||||
|
* update some documents
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Oct 25 13:59:32 UTC 2020 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- ugrep 3.0.4:
|
||||||
|
* fix an issue with large zip files searched in the query UI
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 23 10:17:28 UTC 2020 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- ugrep 3.0.2:
|
||||||
|
* speed improvements
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 22 14:33:50 UTC 2020 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- ugrep 2.5.6:
|
||||||
|
* Interactive query UI usability improvements
|
||||||
|
* new query UI commands:
|
||||||
|
Alt-[ (decrease fuzziness by one),
|
||||||
|
Alt-] (increase fuzziness by one),
|
||||||
|
Alt-{ (decrease context size by one line),
|
||||||
|
Alt-} (increase context size by one line)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 3 11:44:21 UTC 2020 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- ugrep 2.5.5:
|
||||||
|
* build improvements
|
||||||
|
* workaround missing lz4 macro
|
||||||
|
* updated Dockerfile
|
||||||
|
* updated tests
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 20 11:06:47 UTC 2020 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- ugrep 2.5.3:
|
||||||
|
* New --format option fields %a (basename) and %p (path)
|
||||||
|
* fast incremental stdin search
|
||||||
|
* updated --gitignore-files handling of negated globs
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Aug 16 09:10:12 UTC 2020 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- ugrep 2.5.2:
|
||||||
|
* Query UI monitor enhancements
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 11 12:10:53 UTC 2020 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- ugrep 2.5.1:
|
||||||
|
* Query UI enhanced display updates; new option --not
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 28 09:15:05 UTC 2020 - Martin Rey <mrey@suse.com>
|
||||||
|
|
||||||
|
- ugrep 2.5.0:
|
||||||
|
* New query UI search commands: Tab to navigate into a directory
|
||||||
|
or to select a single file to search; Shift-Tab to navigate up
|
||||||
|
the directory tree or deselect the selected file. Press Ctrl-^
|
||||||
|
to go back to the starting working directory. These commands
|
||||||
|
are best experienced with option -l (Alt-l ("Alt-ell") in the
|
||||||
|
query UI) to navigate directories in the list view.
|
||||||
|
* Ctrl-S/Ctrl-W now also move down/up by directory in the query
|
||||||
|
UI when viewing a list of files with options -l and -c.
|
||||||
|
* Faster query UI response to commands (the response to patterns
|
||||||
|
entered is still determined by the DELAY parameter.)
|
||||||
|
* Option --pretty now also enables options -n and --sort in
|
||||||
|
addition to --color, --heading, and -T when the output is sent
|
||||||
|
to a terminal and if these options are not explicitly disabled
|
||||||
|
or set already.
|
||||||
|
* Fixed minor issues to improve the overall user experience
|
||||||
|
- ugrep 2.4.1:
|
||||||
|
* Support lz4-compressed files with extension .lz4
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jul 11 17:39:21 UTC 2020 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- ugrep 2.4.0:
|
||||||
|
* New ug command which is the same as ugrep --config with the new
|
||||||
|
--config option to use configuration files
|
||||||
|
* new option --save-config to create configuration files
|
||||||
|
* added --help [WHAT] for quick help on WHA
|
||||||
|
* drop reproducible.patch, upstream
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jul 5 04:34:08 UTC 2020 - Bernhard Wiedemann <bwiedemann@suse.com>
|
||||||
|
|
||||||
|
- Disable avx
|
||||||
|
- Add reproducible.patch to drop march=native
|
||||||
|
to make package build reproducible (boo#1100677)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 30 16:40:55 UTC 2020 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- ugrep 2.3.2:
|
||||||
|
* gcc10 fixes and minor improvements
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 22 09:17:14 UTC 2020 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- ugrep 2.3.1:
|
||||||
|
* Faster search context matching and display with new streaming
|
||||||
|
implementation for options -A, -B, -C, and -y
|
||||||
|
* including when combined with options -v, -W, and -X
|
||||||
|
* remove the single-line search pattern constraint in prior
|
||||||
|
versions for these options
|
||||||
|
* fixed minor issue with option -G
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jun 14 09:11:01 UTC 2020 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- ugrep 2.2.1:
|
||||||
|
* improved query UI with Alt-g, corresponding to -g, --glob for
|
||||||
|
interative globbing
|
||||||
|
* improved fuzzy matching
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jun 6 07:30:31 UTC 2020 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- initial package, 2.2.0
|
130
ugrep.spec
Normal file
130
ugrep.spec
Normal file
@ -0,0 +1,130 @@
|
|||||||
|
#
|
||||||
|
# spec file for package ugrep
|
||||||
|
#
|
||||||
|
# Copyright (c) 2024 SUSE LLC
|
||||||
|
# Copyright (c) 2024 Andreas Stieger <Andreas.Stieger@gmx.de>
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: ugrep
|
||||||
|
Version: 6.3.0
|
||||||
|
Release: 0
|
||||||
|
Summary: Universal grep: a feature-rich grep implementation with focus on speed
|
||||||
|
License: BSD-3-Clause
|
||||||
|
Group: Productivity/File utilities
|
||||||
|
URL: https://github.com/Genivia/ugrep
|
||||||
|
Source: https://github.com/Genivia/ugrep/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
|
BuildRequires: c++_compiler
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: pkgconfig(bzip2)
|
||||||
|
BuildRequires: pkgconfig(libbrotlidec)
|
||||||
|
BuildRequires: pkgconfig(liblz4)
|
||||||
|
BuildRequires: pkgconfig(liblzma)
|
||||||
|
BuildRequires: pkgconfig(libpcre2-8)
|
||||||
|
BuildRequires: pkgconfig(libzstd)
|
||||||
|
BuildRequires: pkgconfig(zlib)
|
||||||
|
Provides: ugrep-indexer = 1.0.0
|
||||||
|
Obsoletes: ugrep-indexer < 1.0.0
|
||||||
|
# the bzip3 version seems to old, the tests break with decompression errors
|
||||||
|
%if 0%{?suse_version} > 1599
|
||||||
|
BuildRequires: pkgconfig(bzip3)
|
||||||
|
%endif
|
||||||
|
# lib/matcher_avx2.cpp is selected based on a runtime AVX2 check
|
||||||
|
# lib/matcher_avx512bw.cpp is selected based on runtime AVX512BW check
|
||||||
|
# Make OBS select an x86_64-v3 build host to reproducibly enable usage
|
||||||
|
# without cross-compiling
|
||||||
|
%ifarch x86_64
|
||||||
|
#!BuildConstraint: hardware:cpu:flag x86-64-v3
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description
|
||||||
|
Ugrep supports an interactive query UI and can search file systems, source
|
||||||
|
code, text, binary files, archives, compressed files, documents and use
|
||||||
|
fuzzy search.
|
||||||
|
|
||||||
|
%package bash-completion
|
||||||
|
Summary: Bash completion for ugrep
|
||||||
|
Requires: %{name} = %{version}
|
||||||
|
Requires: bash-completion
|
||||||
|
Supplements: (%{name} and bash-completion)
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description bash-completion
|
||||||
|
|
||||||
|
This package contains the bash completion for ugrep.
|
||||||
|
|
||||||
|
%package zsh-completion
|
||||||
|
Summary: Zsh completion for ugrep
|
||||||
|
BuildRequires: zsh
|
||||||
|
Requires: %{name} = %{version}
|
||||||
|
Requires: zsh
|
||||||
|
Supplements: (%{name} and zsh)
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description zsh-completion
|
||||||
|
|
||||||
|
This package contains the zsh completion for ugrep.
|
||||||
|
|
||||||
|
%package fish-completion
|
||||||
|
Summary: Fish completion for ugrep
|
||||||
|
BuildRequires: fish
|
||||||
|
Requires: %{name} = %{version}
|
||||||
|
Requires: fish
|
||||||
|
Supplements: (%{name} and fish)
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description fish-completion
|
||||||
|
|
||||||
|
This package contains the fish completion for ugrep.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure \
|
||||||
|
--enable-color \
|
||||||
|
%if 0%{?suse_version} > 1599
|
||||||
|
--with-bzip3 \
|
||||||
|
%endif
|
||||||
|
%{nil}
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
%fdupes %{buildroot}%{_datadir}/%{name}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%make_build test
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSE.txt
|
||||||
|
%doc README.md
|
||||||
|
%{_bindir}/*
|
||||||
|
%{_mandir}/man1/*.1%{?ext_man}
|
||||||
|
%{_datadir}/ugrep
|
||||||
|
|
||||||
|
%files bash-completion
|
||||||
|
%license LICENSE.txt
|
||||||
|
%{_datadir}/bash-completion/completions/*
|
||||||
|
|
||||||
|
%files zsh-completion
|
||||||
|
%license LICENSE.txt
|
||||||
|
%{_datadir}/zsh/site-functions/*
|
||||||
|
|
||||||
|
%files fish-completion
|
||||||
|
%license LICENSE.txt
|
||||||
|
%{_datadir}/fish/vendor_completions.d/*.fish
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user