fixes for F31+

This commit is contained in:
nucleo 2019-09-30 20:27:46 +03:00
parent a678a9e59d
commit e2ccee3aa7

View file

@ -114,7 +114,7 @@ Libraries and headers required to develop software with mediastreamer2.
autoreconf -i -f
# remove bundled oRTP
rm -rf oRTP
#rm -rf oRTP
# Fix encoding
for f in share/cs/*.1; do
@ -142,17 +142,20 @@ done
--enable-nonstandard-gsm \
--enable-rsvp \
--enable-ssl \
--enable-zrtp \
%ifarch i686 armv7hl
--disable-upnp \
%endif
--enable-external-ortp
# --enable-zrtp \
# --enable-external-ortp
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
# from oRTP install only %{_libdir}/libortp.so.9*
rm -rf $RPM_BUILD_ROOT%{_includedir}/ortp $RPM_BUILD_ROOT%{_datadir}/doc/ortp-0.22.0 $RPM_BUILD_ROOT%{_libdir}/pkgconfig/ortp.pc $RPM_BUILD_ROOT%{_libdir}/libortp.so
%find_lang %{name}
%find_lang mediastreamer
@ -185,6 +188,7 @@ mv $RPM_BUILD_ROOT%{_datadir}/doc/mediastreamer*/html doc/mediastreamer
%{_libdir}/liblinphone.so.5*
%{_libdir}/liblpc2xml.so.0*
%{_libdir}/libxml2lpc.so.0*
%{_libdir}/libortp.so.9*
%{_mandir}/man1/*
%lang(cs) %{_mandir}/cs/man1/*
%{_datadir}/applications/*%{name}.desktop
@ -217,6 +221,10 @@ mv $RPM_BUILD_ROOT%{_datadir}/doc/mediastreamer*/html doc/mediastreamer
%{_libdir}/pkgconfig/mediastreamer.pc
%changelog
* Mon Sep 30 2019 Alexey Kurov <nucleo@fedoraproject.org> - 3.6.1-34
- build bundled oRTP
- disabled zrtp support
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.1-33
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild