%global theme_version 1d48b123d2e62dab348e08810787e41a7511be69 Name: mumble Version: 1.3.0 Release: 50%{?dist} Summary: Voice chat suite aimed at gamers Obsoletes: mumble-protocol < 1.2.10-2 License: BSD URL: http://www.mumble.info Source0: https://github.com/mumble-voip/mumble/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: https://github.com/mumble-voip/mumble-theme/archive/%{theme_version}.tar.gz#/%{name}-theme-%{theme_version}.tar.gz Source2: murmur.service Source3: mumble.appdata.xml Patch0: %{name}-1.3.0-celt071.patch # See https://fedoraproject.org/wiki/Packaging:CryptoPolicies Patch1: %{name}-1.3.0-fedora-crypto-policy-cipher-list.patch # Murmur.ini modified upstream bug #1629 #1904 Patch2: %{name}-1.3.0-fix-no-bind-at-boot.patch # Murmur will qFatal() if it does not have address to bind on start Patch3: %{name}-1.3.0-murmur-exit-on-no-bind.patch BuildRequires: qt5-linguist BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtsvg-devel BuildRequires: boost-devel BuildRequires: alsa-lib-devel BuildRequires: pulseaudio-libs-devel, speex-devel BuildRequires: speech-dispatcher-devel, libogg-devel BuildRequires: libcap-devel, speexdsp-devel BuildRequires: desktop-file-utils, openssl-devel BuildRequires: protobuf-compiler, avahi-compat-libdns_sd-devel BuildRequires: libsndfile-devel BuildRequires: opus-devel BuildRequires: libappstream-glib BuildRequires: libXi-devel BuildRequires: protobuf-devel, protobuf-c-devel BuildRequires: protobuf-compiler, protobuf-c-compiler BuildRequires: grpc-devel, grpc-plugins %global no_bundled_celt no-bundled-celt %if 0%{?no_bundled_celt:1} #Due to naming issues, celt071 is required explicitly BuildRequires: celt071-devel Requires: celt071%{?_isa} %endif %description Mumble provides low-latency, high-quality voice communication for gamers. It includes game linking, so voice from other players comes from the direction of their characters, and has echo cancellation so that the sound from your loudspeakers won't be audible to other players. %package -n murmur Summary: Mumble voice chat server Provides: %{name}-server = %{version}-%{release} Requires(pre): shadow-utils # verify Requires: qt5-qtbase-sqlite%{?_isa} # To be able to announce the presence of the server via Bonjour. Recommends: avahi %{?systemd_requires} %description -n murmur Murmur(also called mumble-server) is part of the VoIP suite Mumble primarily aimed at gamers. Murmur is the server component of the suite. %package plugins Summary: Plugins for VoIP program Mumble Requires: %{name} = %{version}-%{release} %description plugins Mumble-plugins is part of VoIP suite Mumble primarily intended for gamers. This plugin allows game linking so the voice of players will come from the direction of their characters. %package overlay Summary: Start games with the mumble overlay Requires: %{name} = %{version}-%{release} %description overlay Mumble-overlay is part of the Mumble VoIP suite aimed at gamers. If supported, starting your game with this script will enable an ingame Mumble overlay. %pre -n murmur getent group mumble-server >/dev/null || groupadd -r mumble-server getent passwd mumble-server >/dev/null || \ useradd -r -g mumble-server -d %{_localstatedir}/lib/%{name}-server/ -s /sbin/nologin \ -c "Mumble-server(murmur) user" mumble-server exit 0 %prep %setup -q -b 1 pushd themes rmdir Mumble ln -s ../../%{name}-theme-%{theme_version} Mumble popd %if 0%{?no_bundled_celt:1} %patch0 -p1 -b .celt071 %endif %patch1 -p1 -b .fedora-crypto-policy-cipher-list %patch2 -p1 -b .fix-no-bind-at-boot %patch3 -p1 -b .murmur-exit-on-no-bind %build %{qmake_qt5} \ "CONFIG+=no-bundled-speex no-g15 no-rnnoise \ no-embed-qt-translations no-update \ %{?no_bundled_celt} no-bundled-opus packaged \ no-ice c++11 \ no-oss grpc no-client" \ DEFINES+="PLUGIN_PATH=%{_libdir}/%{name}" \ DEFINES+="DEFAULT_SOUNDSYSTEM=PulseAudio"\ main.pro %make_build release %install install -pD -m0755 release/murmurd %{buildroot}%{_sbindir}/murmurd ln -s murmurd %{buildroot}%{_sbindir}/%{name}-server mkdir -p %{buildroot}%{_sysconfdir}/murmur/ install -pD scripts/murmur.ini %{buildroot}%{_sysconfdir}/murmur/murmur.ini ln -s murmur/murmur.ini %{buildroot}%{_sysconfdir}/%{name}-server.ini install -pD -m0644 %{SOURCE2} %{buildroot}%{_unitdir}/murmur.service #man pages mkdir -p %{buildroot}%{_mandir}/man1/ install -pD -m0644 man/murmurd.1 %{buildroot}%{_mandir}/man1/ #dir for mumble-server.sqlite mkdir -p %{buildroot}%{_localstatedir}/lib/mumble-server/ %check %post -n murmur %systemd_post murmur.service %preun -n murmur %systemd_preun murmur.service %postun -n murmur %systemd_postun_with_restart murmur.service %files -n murmur %license LICENSE %doc README README.Linux CHANGES %attr(-,mumble-server,mumble-server) %{_sbindir}/murmurd %{_unitdir}/murmur.service %{_sbindir}/%{name}-server %config(noreplace) %attr(664,mumble-server,mumble-server) %{_sysconfdir}/murmur/murmur.ini %config(noreplace) %{_sysconfdir}/%{name}-server.ini %{_mandir}/man1/murmurd.1* %dir %attr(-,mumble-server,mumble-server) %{_localstatedir}/lib/mumble-server/ %changelog * Fri Apr 24 2020 Rex Dieter - 1.3.0-2 - fix Qt5 deps * Fri Mar 20 2020 Nils Philippsen - 1.3.0-1 - version 1.3.0 - update build deps, patches and drop obsolete ones - build with Qt 5 * Wed Jan 29 2020 Fedora Release Engineering - 1.2.19-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 1.2.19-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 17 2019 Rex Dieter - 1.2.19-14 - mumble-1.2.19-13: Unable to find matching CELT codecs with other clients (#1711435) - support no_bundled_celt macro * Thu May 16 2019 Rex Dieter - 1.2.19-13 - pull in more upstream fixes (ssl ciphers, opengl link flags) - CONFIG+=no-oss * Fri Feb 01 2019 Fedora Release Engineering - 1.2.19-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Nov 21 2018 Igor Gnatenko - 1.2.19-11 - Rebuild for protobuf 3.6 * Fri Jul 13 2018 Fedora Release Engineering - 1.2.19-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Mon Apr 23 2018 Filipe Rosset - 1.2.19-9 - drop deprecated libXevie-devel usage to fix FTBFS on rawhide * Wed Mar 21 2018 Rex Dieter - 1.2.19-8 - fix FTBFS (#1555858) - pull in upstream appdata (#1501525) - use %%make_build %%{?systemd_requires} - build in c++-11 mode (fixes FTBFS on s390x wrt protobuf) * Thu Feb 08 2018 Fedora Release Engineering - 1.2.19-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jan 18 2018 Igor Gnatenko - 1.2.19-6 - Remove obsolete scriptlets * Wed Nov 29 2017 Igor Gnatenko - 1.2.19-5 - Rebuild for protobuf 3.5 * Mon Nov 13 2017 Igor Gnatenko - 1.2.19-4 - Rebuild for protobuf 3.4 * Thu Aug 03 2017 Fedora Release Engineering - 1.2.19-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.2.19-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jun 18 2017 Filipe Rosset - 1.2.19-1 - Rebuilt for new upstream release 1.2.19, fixes rhbz#1417330 - Added a patch to fix rhbz#1454438 until upstream fixes it - Fixes rhbz#1462279 regarding desktop file * Tue Jun 13 2017 Orion Poplawski - 1.2.18-4 - Rebuild for protobuf 3.3.1 * Fri Feb 10 2017 Fedora Release Engineering - 1.2.18-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Jan 26 2017 Orion Poplawski - 1.2.18-2 - Rebuild for protobuf 3.2.0 * Thu Dec 15 2016 Filipe Rosset - 1.2.18-1 - Rebuilt for new upstream release 1.2.18, fixes rhbz #1293181 * Sat Nov 19 2016 Orion Poplawski - 1.2.11-4 - Rebuild for protobuf 3.1.0 * Thu Feb 04 2016 Fedora Release Engineering - 1.2.11-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Mon Dec 7 2015 John Popplewell - 1.2.11-2 - Removed perl dependency and all deprecated d-bus rpc support * Sun Dec 6 2015 John Popplewell - 1.2.11-1 - Update to 1.2.11 - Added mumble-FixNoBindAtBoot.patch mumble-murmur_exit_on_no_bind.patch * Wed Nov 25 2015 John Popplewell - 1.2.10-4 - Hardened murmur.service - Added patch to disable murmur.ini d-bus rpc - remove on 1.3.0 * Wed Nov 25 2015 John Popplewell - 1.2.10-3 - Added ppc support - Marked LICENSE with license tag - Added patch to modify murmur.ini with PROFILE=SYSTEM sslCipher= setting * Tue Nov 24 2015 John Popplewell - 1.2.10-2 - Removed protocol subpkg, added Obsoletes mumble-protocol < 1.2.10-2 - Made recommended review changes (qmake_qt4, added parallel make, qt4-devel in favor of qt-devel) * Tue Nov 24 2015 John Popplewell - 1.2.10-1 - Update to 1.2.10 - Drop ice * Tue Jan 13 2015 Carlos O'Donell - 1.2.6-5 - Rebuilt against new ice-devel. * Sun Aug 17 2014 Fedora Release Engineering - 1.2.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.2.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Fri May 23 2014 Petr Machata - 1.2.6-2 - Rebuild for boost 1.55.0 * Sat May 17 2014 Christian Krause - 1.2.6-1 - Update 1.2.6 - Update fixes CVE-2014-3755 (BZ 1098231) and CVE-2014-3756 (BZ 1098233) * Fri Apr 25 2014 Christian Krause - 1.2.5-1 - Update 1.2.5 (BZ 1062209) - Update fixes CVE-2014-0044 (BZ 1061857) and CVE-2014-0045 (BZ 1061858) - Add patch to fix an compile error with g++ 4.9.0 - Remove upstreamed patch for CVE-2012-0863 * Tue Aug 27 2013 Christian Krause - 1.2.4-1 - Update 1.2.4 (BZ 976001) - New systemd-rpm macros (BZ 850218) - Cleanup * Mon Aug 19 2013 Peter Robinson 1.2.3-16 - Fix FTBFS due to speechd - Drop alsa-oss support * Sat Aug 03 2013 Fedora Release Engineering - 1.2.3-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Tue Jul 30 2013 Petr Machata - 1.2.3-14 - Rebuild for boost 1.54.0 * Wed Apr 03 2013 Christian Krause - 1.2.3-13 - Rebuild against new ice package - Updated Ice version in patch0 * Sun Mar 17 2013 Christian Krause - 1.2.3-12 - Rebuild against new protobuf package * Wed Feb 06 2013 Christian Krause - 1.2.3-11 - Rebuild against new ice package - Updated Ice version in patch0 - Use new systemd-rpm macros (BZ 850218) * Fri Jul 20 2012 Fedora Release Engineering - 1.2.3-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Thu May 31 2012 Christian Krause - 1.2.3-9 - Fix startup issues of murmurd (BZ 711711, BZ 770469, BZ 771423) - Fix migration to systemd http://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Systemd - Fix directory ownership of %%{_libdir}/mumble and %%{_datadir}/mumble* (BZ 744886) - Add upstream patch for CVE-2012-0863 (BZ 791058) - Fix broken logrotate config file (BZ 730129) - Add dependency for qt4-sqlite (BZ 660221) - Remove /sbin/ldconfig from %%post(un) since mumble does not contain any libraries in %%{_libdir} - Some minor cleanup * Wed Apr 18 2012 Jon Ciesla - 1.2.3-8 - Migrate to systemd, BZ 790040. * Fri Mar 16 2012 Tom Callaway - 1.2.3-7 - rebuild against fixed ice * Fri Jan 13 2012 Fedora Release Engineering - 1.2.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Thu Nov 10 2011 Andreas Osowski - 1.2.3-5 - Updated Ice version in patch0 - Added new patch to build against celt071 includes thanks to Florent Le Coz * Thu Nov 10 2011 Andreas Osowski - 1.2.3-4 - rebuilt for protobuf update * Mon Sep 12 2011 Andreas Osowski - 1.2.3-3 - Rebuild for newer protobuf * Tue May 17 2011 Andreas Osowski - 1.2.3-2 - Added celt071 functionality - Fixed the qmake args * Wed Mar 30 2011 Andreas Osowski - 1.2.3-1 - Update to 1.2.3 - Fixes vulnerability #610845 - Added patch to make it compile with Ice 3.4.0 - Added tmpfile.d config file for murmur * Tue Feb 08 2011 Fedora Release Engineering - 1.2.2-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Aug 25 2010 Andreas Osowski - 1.2.2-10 - Actually removed the requirement for redhat-lsb * Tue Aug 03 2010 Andreas Osowski - 1.2.2-9 - Removed redhat-lsb from Requires for murmur - Updated initscript for murmur * Sun May 16 2010 Andreas Osowski - 1.2.2-8 - Rebuild for protobuf ABI change - Added redhat-lsb to the Requires for murmur * Sun May 2 2010 Andreas Osowski - 1.2.2-7 - Fixed murmur's init script * Sun Apr 18 2010 Andreas Osowski - 1.2.2-6 - Fix for missing dbus-qt-devel on >F12 * Sun Apr 18 2010 Andreas Osowski - 1.2.2-5 - Merged Mary Ellen Foster's changelog entry * Tue Mar 30 2010 Andreas Osowski - 1.2.2-4 - Marked the files in /etc as config entries * Tue Mar 23 2010 Andreas Osowski - 1.2.2-3 - Added desktop file for mumble11x * Mon Feb 22 2010 Julian Golderer - 1.2.2-2 - Added mumble11x - Added svg icons - Added language files * Sun Feb 21 2010 Andreas Osowski - 1.2.2-1 - Update to 1.2.2