Group :: Sistema/Bibliotecas
RPM: libwebrtc-audio-processing
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define rname webrtc-audio-processing
Name: lib%rname
Version: 1.3
Release: alt1
Summary: WebRTC Audio Processing library
License: BSD
Group: System/Libraries
Url: https://freedesktop.org/software/pulseaudio/%rname/
Packager: Valery Inozemtsev <shrek at altlinux.ru>
Source: %url/%rname-%version.tar.gz
Patch: webrtc-fix-typedefs-on-other-arches.patch
BuildRequires: gcc-c++ meson libabseil-cpp-devel
%description
WebRTC is an open source project that enables web browsers with Real-Time
Communications (RTC) capabilities via simple Javascript APIs. The WebRTC
components have been optimized to best serve this purpose.
WebRTC implements the W3C's proposal for video conferencing on the web.
%package devel
Summary: WebRTC Audio Processing library and header files
Group: Development/C
%description devel
libwebrtc-devel contains the libraries and header files needed to
develop programs which make use of %rname
%prep
%setup -q -n %rname-%version
%patch -p1
%build
%add_optflags -Wno-return-type
%ifarch %ix86
%add_optflags -march=native
%endif
%meson
%meson_build
%install
%meson_install
%files
%doc NEWS README.md
%_libdir/*.so.*
%files devel
%_includedir/webrtc-audio-processing-1
%_libdir/*.so
%_pkgconfigdir/*.pc
%changelog
…
Todas as alterações você pod ver aqui
Name: lib%rname
Version: 1.3
Release: alt1
Summary: WebRTC Audio Processing library
License: BSD
Group: System/Libraries
Url: https://freedesktop.org/software/pulseaudio/%rname/
Packager: Valery Inozemtsev <shrek at altlinux.ru>
Source: %url/%rname-%version.tar.gz
Patch: webrtc-fix-typedefs-on-other-arches.patch
BuildRequires: gcc-c++ meson libabseil-cpp-devel
%description
WebRTC is an open source project that enables web browsers with Real-Time
Communications (RTC) capabilities via simple Javascript APIs. The WebRTC
components have been optimized to best serve this purpose.
WebRTC implements the W3C's proposal for video conferencing on the web.
%package devel
Summary: WebRTC Audio Processing library and header files
Group: Development/C
%description devel
libwebrtc-devel contains the libraries and header files needed to
develop programs which make use of %rname
%prep
%setup -q -n %rname-%version
%patch -p1
%build
%add_optflags -Wno-return-type
%ifarch %ix86
%add_optflags -march=native
%endif
%meson
%meson_build
%install
%meson_install
%files
%doc NEWS README.md
%_libdir/*.so.*
%files devel
%_includedir/webrtc-audio-processing-1
%_libdir/*.so
%_pkgconfigdir/*.pc
%changelog
…
Todas as alterações você pod ver aqui