1 Summary: SPICE virtualization solution
2 Summary(pl.UTF-8): System wirtualizacji SPICE
3 # real package name (spice) is already occupied
8 Group: Applications/Emulators
9 Source0: http://spice-space.org/download/releases/spice-%{version}.tar.bz2
10 # Source0-md5: 70060129e274241b4a08e23e86de29a3
11 Patch0: spice-sh.patch
12 Patch1: spice-link.patch
13 URL: http://spice-space.org/
14 BuildRequires: OpenGL-GLU-devel
15 BuildRequires: alsa-lib-devel
16 BuildRequires: celt051-devel >= 0.5.1.1
17 BuildRequires: autoconf >= 2.57
18 BuildRequires: automake
19 BuildRequires: cyrus-sasl-devel >= 2
20 BuildRequires: libcacard-devel >= 0.1.2
21 BuildRequires: libjpeg-devel
22 BuildRequires: libslirp-devel
23 BuildRequires: libstdc++-devel
24 BuildRequires: libtool
25 BuildRequires: openssl-devel
26 BuildRequires: pixman-devel >= 0.17.7
27 BuildRequires: pkgconfig
28 BuildRequires: spice-protocol >= 0.10.1
29 BuildRequires: xorg-lib-libXext-devel
30 BuildRequires: xorg-lib-libXfixes-devel
31 BuildRequires: xorg-lib-libXinerama-devel >= 1.0
32 BuildRequires: xorg-lib-libXrandr-devel >= 1.2
33 BuildRequires: xorg-lib-libXrender-devel
34 BuildRequires: zlib-devel
35 ExclusiveArch: %{ix86} %{x8664} arm
36 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39 Spice is an open remote computing solution, providing client access to
40 remote machine display and devices (e.g., keyboard, mouse, audio).
41 Spice achieves a user experience similar to an interaction with a
42 local machine, while trying to offload most of the intensive CPU and
43 GPU tasks to the client. Spice is suitable for both LAN and WAN usage,
44 without compromising on the user experience.
46 %description -l pl.UTF-8
47 Spice to rozwiązanie do zdalnych obliczeń, zapewniające dostęp
48 kliencki ekranu i urządzeń zdalnej maszyny (klawiatury, myszy,
49 dźwięku). Daje użytkownikowi wrażenie podobne do pracy lokalnej, ale
50 próbuje większość zadań wykorzystujących intensywnie CPU i GPU zrzucić
51 na klienta. Nadaje się do pracy w sieciach LAN i WAN, bez większych
52 poświęceń ze strony doznań użytkownika.
54 %package -n spice-server-libs
55 Summary: SPICE server library
56 Summary(pl.UTF-8): Biblioteka serwera SPICE
58 Requires: celt051 >= 0.5.1.1
59 Requires: pixman >= 0.17.7
61 %description -n spice-server-libs
64 %description -n spice-server-libs -l pl.UTF-8
65 Biblioteka serwera SPICE.
67 %package -n spice-server-devel
68 Summary: Header files for SPICE server library
69 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki serwera SPICE
70 Group: Development/Libraries
71 Requires: celt051-devel >= 0.5.1.1
72 Requires: libslirp-devel
73 Requires: openssl-devel
74 Requires: pixman-devel >= 0.17.7
75 Requires: spice-server-libs = %{version}-%{release}
77 %description -n spice-server-devel
78 Header files for SPICE server library.
80 %description -n spice-server-devel -l pl.UTF-8
81 Pliki nagłówkowe biblioteki serwera SPICE.
83 %package -n spice-server-static
84 Summary: Static SPICE server library
85 Summary(pl.UTF-8): Statyczna biblioteka serwera SPICE
86 Group: Development/Libraries
87 Requires: spice-server-devel = %{version}-%{release}
89 %description -n spice-server-static
90 Static SPICE server library.
92 %description -n spice-server-static -l pl.UTF-8
93 Statyczna biblioteka serwera SPICE.
95 %package -n spice-client
96 Summary: SPICE client for X11
97 Summary(pl.UTF-8): Klient SPICE dla X11
98 Group: X11/Applications
99 Requires: celt051 >= 0.5.1.1
100 Requires: libcacard >= 0.1.2
101 Requires: pixman >= 0.17.7
102 Requires: xorg-lib-libXrandr >= 1.2
103 Requires: xorg-lib-libXinerama >= 1.0
105 %description -n spice-client
106 SPICE client for X11.
108 %description -n spice-client -l pl.UTF-8
109 Klient SPICE dla X11.
112 %setup -q -n spice-%{version}
123 --disable-silent-rules \
127 # --enable-gui BR: CEGUI-devel >= 0.6.0 < 0.7.0
132 rm -rf $RPM_BUILD_ROOT
135 DESTDIR=$RPM_BUILD_ROOT
137 # obsoleted by pkg-config
138 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libspice-server.la
141 rm -rf $RPM_BUILD_ROOT
143 %post -n spice-server-libs -p /sbin/ldconfig
144 %postun -n spice-server-libs -p /sbin/ldconfig
146 %files -n spice-server-libs
147 %defattr(644,root,root,755)
149 %attr(755,root,root) %{_libdir}/libspice-server.so.*.*.*
150 %attr(755,root,root) %ghost %{_libdir}/libspice-server.so.1
152 %files -n spice-server-devel
153 %defattr(644,root,root,755)
154 %attr(755,root,root) %{_libdir}/libspice-server.so
155 %{_includedir}/spice-server
156 %{_pkgconfigdir}/spice-server.pc
158 %files -n spice-server-static
159 %defattr(644,root,root,755)
160 %{_libdir}/libspice-server.a
162 %files -n spice-client
163 %defattr(644,root,root,755)
164 %attr(755,root,root) %{_bindir}/spicec