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