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