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