2024-01-06 05:57:45 +01:00
|
|
|
Name: libtre
|
2024-10-01 10:06:01 +02:00
|
|
|
Version: 0.9.0
|
2024-01-06 05:57:45 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Free and portable approximate regex matching library
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-10-01 10:06:01 +02:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://laurikari.net/tre/
|
|
|
|
Source: https://github.com/laurikari/tre.git/v%{version}/tre-%{version}.tar.bz2
|
2024-01-06 05:57:45 +01:00
|
|
|
License: BSD
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%description
|
|
|
|
TRE is a lightweight, robust, and efficient POSIX compliant regexp matching library with some exciting features such as approximate (fuzzy) matching.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: pkg-config
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
%package -n agrep
|
|
|
|
Summary: Approximate grep utility
|
|
|
|
Group: Applications/File
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n agrep
|
|
|
|
agrep (approximate grep) command line tool approximate regexp matching in the style of grep.
|
|
|
|
agrep allows full regexps of any length, any number of errors, and non-uniform costs for insertion, deletion and substitution.
|
|
|
|
|
2024-01-06 05:57:46 +01:00
|
|
|
%package -n python-tre-py3
|
2024-01-06 05:57:45 +01:00
|
|
|
Summary: Python bindings for %{name}
|
|
|
|
Group: System/Libraries
|
2024-01-06 05:57:46 +01:00
|
|
|
Provides: python-tre
|
2024-10-01 10:06:01 +02:00
|
|
|
Obsoletes: python-tre < 0.9.0
|
2024-01-06 05:57:45 +01:00
|
|
|
|
2024-01-06 05:57:46 +01:00
|
|
|
%description -n python-tre-py3
|
2024-01-06 05:57:45 +01:00
|
|
|
This package contains the python bindings for %{name}.
|
|
|
|
|
2024-01-06 05:57:46 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 05:57:45 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n tre-%{version}
|
2024-01-06 05:57:46 +01:00
|
|
|
autoreconf -f -i
|
|
|
|
|
2024-01-06 05:57:45 +01:00
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%find_lang tre || touch tre.lang
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
|
|
|
|
%files -f tre.lang
|
|
|
|
%defattr(-,root,root)
|
2024-10-01 10:06:01 +02:00
|
|
|
%{_libdir}/libtre.so.*
|
2024-01-06 05:57:45 +01:00
|
|
|
%doc AUTHORS LICENSE THANKS
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/tre
|
2024-10-01 10:06:01 +02:00
|
|
|
%{_libdir}/libtre.so
|
2024-01-06 05:57:45 +01:00
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2024-01-06 05:57:46 +01:00
|
|
|
%doc NEWS TODO
|
2024-01-06 05:57:45 +01:00
|
|
|
%doc doc/default.css doc/tre-api.html doc/tre-syntax.html
|
|
|
|
|
|
|
|
%files -n agrep
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/agrep
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
|
|
|
|
%changelog
|
2024-10-01 10:06:01 +02:00
|
|
|
* Mon Sep 30 2024 Automatic Build System <autodist@openmamba.org> 0.9.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:57:46 +01:00
|
|
|
* Sat Nov 28 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.0.20201128git-1mamba
|
|
|
|
- update to 0.8.0.20201128git
|
|
|
|
- added debug package, remove python binding (not building with python3)
|
|
|
|
|
2024-01-06 05:57:45 +01:00
|
|
|
* Mon Jun 25 2012 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.8.0-1mamba
|
|
|
|
- package created by autospec
|