change baserev
OBS-URL: https://build.opensuse.org/package/show/games:tools/mumble?expand=0&rev=11
This commit is contained in:
parent
5502ef270b
commit
d530b51fc5
39
mumble.spec
39
mumble.spec
@ -1,3 +1,20 @@
|
||||
#
|
||||
# spec file for package mumble
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# 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 http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
%if 0%{?suse_version} > 1100
|
||||
@ -26,7 +43,7 @@
|
||||
%bcond_with system_celt
|
||||
%bcond_without system_speex
|
||||
|
||||
Name: mumble%{?snapshot:-unstable}
|
||||
Name: mumble
|
||||
BuildRequires: protobuf-devel
|
||||
%if %{with bonjour}
|
||||
%if 0%{?suse_version}
|
||||
@ -49,21 +66,21 @@ BuildRequires: speex-devel
|
||||
%endif
|
||||
BuildRequires: boost-devel gcc-c++
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: libqt4-devel pkg-config update-desktop-files alsa-devel
|
||||
BuildRequires: alsa-devel libqt4-devel pkg-config update-desktop-files
|
||||
%if 0%{?suse_version} > 1020
|
||||
BuildRequires: libopenssl-devel
|
||||
BuildRequires: libopenssl-devel
|
||||
%else
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: openssl-devel
|
||||
%endif
|
||||
%endif
|
||||
%if 0%{?fedora_version}
|
||||
BuildRequires: qt4-devel pkgconfig libXevie-devel openssl-devel alsa-lib-devel
|
||||
BuildRequires: alsa-lib-devel libXevie-devel openssl-devel pkgconfig qt4-devel
|
||||
%endif
|
||||
%if %{with ice}
|
||||
BuildRequires: ice-devel
|
||||
%endif
|
||||
%if 0%{?mandriva_version}
|
||||
BuildRequires: qt4-devel qt4-linguist pkgconfig openssl-devel libxevie-devel alsa-lib-devel -alsa-plugins
|
||||
BuildRequires: -alsa-plugins alsa-lib-devel libxevie-devel openssl-devel pkgconfig qt4-devel qt4-linguist
|
||||
BuildRequires: libxi-devel
|
||||
%endif
|
||||
%if %{with pulseaudio}
|
||||
@ -96,7 +113,7 @@ 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
|
||||
Requires: libspeex > 1.1.99.3
|
||||
%endif # 11.0
|
||||
%endif # suse_version
|
||||
%if 0%{?fedora_version}
|
||||
@ -127,13 +144,14 @@ characters, and has echo cancellation so the sound from your loudspeakers
|
||||
won't be audible to other players.
|
||||
|
||||
%package server
|
||||
License: BSD3c
|
||||
Summary: Voice Communication Server for Gamers
|
||||
Group: Productivity/Multimedia/Sound/Utilities
|
||||
Requires: qt-sql-sqlite
|
||||
PreReq: /usr/sbin/useradd
|
||||
%if 0%{?snapshot:1}
|
||||
Conflicts: mumble-server < %version
|
||||
Provides: mumble-server = %version
|
||||
Conflicts: mumble-server < %version
|
||||
Provides: mumble-server = %version
|
||||
%endif
|
||||
|
||||
%description server
|
||||
@ -169,6 +187,7 @@ done
|
||||
sed -i -e '/QT_REQUIRE_VERSION/d' src/mumble/main.cpp src/mumble11x/main.cpp
|
||||
%endif
|
||||
#
|
||||
|
||||
%build
|
||||
%if 0%{?fedora_version}
|
||||
ln -s /usr/bin/qmake-qt4 qmake
|
||||
@ -341,6 +360,7 @@ cat >> %buildroot/etc/tmpfiles.d/mumble-server.conf <<EOF
|
||||
d /var/run/mumble-server 0755 mumble-server mumble-server -
|
||||
EOF
|
||||
%endif
|
||||
|
||||
%clean
|
||||
rm -rf "%{buildroot}"
|
||||
|
||||
@ -401,3 +421,4 @@ getent passwd mumble-server >/dev/null || \
|
||||
%endif
|
||||
%config /etc/tmpfiles.d/mumble-server.conf
|
||||
%endif
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user