]> git.pld-linux.org Git - packages/spice-space.git/blobdiff - spice-space.spec
- build on x32 too
[packages/spice-space.git] / spice-space.spec
index a06926a061cd7b312063d86ead1bc97500232484..5206b22b2cf5e0cab54e839f33569cdd3ab3ff84 100644 (file)
@@ -1,37 +1,49 @@
+#
+# Conditional build:
+%bcond_without opengl  # OpenGL support
+#
 Summary:       SPICE virtualization solution
 Summary(pl.UTF-8):     System wirtualizacji SPICE
 # real package name (spice) is already occupied
 Name:          spice-space
-Version:       0.10.0
-Release:       1
+Version:       0.12.5
+Release:       2
 License:       LGPL v2.1+
 Group:         Applications/Emulators
-Source0:       http://spice-space.org/download/releases/spice-%{version}.tar.bz2
-# Source0-md5: d9f0b0280c9e2291623c9560e156be26
+Source0:       http://www.spice-space.org/download/releases/spice-%{version}.tar.bz2
+# Source0-md5: 1256286214fe402703c0a01bd3a85319
 Patch0:                spice-sh.patch
 Patch1:                spice-link.patch
-URL:           http://spice-space.org/
-BuildRequires: OpenGL-GLU-devel
+Patch2:                spice-am.patch
+URL:           http://www.spice-space.org/
+%{?with_opengl:BuildRequires:  OpenGL-devel}
+%{?with_opengl:BuildRequires:  OpenGL-GLU-devel}
 BuildRequires: alsa-lib-devel
+BuildRequires: autoconf >= 2.63
+BuildRequires: automake >= 1:1.11
 BuildRequires: celt051-devel >= 0.5.1.1
-BuildRequires: autoconf >= 2.57
-BuildRequires: automake
 BuildRequires: cyrus-sasl-devel >= 2
+BuildRequires: glib2-devel >= 1:2.22
 BuildRequires: libcacard-devel >= 0.1.2
 BuildRequires: libjpeg-devel
-BuildRequires: libslirp-devel
 BuildRequires: libstdc++-devel
-BuildRequires: libtool
+BuildRequires: libtool >= 2:2
 BuildRequires: openssl-devel
+BuildRequires: opus-devel >= 0.9.14
 BuildRequires: pixman-devel >= 0.17.7
 BuildRequires: pkgconfig
-BuildRequires: spice-protocol >= 0.9.1
+BuildRequires: python >= 2
+BuildRequires: python-pyparsing
+BuildRequires: rpmbuild(macros) >= 1.527
+BuildRequires: spice-protocol >= 0.10.1
+BuildRequires: xorg-lib-libX11-devel
 BuildRequires: xorg-lib-libXext-devel
 BuildRequires: xorg-lib-libXfixes-devel
+BuildRequires: xorg-lib-libXinerama-devel >= 1.0
 BuildRequires: xorg-lib-libXrandr-devel >= 1.2
 BuildRequires: xorg-lib-libXrender-devel
 BuildRequires: zlib-devel
-ExclusiveArch: %{ix86} %{x8664} arm
+ExclusiveArch: %{ix86} %{x8664} x32 arm
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -55,6 +67,8 @@ Summary:      SPICE server library
 Summary(pl.UTF-8):     Biblioteka serwera SPICE
 Group:         Libraries
 Requires:      celt051 >= 0.5.1.1
+Requires:      opus >= 0.9.14
+Requires:      glib2 >= 1:2.22
 Requires:      pixman >= 0.17.7
 
 %description -n spice-server-libs
@@ -68,6 +82,7 @@ Summary:      Header files for SPICE server library
 Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki serwera SPICE
 Group:         Development/Libraries
 Requires:      celt051-devel >= 0.5.1.1
+Requires:      glib2-devel >= 1:2.22
 Requires:      openssl-devel
 Requires:      pixman-devel >= 0.17.7
 Requires:      spice-server-libs = %{version}-%{release}
@@ -96,8 +111,10 @@ Summary(pl.UTF-8):  Klient SPICE dla X11
 Group:         X11/Applications
 Requires:      celt051 >= 0.5.1.1
 Requires:      libcacard >= 0.1.2
+Requires:      opus >= 0.9.14
 Requires:      pixman >= 0.17.7
 Requires:      xorg-lib-libXrandr >= 1.2
+Requires:      xorg-lib-libXinerama >= 1.0
 
 %description -n spice-client
 SPICE client for X11.
@@ -109,6 +126,7 @@ Klient SPICE dla X11.
 %setup -q -n spice-%{version}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 %{__libtoolize}
@@ -118,9 +136,10 @@ Klient SPICE dla X11.
 %{__automake}
 %configure \
        --disable-silent-rules \
-       --enable-opengl \
-       --enable-smartcard \
-       --enable-tunnel
+       --enable-client \
+       %{?with_opengl:--enable-opengl} \
+       --enable-smartcard
+
 # --enable-gui         BR: CEGUI-devel >= 0.6.0 < 0.7.0
 
 %{__make}
This page took 0.030086 seconds and 4 git commands to generate.