131 lines
4.0 KiB
RPMSpec
131 lines
4.0 KiB
RPMSpec
Name: belr
|
|
Version: 5.3.95
|
|
Release: 1mamba
|
|
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 \
|
|
-DBUILD_SHARED_LIBS=YES \
|
|
-DENABLE_STATIC=OFF \
|
|
-DENABLE_TESTS=OFF \
|
|
-DENABLE_UNIT_TESTS=NO
|
|
|
|
# -DENABLE_TOOLS=NO \
|
|
|
|
%cmake_build
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%cmake_install
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
%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
|
|
* Sat Nov 30 2024 Automatic Build System <autodist@openmamba.org> 5.3.95-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Oct 30 2024 Automatic Build System <autodist@openmamba.org> 5.3.94-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Oct 28 2024 Automatic Build System <autodist@openmamba.org> 5.3.89-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Sep 27 2024 Automatic Build System <autodist@openmamba.org> 5.3.83-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Sep 08 2024 Automatic Build System <autodist@openmamba.org> 5.3.79-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Aug 29 2024 Automatic Build System <autodist@openmamba.org> 5.3.77-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Aug 07 2024 Automatic Build System <autodist@openmamba.org> 5.3.74-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Jul 25 2024 Automatic Build System <autodist@openmamba.org> 5.3.72-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Apr 15 2024 Automatic Build System <autodist@openmamba.org> 5.3.41-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Apr 09 2024 Automatic Build System <autodist@openmamba.org> 5.3.38-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Mar 25 2024 Automatic Build System <autodist@openmamba.org> 5.3.34-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Feb 27 2024 Automatic Build System <autodist@openmamba.org> 5.3.24-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Feb 16 2024 Automatic Build System <autodist@openmamba.org> 5.3.19-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Feb 03 2024 Automatic Build System <autodist@openmamba.org> 5.3.15-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Jan 28 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 5.3.12-1mamba
|
|
- update to 5.3.12
|
|
|
|
* 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
|