SHA256
6
0
forked from pool/tre

Trim padding from description, copy complexity paragraph from readme

This commit is contained in:
Jan Engelhardt 2024-11-23 00:32:02 +01:00
parent 282ce13ee7
commit 577bd3a5f2

View File

@ -21,44 +21,43 @@
Name: tre Name: tre
Version: 0.9.0 Version: 0.9.0
Release: 0 Release: 0
Summary: POSIX compatible regexp library with approximate matching Summary: POSIX-compatible regexp library with approximate matching
License: BSD-3-Clause License: BSD-3-Clause
Group: System/Libraries Group: Development/Libraries/C and C++
URL: https://laurikari.net/tre/ URL: https://laurikari.net/tre/
Source0: https://github.com/laurikari/tre/releases/download/v%{version}/%{name}-%{version}.tar.gz Source0: https://github.com/laurikari/tre/releases/download/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: glibc-locale BuildRequires: glibc-locale
%lang_package -n libtre%{sover} %lang_package -n libtre%{sover}
%description %description
TRE is a lightweight, robust, and efficient POSIX compatible regexp TRE is a POSIX-compatible regexp matching library with approximate
matching library with some exciting features such as approximate (fuzzy) matching.
matching.
%package -n libtre%{sover} %package -n libtre%{sover}
Summary: POSIX compatible regexp library with approximate matching Summary: POSIX-compatible regexp library with approximate matching
Group: System/Libraries Group: System/Libraries
%description -n libtre%{sover} %description -n libtre%{sover}
TRE is a lightweight, robust, and efficient POSIX compatible regexp TRE is a POSIX-compatible regexp matching library with approximate
matching library with some exciting features such as approximate (fuzzy) matching. TRE's algorithm has linear worst-case time in the
matching. length of the text being searched, and quadratic worst-case time in
the length of the used regular expression.
%package devel %package devel
Summary: POSIX compatible regexp library with approximate matching Summary: Header files for the TRE regex library
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: libtre%{sover} = %{version} Requires: libtre%{sover} = %{version}
%description devel %description devel
TRE is a lightweight, robust, and efficient POSIX compatible regexp TRE is a POSIX-compatible regexp matching library with approximate
matching library with some exciting features such as approximate This package contains the headers.
matching.
%package -n agrep %package -n agrep
Summary: Another powerful grep with interesting features Summary: Another grep with approximate matching and block search
Group: Productivity/Text/Utilities Group: Productivity/Text/Utilities
%description -n agrep %description -n agrep
agrep is another powerful grep which has the ability to search for agrep is a grep utility which has the ability to search for
approximate patterns as well as block oriented search. approximate patterns as well as block oriented search.
%prep %prep