diff --git a/mumble-1.1.4-sle10glx.diff b/mumble-1.1.4-sle10glx.diff deleted file mode 100644 index 58393b4..0000000 --- a/mumble-1.1.4-sle10glx.diff +++ /dev/null @@ -1,14 +0,0 @@ -Index: mumble-1.2.2/overlay_gl/overlay.c -=================================================================== ---- mumble-1.2.2.orig/overlay_gl/overlay.c -+++ mumble-1.2.2/overlay_gl/overlay.c -@@ -54,6 +54,9 @@ - #include - #include - -+/* hack for sle10 */ -+typedef void (*__GLXextFuncPtr)(void); -+ - typedef unsigned char bool; - #define true 1 - #define false 0 diff --git a/mumble-1.2.10.tar.gz b/mumble-1.2.10.tar.gz deleted file mode 100644 index 3175890..0000000 --- a/mumble-1.2.10.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c6367a63ef54aac8e6d556066297e536a8c288495d53490219a113e43aa85b04 -size 3195427 diff --git a/mumble-1.2.10.tar.gz.sig b/mumble-1.2.10.tar.gz.sig deleted file mode 100644 index 94589a3..0000000 --- a/mumble-1.2.10.tar.gz.sig +++ /dev/null @@ -1,17 +0,0 @@ ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.11 (GNU/Linux) - -iQIcBAABAgAGBQJVns/KAAoJENdEbA91G0aVqK4P/0p8KvmO8b32Nie00n+fudsu -/YIytUDKxj5Q+oFgH0jj5v7lvmDhLteaL2mFZPDt9TtmhQc3OxiIT+hVXpMOXTe1 -YBZHtO+2Yqk6IK5+UT2BQFKpUdGHpiOUjajgPMNOHPT8SiJMpH9jDS0MERwzpBRn -KXTV92KH2+bnoQ/xPdS3Mfrs4ioR9869zbbuHRMZadxdq3hf+UxlImN5wZg+/L+o -FamFc6pHQwI/44YvBIsgoIFwCjRPPl94JduenprO9A9IXpoQkhL+2zEDY+GiDfSk -w7IfCmQYrgS8d7HXGk0eUIVkO4u7OvQczptRTG56BXO+PMSPuKsALE7neBfcNz6v -i5E6rFDcOj90iTa66miwC5HnXv60T21q4FHYNvxTvc+ZDe1DvKIqlqm9tCHq0oZm -q+dG4cXWf9hX97qO3HYjLEryIEMhATWGRVCEXcrxAOuaezbzsCEYyw/+NAj/3GYw -5K8jslqjfHbSLxhVu5DzrP89V3LmCLl9GTCXIA5MrE88QvrI6sI/4vHOGGyNtaFs -kfGAIBH6ojTwlspwBFV7ZhhU2dBVCsNUwmpfcG6CZ0E9J0M1aflhVMI+ti7tJMxP -UwUc/npqCG2vzrRQw2WcUVODIn7077LvBn4tCR2r547Edf7Pi+HjPMgt+O8IF5Bh -9/X8346MgJnjwLJF2rr8 -=lQXj ------END PGP SIGNATURE----- diff --git a/mumble-1.2.11-desktop_fix.diff b/mumble-1.2.11-desktop_fix.diff new file mode 100644 index 0000000..9be1601 --- /dev/null +++ b/mumble-1.2.11-desktop_fix.diff @@ -0,0 +1,14 @@ +Index: mumble-1.2.11/scripts/mumble.desktop +=================================================================== +--- mumble-1.2.11.orig/scripts/mumble.desktop ++++ mumble-1.2.11/scripts/mumble.desktop +@@ -13,7 +13,7 @@ Icon=mumble + Terminal=false + Type=Application + StartupNotify=false +-MimeType=x-scheme-handler/mumble ++MimeType=x-scheme-handler/mumble; + Categories=Network;Chat;Qt; +-Keywords=VoIP;Messaging;Voice Chat;Secure Communication ++Keywords=VoIP;Messaging;Voice Chat;Secure Communication; + Version=1.0 diff --git a/mumble-1.2.11.tar.gz b/mumble-1.2.11.tar.gz new file mode 100644 index 0000000..5a04d6e --- /dev/null +++ b/mumble-1.2.11.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e8ec96ec367151064352195d3f84aa9fe4e456e70c57037e0d0cb84155d603e6 +size 3196837 diff --git a/mumble-1.2.11.tar.gz.sig b/mumble-1.2.11.tar.gz.sig new file mode 100644 index 0000000..98cad6d --- /dev/null +++ b/mumble-1.2.11.tar.gz.sig @@ -0,0 +1,17 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.11 (GNU/Linux) + +iQIcBAABAgAGBQJWZAnVAAoJENdEbA91G0aVLJYP/AtB5c/cZpAKKt4iQFKyLN7l +qU8MVDT58bShFDo9w3JeuYg7ipf596gWOSAJHYstS5CZgDTPHGQt+8m5IjQ4c7bM +qrTEh8R49M7RbVe3EZPp9eHrVZXD4mymUZQAq5RsAuO+lN5wYflNpUamINrEwfHk +t/8V8j3eNbsMCuYiP9KiuUzV5VNJ345iKZW5Gjk1Uiq9PSKvdVcmkT4R2ThNS6qT +K7tv8agG+RXcM7bhlWKmRFE7JShya875kn+c8fU9OHEsIJGS9QgOKPFjCkXteQdq +tkJOZtkhwu36fzbu8Ksmx6yNZLD4aJa5JaPOTyq5QvUS8OFn8l/ZvOBPc2iCsnH6 +Wu4risX6HAGHQXn8GHVQxswKO0jKpHqstmxhLEigsP7gBwMLuNNr57zx2uecVsx4 +TQFICcD0IVrdR3pMB3tHAp9oFL2ONab5HKDBOqCD0D+e/MBJkPXifrqI8yTABaX5 +haNTNSomVmBdG77H0g9Ju9LULfDeIKgGIpD1nnPHYJG0TTcnQ9rMg5T0OG0k/pgl +0z1XlacYwIWs7Q8pJLgt/2bFdgUNDip2vmBtV34KsvKMKSQNHvqDiQW7dLD6YN5T +vdLcLz4r2X7UgYg/A+qELqUtDT0Y9kBW/mZ2Ib8p2b/BPYdoCuJoOTwv/oQOT/dx +0FXD3dRhM/ub398qtsHL +=3rVg +-----END PGP SIGNATURE----- diff --git a/mumble.changes b/mumble.changes index 7b69ab0..3021735 100644 --- a/mumble.changes +++ b/mumble.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Mon Dec 14 20:49:12 UTC 2015 - rpm@fthiessen.de + +- Removed unneeded patch for SLE10: mumble-1.1.4-sle10glx.diff +- Added patch from RandyBB (roman@priesol.net) to fix missing + semicolons in desktop file: mumble-1.2.11-desktop_fix.diff +- Removed parts for outdated openSUSE versions, older then openSUSE + 12.2 or SLE 11, from spec file + +------------------------------------------------------------------- +Mon Dec 14 14:06:32 UTC 2015 - astieger@suse.com + +- update to 1.2.11: + * Fixed a bug where Mumble global shortcuts on X11 would not + release properly when Chrome/Chromium was the frontmost application. + * Fixed a bug where clients would automatically reconnect after + being kicked. + * Inserting an image in the chat should now always cause Mumble + to scroll correctly to the bottom of the log. + * Opening mumble:// URLs should now correctly allow people to + change channels if a URL is opened while Mumble is running. + * Fixed an issue where the “shortcut/linux/evdev/enable” config + option was not saved correctly, and overwritten when closing + Mumble. + ------------------------------------------------------------------- Tue Oct 13 16:09:18 UTC 2015 - astieger@suse.com diff --git a/mumble.spec b/mumble.spec index 2cc65f2..becc7a9 100644 --- a/mumble.spec +++ b/mumble.spec @@ -25,13 +25,11 @@ %bcond_with pulseaudio %endif %endif - %if 0%{?fedora_version} > 11 %bcond_without ice %else %bcond_with ice %endif - %if 0%{?suse_version} && 0%{?suse_version} < 1230 %bcond_with systemd %else @@ -42,9 +40,7 @@ %bcond_without speechd %endif %endif - %bcond_with mumble11x - %bcond_without bonjour # mumble must be able to talk to other clients which may use # differnt versions of celt. Since each celt release is @@ -52,14 +48,33 @@ # versions. %bcond_with system_celt %bcond_without system_speex - Name: mumble +Version: 1.2.11%{?snapshot:_%{snapshot}} +Release: 0 +Summary: Voice Communication Client for Gamers +License: BSD-3-Clause +Group: Productivity/Multimedia/Sound/Utilities +Url: http://mumble.sourceforge.net/ +Source2: mumble-server.init +Source3: murmur.apparmor +# http://mumble.info/gpg/gpg.txt +Source4: %{name}.keyring +Source5: mumble-server.service +Source6: baselibs.conf +Patch0: mumble-1.2.2-buildcompare.diff +# PATCH-FIX-UPSTREAM mumble-1.2.11-desktop_fix.diff -- https://github.com/mumble-voip/mumble/pull/1960 +Patch1: mumble-1.2.11-desktop_fix.diff +BuildRequires: boost-devel +BuildRequires: gcc-c++ +BuildRequires: libcap-devel +BuildRequires: libogg-devel +BuildRequires: libsndfile-devel BuildRequires: protobuf-devel +Requires: lsb-release +BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{with bonjour} %if 0%{?suse_version} -%if 0%{?suse_version} > 1010 BuildRequires: avahi-compat-mDNSResponder-devel -%endif %else BuildRequires: avahi-compat-libdns_sd-devel %endif @@ -68,15 +83,10 @@ BuildRequires: avahi-compat-libdns_sd-devel BuildRequires: libcelt-devel Requires: libcelt0 > 0.7.0 %endif -BuildRequires: libcap-devel -BuildRequires: libogg-devel -BuildRequires: libsndfile-devel %if %{with system_speex} BuildRequires: speex-devel BuildRequires: pkgconfig(speexdsp) %endif -BuildRequires: boost-devel -BuildRequires: gcc-c++ %if 0%{?suse_version} BuildRequires: alsa-devel BuildRequires: libqt4-devel @@ -114,39 +124,13 @@ BuildRequires: pulseaudio-devel %if %{with speechd} BuildRequires: libspeechd-devel %endif -Version: 1.2.10%{?snapshot:_%snapshot} -Release: 0 %if 0%{!?snapshot:1} -Source: http://downloads.sourceforge.net/project/mumble/Mumble/%{version}/mumble-%{version}.tar.gz -Source1: http://downloads.sourceforge.net/project/mumble/Mumble/%{version}/mumble-%{version}.tar.gz.sig +Source: https://github.com/mumble-voip/mumble/releases/download/%{version}/%{name}-%{version}.tar.gz +Source1: https://github.com/mumble-voip/mumble/releases/download/%{version}/%{name}-%{version}.tar.gz.sig %endif -Source2: mumble-server.init -Source3: murmur.apparmor -# http://mumble.info/gpg/gpg.txt -Source4: %{name}.keyring -Source5: mumble-server.service -Source6: baselibs.conf -Patch50: mumble-1.2.2-buildcompare.diff -# hack, no clue about glx so no idea to fix this properly -Patch99: mumble-1.1.4-sle10glx.diff -BuildRoot: %{_tmppath}/%{name}-%{version}-build -Url: http://mumble.sourceforge.net/ -Summary: Voice Communication Client for Gamers -License: BSD-3-Clause -Group: Productivity/Multimedia/Sound/Utilities -Requires: lsb-release %if 0%{?suse_version} Requires: qt-sql-sqlite -%if 0%{?suse_version} == 1030 -#XXX: qt4 bug on 10.3 (bnc#370942) -Requires: libqt4 > 4.3.1-23 -%endif # 10.3 -%if 0%{?suse_version} == 1100 -# the version shipped on 11.0 is insufficient -Requires: libspeex > 1.1.99.3 -%endif # 11.0 -%endif # suse_version -%if 0%{?fedora_version} +%else Requires: qt4-sqlite %endif %if 0%{?suse_version} > 1010 @@ -161,8 +145,8 @@ Conflicts: %{name}-64bit < %{version} %endif # %if 0%{?snapshot:1} -Conflicts: mumble < %version -Provides: mumble = %version +Conflicts: mumble < %{version} +Provides: mumble = %{version} # %endif # @@ -178,10 +162,10 @@ Summary: Voice Communication Server for Gamers Group: Productivity/Multimedia/Sound/Utilities Requires: lsb-release Requires: qt-sql-sqlite -PreReq: /usr/sbin/useradd +Requires(pre): %{_sbindir}/useradd %if 0%{?snapshot:1} -Conflicts: mumble-server < %version -Provides: mumble-server = %version +Conflicts: mumble-server < %{version} +Provides: mumble-server = %{version} %endif %if %{with systemd} %{?systemd_requires} @@ -195,15 +179,12 @@ won't be audible to other players. %prep %setup -q - -%patch50 -p1 -%if 0%{?suse_version} && 0%{?suse_version} < 1020 -%patch99 -p1 -%endif +%patch0 -p1 +%patch1 -p1 %if !%{with system_celt} %if 0%{?snapshot:1} -tar -xzf %SOURCE50 -tar -xzf %SOURCE51 +tar -xzf %{SOURCE50} +tar -xzf %{SOURCE51} for v in 0.7.0 0.11.0; do rmdir celt-$v-src mv celt-$v celt-$v-src @@ -219,14 +200,14 @@ sed -i -e '/QT_REQUIRE_VERSION/d' src/mumble/main.cpp src/mumble11x/main.cpp %build %if 0%{?fedora_version} -ln -s /usr/bin/qmake-qt4 qmake -ln -s /usr/bin/lrelease-qt4 lrelease -ln -s /usr/bin/lupdate-qt4 lupdate +ln -s %{_bindir}/qmake-qt4 qmake +ln -s %{_bindir}/lrelease-qt4 lrelease +ln -s %{_bindir}/lupdate-qt4 lupdate export PATH=$PATH:$PWD %endif %if 0%{?mandriva_version} > 2006 -export PATH=/usr/lib/qt4/bin:$PATH -export QTDIR=%{_prefix}/lib/qt4/ +export PATH=%{_libexecdir}/qt4/bin:$PATH +export QTDIR=%{_libexecdir}/qt4/ %endif # # @@ -237,7 +218,7 @@ touch release/mumble release/murmurd release/libmumble.so.1.1.1 %else %if 0%{?mandriva_version} # HACK: mandriva forgot to package qt translations -if [ ! -e /usr/lib/qt4/translations/qt_de.qm ]; then +if [ ! -e %{_libexecdir}/qt4/translations/qt_de.qm ]; then sed -i -e '/QMAKE_EXTRA_TARGETS/s/copytrans//;/PRE_TARGETDEPS/s/qt_de\.qm//' src/mumble/mumble.pro sed -i -e '/qt_.*\.qm/d' src/mumble/mumble.qrc fi @@ -249,7 +230,7 @@ qmake \ QMAKE_CFLAGS_RELEASE="%{optflags} -Wall -fno-strict-aliasing" \ QMAKE_CXXFLAGS_RELEASE="%{optflags} -Wall -fno-strict-aliasing" \ DEFINES*=NO_UPDATE_CHECK \ - DEFINES*=MUMBLE_VERSION=%version \ + DEFINES*=MUMBLE_VERSION=%{version} \ DEFINES*=PLUGIN_PATH=%{_libdir}/mumble/plugins \ CONFIG*=packaged \ %if 0%{?suse_version} @@ -285,18 +266,18 @@ qmake \ -recursive # ### XXX: hack for incomplete dependencies -make qmake +make %{?_smp_mflags} qmake %if 0 # that translation stuff is just broken # copy the available ones manually %if 0%{?suse_version} -cp /usr/share/qt4/translations/qt_*.qm src/mumble +cp %{_datadir}/qt4/translations/qt_*.qm src/mumble # 10.3 doesn't have that one touch src/mumble/qt_pl.qm %endif -make -C src/mumble mumble_en.qm +make %{?_smp_mflags} -C src/mumble mumble_en.qm %if !0%{?mandriva_version} -make -C src/mumble qt_de.qm +make %{?_smp_mflags} -C src/mumble qt_de.qm %endif # %endif @@ -347,20 +328,20 @@ install -D -m 0755 release/mumble11x %{buildroot}%{_bindir}/mumble11x # server install -D -m 0755 release/murmurd "%{buildroot}%{_sbindir}/murmurd" %if %{with systemd} -mkdir -p %buildroot/usr/lib/tmpfiles.d -cat >> %buildroot/usr/lib/tmpfiles.d/mumble-server.conf <> %{buildroot}%{_libexecdir}/tmpfiles.d/mumble-server.conf < %buildroot/%_datadir/applications/mumble.desktop + > %{buildroot}/%{_datadir}/applications/mumble.desktop %suse_update_desktop_file mumble %else -install -m 644 scripts/mumble.desktop %buildroot/%_datadir/applications/mumble.desktop +install -m 644 scripts/mumble.desktop %{buildroot}/%{_datadir}/applications/mumble.desktop %endif %if %{with mumble11x} sed -e '/^Name=/s/$/ 1.1.x/;/^Exec=/s/$/11x/' \ - < %buildroot/%_datadir/applications/mumble.desktop \ - > %buildroot/%_datadir/applications/mumble11x.desktop + < %{buildroot}/%{_datadir}/applications/mumble.desktop \ + > %{buildroot}/%{_datadir}/applications/mumble11x.desktop %endif mkdir -p %{buildroot}%{_docdir}/%{name} cp -a scripts LICENSE README README.Linux %{buildroot}%{_docdir}/%{name} @@ -401,7 +382,7 @@ cp -a scripts LICENSE README README.Linux %{buildroot}%{_docdir}/%{name} %pre server getent group mumble-server >/dev/null || groupadd -r mumble-server || : getent passwd mumble-server >/dev/null || \ - /usr/sbin/useradd -r -d /var/lib/mumble-server -s /bin/false -c "Mumble VoIP Server" -g mumble-server mumble-server 2> /dev/null || : + %{_sbindir}/useradd -r -d %{_localstatedir}/lib/mumble-server -s /bin/false -c "Mumble VoIP Server" -g mumble-server mumble-server 2> /dev/null || : %if %{with systemd} %service_add_pre mumble-server.service %endif @@ -415,7 +396,7 @@ getent passwd mumble-server >/dev/null || \ %post server %if %{with systemd} -systemd-tmpfiles --create /usr/lib/tmpfiles.d/mumble-server.conf || true +systemd-tmpfiles --create %{_libexecdir}/tmpfiles.d/mumble-server.conf || true %service_add_post mumble-server.service %else %fillup_and_insserv mumble-server @@ -455,21 +436,21 @@ systemd-tmpfiles --create /usr/lib/tmpfiles.d/mumble-server.conf || true %config %{_sysconfdir}/dbus-1/system.d/mumble-server.conf %config(noreplace) %{_sysconfdir}/mumble-server.ini %if %{with systemd} -%dir /usr/lib/tmpfiles.d -/usr/lib/tmpfiles.d/mumble-server.conf +%dir %{_libexecdir}/tmpfiles.d +%{_libexecdir}/tmpfiles.d/mumble-server.conf %{_unitdir}/mumble-server.service %else -/etc/init.d/mumble-server +%{_initddir}/mumble-server %endif %{_sbindir}/rcmumble-server -%dir /etc/apparmor.d -%config /etc/apparmor.d/usr.sbin.murmurd +%dir %{_sysconfdir}/apparmor.d +%config %{_sysconfdir}/apparmor.d/usr.sbin.murmurd %{_sbindir}/murmurd %{_bindir}/murmurd %{_bindir}/murmur-user-wrapper %{_mandir}/man1/murmurd.* %{_mandir}/man1/murmur-user-wrapper.* -%dir %attr(-,mumble-server,mumble-server) /var/lib/mumble-server -%dir /var/log/mumble-server +%dir %attr(-,mumble-server,mumble-server) %{_localstatedir}/lib/mumble-server +%dir %{_localstatedir}/log/mumble-server %changelog