94 lines
2.6 KiB
RPMSpec
94 lines
2.6 KiB
RPMSpec
Name: libtre
|
|
Version: 0.9.0
|
|
Release: 1mamba
|
|
Summary: Free and portable approximate regex matching library
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
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
|
|
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.
|
|
|
|
%package -n python-tre-py3
|
|
Summary: Python bindings for %{name}
|
|
Group: System/Libraries
|
|
Provides: python-tre
|
|
Obsoletes: python-tre < 0.9.0
|
|
|
|
%description -n python-tre-py3
|
|
This package contains the python bindings for %{name}.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q -n tre-%{version}
|
|
autoreconf -f -i
|
|
|
|
%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)
|
|
%{_libdir}/libtre.so.*
|
|
%doc AUTHORS LICENSE THANKS
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/tre
|
|
%{_libdir}/libtre.so
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%doc NEWS TODO
|
|
%doc doc/default.css doc/tre-api.html doc/tre-syntax.html
|
|
|
|
%files -n agrep
|
|
%defattr(-,root,root)
|
|
%{_bindir}/agrep
|
|
%{_mandir}/man1/*
|
|
|
|
%changelog
|
|
* Mon Sep 30 2024 Automatic Build System <autodist@openmamba.org> 0.9.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* 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)
|
|
|
|
* Mon Jun 25 2012 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.8.0-1mamba
|
|
- package created by autospec
|