rebuild with ENABLE_TESTS=OFF [release 5.2.111-2mamba;Wed Nov 29 2023]

This commit is contained in:
Silvan Calarco 2024-01-05 20:47:04 +01:00
parent c20076bd05
commit a7bc4e9856
2 changed files with 86 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# belr # belr
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.

84
belr.spec Normal file
View File

@ -0,0 +1,84 @@
Name: belr
Version: 5.2.111
Release: 2mamba
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 \
-DENABLE_STATIC=OFF \
-DENABLE_TESTS=OFF
%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
%dir %{_libdir}/cmake/belr
%{_libdir}/cmake/belr/belr*.cmake
%doc README.md
%changelog
* 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