2020-06-25 12:15:19 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package rem
|
|
|
|
|
#
|
2024-02-23 15:05:06 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2020-06-25 12:15:19 +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/
|
|
|
|
|
#
|
|
|
|
|
|
2022-07-01 13:31:47 +00:00
|
|
|
|
2024-02-23 15:05:06 +00:00
|
|
|
%global sover 6
|
2020-06-25 12:15:19 +00:00
|
|
|
%global libname lib%{name}%{sover}
|
|
|
|
|
Name: rem
|
2024-02-23 15:05:06 +00:00
|
|
|
Version: 2.12.0
|
2020-06-25 12:15:19 +00:00
|
|
|
Release: 0
|
|
|
|
|
Summary: Audio and Video processing media library
|
|
|
|
|
License: BSD-3-Clause
|
|
|
|
|
Group: Development/Libraries/C and C++
|
2021-05-14 10:17:46 +00:00
|
|
|
URL: https://github.com/baresip/rem
|
2022-09-06 12:15:10 +00:00
|
|
|
Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
2022-12-11 20:32:45 +00:00
|
|
|
BuildRequires: cmake
|
2024-02-23 15:05:06 +00:00
|
|
|
BuildRequires: gcc-c++
|
2022-12-11 20:32:45 +00:00
|
|
|
BuildRequires: openssl-devel
|
2020-06-25 12:15:19 +00:00
|
|
|
BuildRequires: pkgconfig
|
2022-07-01 13:31:47 +00:00
|
|
|
BuildRequires: pkgconfig(libre) >= 2.4.0
|
2022-12-11 20:32:45 +00:00
|
|
|
BuildRequires: pkgconfig(zlib)
|
2020-06-25 12:15:19 +00:00
|
|
|
|
|
|
|
|
%description
|
2020-06-28 12:02:07 +00:00
|
|
|
Librem is a generic library for real-time audio
|
2020-06-25 12:15:19 +00:00
|
|
|
and video processing.
|
|
|
|
|
|
|
|
|
|
Features:
|
|
|
|
|
* Audio buffering, mixing, codecs and resampling
|
|
|
|
|
* Video mixing, rescaling and pixel format conversion
|
|
|
|
|
|
|
|
|
|
%package -n %{libname}
|
|
|
|
|
Summary: Audio and Video processing media library
|
2020-06-28 12:02:07 +00:00
|
|
|
Group: System/Libraries
|
2020-06-25 12:15:19 +00:00
|
|
|
|
|
|
|
|
%description -n %{libname}
|
2020-06-28 12:02:07 +00:00
|
|
|
Librem is a generic library for real-time audio
|
2020-06-25 12:15:19 +00:00
|
|
|
and video processing.
|
|
|
|
|
|
|
|
|
|
Features:
|
|
|
|
|
* Audio buffering, mixing, codecs and resampling
|
|
|
|
|
* Video mixing, rescaling and pixel format conversion
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Librem development files
|
|
|
|
|
Group: Development/Libraries/C and C++
|
2022-09-06 12:15:10 +00:00
|
|
|
Requires: %{libname} = %{version}-%{release}
|
2020-06-25 12:15:19 +00:00
|
|
|
|
|
|
|
|
%description devel
|
2020-06-28 12:02:07 +00:00
|
|
|
Librem is a generic library for real-time audio
|
2020-06-25 12:15:19 +00:00
|
|
|
and video processing.
|
|
|
|
|
|
|
|
|
|
Features:
|
|
|
|
|
* Audio buffering, mixing, codecs and resampling
|
|
|
|
|
* Video mixing, rescaling and pixel format conversion
|
|
|
|
|
|
|
|
|
|
This subpackage contains libraries and header files for developing
|
|
|
|
|
applications that want to make use of librem.
|
|
|
|
|
|
|
|
|
|
%prep
|
2022-12-11 20:32:45 +00:00
|
|
|
%setup -q
|
2020-06-25 12:15:19 +00:00
|
|
|
|
|
|
|
|
%build
|
2022-12-11 20:32:45 +00:00
|
|
|
%cmake
|
|
|
|
|
%cmake_build
|
2020-06-25 12:15:19 +00:00
|
|
|
|
|
|
|
|
%install
|
2022-12-11 20:32:45 +00:00
|
|
|
%cmake_install
|
|
|
|
|
rm -v %{buildroot}/%{_libdir}/librem.a
|
2020-06-25 12:15:19 +00:00
|
|
|
|
|
|
|
|
%post -n %{libname} -p /sbin/ldconfig
|
|
|
|
|
%postun -n %{libname} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%files -n %{libname}
|
2022-12-11 20:32:45 +00:00
|
|
|
%license LICENSE
|
2022-07-01 13:31:47 +00:00
|
|
|
%doc CHANGELOG.md README.md
|
2020-06-25 12:15:19 +00:00
|
|
|
%{_libdir}/librem.so.%{sover}*
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_includedir}/rem
|
|
|
|
|
%{_libdir}/librem.so
|
|
|
|
|
%{_libdir}/pkgconfig/librem.pc
|
|
|
|
|
|
|
|
|
|
%changelog
|