2024-01-05 20:47:04 +01:00
|
|
|
Name: belr
|
2024-03-25 21:48:20 +01:00
|
|
|
Version: 5.3.34
|
2024-01-29 09:31:26 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 20:47:04 +01:00
|
|
|
Summary: Belledonne Communications' language recognition library
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://github.com/BelledonneCommunications/belr
|
|
|
|
Source: https://github.com/BelledonneCommunications/belr.git/%{version}/belr-%{version}.tar.bz2
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libbctoolbox-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: cmake
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description
|
|
|
|
Belr is Belledonne Communications' language recognition library, written in C++11. It parses text inputs formatted according to a language defined by an ABNF grammar, such as the protocols standardized at IETF.
|
|
|
|
|
|
|
|
%package -n lib%{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Shared libraries for %{name}
|
|
|
|
|
|
|
|
%description -n lib%{name}
|
|
|
|
This package contains shared libraries for %{name}.
|
|
|
|
|
|
|
|
%package -n lib%{name}-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n lib%{name}-devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake \
|
2024-01-29 09:31:26 +01:00
|
|
|
-DBUILD_SHARED_LIBS=YES \
|
2024-01-05 20:47:04 +01:00
|
|
|
-DENABLE_STATIC=OFF \
|
2024-01-29 09:31:26 +01:00
|
|
|
-DENABLE_TESTS=OFF \
|
|
|
|
-DENABLE_UNIT_TESTS=NO
|
|
|
|
|
|
|
|
# -DENABLE_TOOLS=NO \
|
2024-01-05 20:47:04 +01:00
|
|
|
|
|
|
|
%cmake_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%cmake_install
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -n lib%{name}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libbelr.so.*
|
|
|
|
%doc LICENSE.txt
|
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/belr-compiler
|
|
|
|
%{_bindir}/belr-parse
|
|
|
|
%dir %{_includedir}/belr
|
|
|
|
%{_includedir}/belr/*.h
|
|
|
|
%{_libdir}/libbelr.so
|
2024-01-29 09:31:26 +01:00
|
|
|
%dir %{_libdir}/cmake/Belr
|
|
|
|
%{_libdir}/cmake/Belr/Belr*.cmake
|
2024-01-05 20:47:04 +01:00
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
%changelog
|
2024-03-25 21:48:20 +01:00
|
|
|
* Mon Mar 25 2024 Automatic Build System <autodist@openmamba.org> 5.3.34-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-02-28 09:56:28 +01:00
|
|
|
* Tue Feb 27 2024 Automatic Build System <autodist@openmamba.org> 5.3.24-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-02-17 11:10:04 +01:00
|
|
|
* Fri Feb 16 2024 Automatic Build System <autodist@openmamba.org> 5.3.19-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-02-03 23:47:30 +01:00
|
|
|
* Sat Feb 03 2024 Automatic Build System <autodist@openmamba.org> 5.3.15-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-29 09:31:26 +01:00
|
|
|
* Sun Jan 28 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 5.3.12-1mamba
|
|
|
|
- update to 5.3.12
|
|
|
|
|
2024-01-05 20:47:04 +01:00
|
|
|
* Wed Nov 29 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 5.2.111-2mamba
|
|
|
|
- rebuild with ENABLE_TESTS=OFF
|
|
|
|
|
|
|
|
* Mon Nov 27 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 5.2.111-1mamba
|
|
|
|
- package created using the webbuild interface
|