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
29
mumble.spec
29
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
|
# norootforbuild
|
||||||
|
|
||||||
%if 0%{?suse_version} > 1100
|
%if 0%{?suse_version} > 1100
|
||||||
@ -26,7 +43,7 @@
|
|||||||
%bcond_with system_celt
|
%bcond_with system_celt
|
||||||
%bcond_without system_speex
|
%bcond_without system_speex
|
||||||
|
|
||||||
Name: mumble%{?snapshot:-unstable}
|
Name: mumble
|
||||||
BuildRequires: protobuf-devel
|
BuildRequires: protobuf-devel
|
||||||
%if %{with bonjour}
|
%if %{with bonjour}
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
@ -49,7 +66,7 @@ BuildRequires: speex-devel
|
|||||||
%endif
|
%endif
|
||||||
BuildRequires: boost-devel gcc-c++
|
BuildRequires: boost-devel gcc-c++
|
||||||
%if 0%{?suse_version}
|
%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
|
%if 0%{?suse_version} > 1020
|
||||||
BuildRequires: libopenssl-devel
|
BuildRequires: libopenssl-devel
|
||||||
%else
|
%else
|
||||||
@ -57,13 +74,13 @@ BuildRequires: openssl-devel
|
|||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?fedora_version}
|
%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
|
%endif
|
||||||
%if %{with ice}
|
%if %{with ice}
|
||||||
BuildRequires: ice-devel
|
BuildRequires: ice-devel
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?mandriva_version}
|
%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
|
BuildRequires: libxi-devel
|
||||||
%endif
|
%endif
|
||||||
%if %{with pulseaudio}
|
%if %{with pulseaudio}
|
||||||
@ -127,6 +144,7 @@ characters, and has echo cancellation so the sound from your loudspeakers
|
|||||||
won't be audible to other players.
|
won't be audible to other players.
|
||||||
|
|
||||||
%package server
|
%package server
|
||||||
|
License: BSD3c
|
||||||
Summary: Voice Communication Server for Gamers
|
Summary: Voice Communication Server for Gamers
|
||||||
Group: Productivity/Multimedia/Sound/Utilities
|
Group: Productivity/Multimedia/Sound/Utilities
|
||||||
Requires: qt-sql-sqlite
|
Requires: qt-sql-sqlite
|
||||||
@ -169,6 +187,7 @@ done
|
|||||||
sed -i -e '/QT_REQUIRE_VERSION/d' src/mumble/main.cpp src/mumble11x/main.cpp
|
sed -i -e '/QT_REQUIRE_VERSION/d' src/mumble/main.cpp src/mumble11x/main.cpp
|
||||||
%endif
|
%endif
|
||||||
#
|
#
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if 0%{?fedora_version}
|
%if 0%{?fedora_version}
|
||||||
ln -s /usr/bin/qmake-qt4 qmake
|
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 -
|
d /var/run/mumble-server 0755 mumble-server mumble-server -
|
||||||
EOF
|
EOF
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf "%{buildroot}"
|
rm -rf "%{buildroot}"
|
||||||
|
|
||||||
@ -401,3 +421,4 @@ getent passwd mumble-server >/dev/null || \
|
|||||||
%endif
|
%endif
|
||||||
%config /etc/tmpfiles.d/mumble-server.conf
|
%config /etc/tmpfiles.d/mumble-server.conf
|
||||||
%endif
|
%endif
|
||||||
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user