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