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