]>
Commit | Line | Data |
---|---|---|
8a86771e JB |
1 | Summary: SPICE virtualization solution |
2 | Summary(pl.UTF-8): System wirtualizacji SPICE | |
3 | # real package name (spice) is already occupied | |
4 | Name: spice-space | |
5 | Version: 0.8.1 | |
6 | Release: 0.1 | |
7 | License: LGPL v2.1+ | |
8 | Group: Applications/Emulators | |
9 | Source0: http://spice-space.org/download/releases/spice-%{version}.tar.bz2 | |
10 | # Source0-md5: df682a42f4bc03fa5e35d2844a0e4b4b | |
11 | Patch0: spice-sh.patch | |
12 | Patch1: spice-link.patch | |
13 | Patch2: spice-gl.patch | |
14 | URL: http://spice-space.org/ | |
15 | BuildRequires: OpenGL-GLU-devel | |
16 | BuildRequires: alsa-lib-devel | |
17 | BuildRequires: celt051-devel >= 0.5.1.1 | |
18 | BuildRequires: autoconf >= 2.57 | |
19 | BuildRequires: automake | |
20 | BuildRequires: libcacard-devel >= 0.1.2 | |
21 | BuildRequires: libjpeg-devel | |
22 | BuildRequires: libstdc++-devel | |
23 | BuildRequires: libtool | |
24 | BuildRequires: openssl-devel | |
25 | BuildRequires: pixman-devel >= 0.17.7 | |
26 | BuildRequires: pkgconfig | |
27 | BuildRequires: spice-protocol >= 0.7.0 | |
28 | BuildRequires: xorg-lib-libXext-devel | |
29 | BuildRequires: xorg-lib-libXfixes-devel | |
30 | BuildRequires: xorg-lib-libXrandr-devel >= 1.2 | |
31 | BuildRequires: xorg-lib-libXrender-devel | |
32 | BuildRequires: zlib-devel | |
33 | ExclusiveArch: %{ix86} %{x8664} arm | |
34 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
35 | ||
36 | %description | |
37 | Spice is an open remote computing solution, providing client access to | |
38 | remote machine display and devices (e.g., keyboard, mouse, audio). | |
39 | Spice achieves a user experience similar to an interaction with a | |
40 | local machine, while trying to offload most of the intensive CPU and | |
41 | GPU tasks to the client. Spice is suitable for both LAN and WAN usage, | |
42 | without compromising on the user experience. | |
43 | ||
44 | %description -l pl.UTF-8 | |
45 | Spice to rozwiązanie do zdalnych obliczeń, zapewniające dostęp | |
46 | kliencki ekranu i urządzeń zdalnej maszyny (klawiatury, myszy, | |
47 | dźwięku). Daje użytkownikowi wrażenie podobne do pracy lokalnej, ale | |
48 | próbuje większość zadań wykorzystujących intensywnie CPU i GPU zrzucić | |
49 | na klienta. Nadaje się do pracy w sieciach LAN i WAN, bez większych | |
50 | poświęceń ze strony doznań użytkownika. | |
51 | ||
52 | %package -n spice-server-libs | |
53 | Summary: SPICE server library | |
54 | Summary(pl.UTF-8): Biblioteka serwera SPICE | |
55 | Group: Libraries | |
56 | Requires: celt051 >= 0.5.1.1 | |
57 | Requires: pixman >= 0.17.7 | |
58 | ||
59 | %description -n spice-server-libs | |
60 | SPICE server library. | |
61 | ||
62 | %description -n spice-server-libs -l pl.UTF-8 | |
63 | Biblioteka serwera SPICE. | |
64 | ||
65 | %package -n spice-server-devel | |
66 | Summary: Header files for SPICE server library | |
67 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki serwera SPICE | |
68 | Group: Development/Libraries | |
69 | Requires: celt051-devel >= 0.5.1.1 | |
70 | Requires: openssl-devel | |
71 | Requires: pixman-devel >= 0.17.7 | |
72 | Requires: spice-server-libs = %{version}-%{release} | |
73 | ||
74 | %description -n spice-server-devel | |
75 | Header files for SPICE server library. | |
76 | ||
77 | %description -n spice-server-devel -l pl.UTF-8 | |
78 | Pliki nagłówkowe biblioteki serwera SPICE. | |
79 | ||
80 | %package -n spice-server-static | |
81 | Summary: Static SPICE server library | |
82 | Summary(pl.UTF-8): Statyczna biblioteka serwera SPICE | |
83 | Group: Development/Libraries | |
84 | Requires: spice-server-devel = %{version}-%{release} | |
85 | ||
86 | %description -n spice-server-static | |
87 | Static SPICE server library. | |
88 | ||
89 | %description -n spice-server-static -l pl.UTF-8 | |
90 | Statyczna biblioteka serwera SPICE. | |
91 | ||
92 | %package -n spice-client | |
93 | Summary: SPICE client for X11 | |
94 | Summary(pl.UTF-8): Klient SPICE dla X11 | |
95 | Group: X11/Applications | |
96 | Requires: celt051 >= 0.5.1.1 | |
97 | Requires: libcacard >= 0.1.2 | |
98 | Requires: pixman >= 0.17.7 | |
99 | Requires: xorg-lib-libXrandr >= 1.2 | |
100 | ||
101 | %description -n spice-client | |
102 | SPICE client for X11. | |
103 | ||
104 | %description -n spice-client -l pl.UTF-8 | |
105 | Klient SPICE dla X11. | |
106 | ||
107 | %prep | |
108 | %setup -q -n spice-%{version} | |
109 | %patch0 -p1 | |
110 | %patch1 -p1 | |
111 | %patch2 -p1 | |
112 | ||
113 | %build | |
114 | %{__libtoolize} | |
115 | %{__aclocal} | |
116 | %{__autoconf} | |
117 | %{__autoheader} | |
118 | %{__automake} | |
119 | %configure \ | |
120 | --enable-opengl \ | |
121 | --enable-smartcard | |
122 | # --enable-gui BR: CEGUI-devel >= 0.6.0 < 0.7.0 | |
123 | # --enable-tunnel BR: libslirp-devel | |
124 | ||
125 | %{__make} | |
126 | ||
127 | %install | |
128 | rm -rf $RPM_BUILD_ROOT | |
129 | ||
130 | %{__make} install \ | |
131 | DESTDIR=$RPM_BUILD_ROOT | |
132 | ||
133 | # obsoleted by pkg-config | |
134 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libspice-server.la | |
135 | ||
136 | %clean | |
137 | rm -rf $RPM_BUILD_ROOT | |
138 | ||
139 | %post -n spice-server-libs -p /sbin/ldconfig | |
140 | %postun -n spice-server-libs -p /sbin/ldconfig | |
141 | ||
142 | %files -n spice-server-libs | |
143 | %defattr(644,root,root,755) | |
144 | %doc NEWS README | |
145 | %attr(755,root,root) %{_libdir}/libspice-server.so.*.*.* | |
146 | %attr(755,root,root) %ghost %{_libdir}/libspice-server.so.1 | |
147 | ||
148 | %files -n spice-server-devel | |
149 | %defattr(644,root,root,755) | |
150 | %{_includedir}/spice-server | |
151 | %attr(755,root,root) %{_libdir}/libspice-server.so | |
152 | %{_pkgconfigdir}/spice-server.pc | |
153 | ||
154 | %files -n spice-server-static | |
155 | %defattr(644,root,root,755) | |
156 | %{_libdir}/libspice-server.a | |
157 | ||
158 | %files -n spice-client | |
159 | %defattr(644,root,root,755) | |
160 | %attr(755,root,root) %{_bindir}/spicec |