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