commit cbfeeedb4c09d27fec8c6629a5d989fc0716de04e09da08f5917f3ecf4e335fb Author: Michael Vetter Date: Mon Jun 8 08:05:25 2020 +0000 Accepting request 812032 from home:AndreasStieger ugrep, another grep alternative OBS-URL: https://build.opensuse.org/request/show/812032 OBS-URL: https://build.opensuse.org/package/show/utilities/ugrep?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/ugrep-2.2.0.tar.gz b/ugrep-2.2.0.tar.gz new file mode 100644 index 0000000..e830cc8 --- /dev/null +++ b/ugrep-2.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:49e21ea764688a07ba942e8b6081f327f61a134d4f5780e5b4709981324155e9 +size 3138116 diff --git a/ugrep.changes b/ugrep.changes new file mode 100644 index 0000000..cc018cf --- /dev/null +++ b/ugrep.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Sat Jun 6 07:30:31 UTC 2020 - Andreas Stieger + +- initial package, 2.2.0 diff --git a/ugrep.spec b/ugrep.spec new file mode 100644 index 0000000..ce9d063 --- /dev/null +++ b/ugrep.spec @@ -0,0 +1,60 @@ +# +# spec file for package ugrep +# +# Copyright (c) 2020 SUSE LLC +# +# 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: 2.2.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: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: pkgconfig(bzip2) +BuildRequires: pkgconfig(liblzma) +BuildRequires: pkgconfig(libpcre2-8) +BuildRequires: pkgconfig(zlib) + +%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. + +%prep +%setup -q + +%build +%configure \ + --enable-color +%make_build + +%install +%make_install + +%check +%make_build test + +%files +%license LICENSE.txt +%doc README.md +%{_bindir}/* +%{_mandir}/man1/*.1%{?ext_man} +%{_datadir}/ugrep + +%changelog