2020-06-25 07:32:28 +00:00
|
|
|
#
|
|
|
|
# spec file for package re
|
|
|
|
#
|
2024-05-11 14:48:50 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2020-06-25 07:32:28 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2021-05-14 10:17:53 +00:00
|
|
|
|
2024-05-11 14:48:50 +00:00
|
|
|
%global sover 23
|
2020-06-25 07:32:28 +00:00
|
|
|
%global libname lib%{name}%{sover}
|
|
|
|
Name: re
|
2024-05-11 14:48:50 +00:00
|
|
|
Version: 3.11.0
|
2020-06-25 07:32:28 +00:00
|
|
|
Release: 0
|
2022-09-06 12:16:32 +00:00
|
|
|
Summary: Library for real-time communications with async I/O support
|
2020-06-25 07:32:28 +00:00
|
|
|
License: BSD-3-Clause
|
|
|
|
Group: Development/Libraries/C and C++
|
2021-05-14 10:17:53 +00:00
|
|
|
URL: https://github.com/baresip/re
|
2022-09-06 12:16:32 +00:00
|
|
|
Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
2022-12-05 18:20:09 +00:00
|
|
|
BuildRequires: cmake
|
2024-02-12 15:56:32 +00:00
|
|
|
BuildRequires: gcc-c++
|
2020-06-25 07:32:28 +00:00
|
|
|
BuildRequires: openssl-devel
|
|
|
|
BuildRequires: pkgconfig
|
2023-08-27 08:29:16 +00:00
|
|
|
Obsoletes: librem4 < %{version}
|
2020-06-25 07:32:28 +00:00
|
|
|
|
|
|
|
%description
|
2020-06-25 11:15:30 +00:00
|
|
|
Libre is a library for real-time communications
|
2020-06-25 07:32:28 +00:00
|
|
|
with async IO support and a complete SIP stack with support for protocols
|
|
|
|
such as SDP, RTP/RTCP, STUN/TURN/ICE, BFCP, HTTP and DNS Client.
|
|
|
|
|
|
|
|
%package -n %{libname}
|
|
|
|
Summary: Library for real-time communications with async IO support
|
2020-06-25 11:15:30 +00:00
|
|
|
Group: System/Libraries
|
2020-06-25 07:32:28 +00:00
|
|
|
|
|
|
|
%description -n %{libname}
|
2020-06-25 11:15:30 +00:00
|
|
|
Libre is a library for real-time communications
|
2022-09-06 12:16:32 +00:00
|
|
|
with async I/O support and a complete SIP stack with support for protocols
|
2020-06-25 07:32:28 +00:00
|
|
|
such as SDP, RTP/RTCP, STUN/TURN/ICE, BFCP, HTTP and DNS Client.
|
|
|
|
|
|
|
|
%package devel
|
2020-06-25 11:15:30 +00:00
|
|
|
Summary: Development files for libre
|
2020-06-25 07:32:28 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
2022-09-06 12:16:32 +00:00
|
|
|
Requires: %{libname} = %{version}-%{release}
|
2020-06-25 07:32:28 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
Libre is a portable and generic library for real-time communications
|
2022-09-06 12:16:32 +00:00
|
|
|
with async I/O support and a complete SIP stack with support for protocols
|
2020-06-25 07:32:28 +00:00
|
|
|
such as SDP, RTP/RTCP, STUN/TURN/ICE, BFCP, HTTP and DNS Client.
|
|
|
|
|
|
|
|
This subpackage contains libraries and header files for developing
|
|
|
|
applications that want to make use of libre.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2023-08-27 08:29:16 +00:00
|
|
|
%cmake \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release
|
2022-12-05 18:20:09 +00:00
|
|
|
%cmake_build
|
2020-06-25 07:32:28 +00:00
|
|
|
|
|
|
|
%install
|
2022-12-05 18:20:09 +00:00
|
|
|
%cmake_install
|
|
|
|
rm -v %{buildroot}/%{_libdir}/libre.a
|
2020-06-25 07:32:28 +00:00
|
|
|
|
2023-09-14 13:40:40 +00:00
|
|
|
%ldconfig_scriptlets -n %{libname}
|
|
|
|
|
|
|
|
%check
|
|
|
|
%ctest
|
2020-06-25 07:32:28 +00:00
|
|
|
|
|
|
|
%files -n %{libname}
|
2022-05-21 11:12:16 +00:00
|
|
|
%license LICENSE
|
2022-07-01 13:31:32 +00:00
|
|
|
%doc CHANGELOG.md README.md
|
2020-06-25 07:32:28 +00:00
|
|
|
%{_libdir}/libre.so.%{sover}*
|
|
|
|
|
|
|
|
%files devel
|
2022-05-21 11:12:16 +00:00
|
|
|
%license LICENSE
|
2020-06-25 07:32:28 +00:00
|
|
|
%{_includedir}/re
|
2022-12-05 18:20:09 +00:00
|
|
|
#%%{_datadir}/re
|
2020-06-25 07:32:28 +00:00
|
|
|
%{_libdir}/libre.so
|
|
|
|
%{_libdir}/pkgconfig/libre.pc
|
2022-12-05 18:20:09 +00:00
|
|
|
%dir %{_libdir}/cmake/re
|
|
|
|
%{_libdir}/cmake/re/re-config.cmake
|
2023-08-27 08:29:16 +00:00
|
|
|
%dir %{_libdir}/cmake/libre
|
|
|
|
%{_libdir}/cmake/libre/libre-config.cmake
|
|
|
|
%{_libdir}/cmake/libre/libre-release.cmake
|
|
|
|
%{_libdir}/cmake/libre/libre.cmake
|
2020-06-25 07:32:28 +00:00
|
|
|
|
|
|
|
%changelog
|