]> git.pld-linux.org Git - packages/libva.git/blob - libva.spec
- updated to 1.1.0; new source URL
[packages/libva.git] / libva.spec
1 Summary:        VAAPI (Video Acceleration API)
2 Summary(pl.UTF-8):      VAAPI (Video Acceleration API) - API akceleracji filmów
3 Name:           libva
4 Version:        1.1.0
5 Release:        1
6 License:        MIT
7 Group:          Libraries
8 Source0:        http://www.freedesktop.org/software/vaapi/releases/libva/%{name}-%{version}.tar.bz2
9 # Source0-md5:  51bb3b8de1de14ea036f68ef5065a932
10 Patch0:         %{name}-am.patch
11 Patch1:         %{name}-wayland.patch
12 URL:            http://www.freedesktop.org/wiki/Software/vaapi
13 BuildRequires:  Mesa-libEGL-devel
14 BuildRequires:  Mesa-libGL-devel
15 BuildRequires:  autoconf >= 2.57
16 BuildRequires:  automake
17 BuildRequires:  libdrm-devel >= 2.4
18 BuildRequires:  libtool
19 BuildRequires:  pkgconfig
20 # wayland-client
21 BuildRequires:  wayland-devel >= 1.0.0
22 BuildRequires:  xorg-lib-libX11-devel
23 BuildRequires:  xorg-lib-libXext-devel
24 BuildRequires:  xorg-lib-libXfixes-devel
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 The main motivation for VAAPI (Video Acceleration API) is to enable
29 hardware accelerated video decode/encode at various entry-points (VLD,
30 IDCT, Motion Compensation etc.) for the prevailing coding standards
31 today (MPEG-2, MPEG-4 ASP/H.263, MPEG-4 AVC/H.264, and VC-1/VMW3).
32
33 %description -l pl.UTF-8
34 Głównym celem API akceleracji filmów VAAPI (Video Acceleration API)
35 jest umożliwienie sprzętowej akceleracji dekodowania/kodowania filmów
36 na różnych etapach (VLD, IDCT, kompensacja ruchu itp.) dla obecnie
37 przeważających standardów kodowania (MPEG-2, MPEG-4 ASP/H.263, MPEG-4
38 AVC/H.264, VC-1/VMW3).
39
40 %package devel
41 Summary:        Header files for libva libraries
42 Summary(pl.UTF-8):      Pliki nagłówkowe bibliotek libva
43 Group:          Development/Libraries
44 Requires:       %{name} = %{version}-%{release}
45
46 %description devel
47 Header files for libva libraries.
48
49 %description devel -l pl.UTF-8
50 Pliki nagłówkowe bibliotek libva.
51
52 %package static
53 Summary:        Static libva libraries
54 Summary(pl.UTF-8):      Statyczne biblioteki libva
55 Group:          Development/Libraries
56 Requires:       %{name}-devel = %{version}-%{release}
57
58 %description static
59 Static libva libraries.
60
61 %description static -l pl.UTF-8
62 Statyczne biblioteki libva.
63
64 %package drm
65 Summary:        VAAPI - DRM interface library
66 Summary(pl.UTF-8):      VAAPI - biblioteka interfejsu DRM
67 Group:          Libraries
68 Requires:       %{name} = %{version}-%{release}
69 Requires:       libdrm >= 2.4
70
71 %description drm
72 VAAPI - DRM interface library.
73
74 %description drm -l pl.UTF-8
75 VAAPI - biblioteka interfejsu DRM.
76
77 %package drm-devel
78 Summary:        Header files for VAAPI DRM interface library
79 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki interfejsu DRM VAAPI
80 Group:          Development/Libraries
81 Requires:       %{name}-devel = %{version}-%{release}
82 Requires:       %{name}-drm = %{version}-%{release}
83 Requires:       libdrm-devel >= 2.4
84
85 %description drm-devel
86 Header files for VAAPI DRM interface library.
87
88 %description drm-devel -l pl.UTF-8
89 Pliki nagłówkowe biblioteki interfejsu DRM VAAPI.
90
91 %package drm-static
92 Summary:        VAAPI - DRM interface static library
93 Summary(pl.UTF-8):      VAAPI - statyczna biblioteka interfejsu DRM
94 Group:          Development/Libraries
95 Requires:       %{name}-drm-devel = %{version}-%{release}
96
97 %description drm-static
98 VAAPI - DRM interface static library.
99
100 %description drm-static -l pl.UTF-8
101 VAAPI - statyczna biblioteka interfejsu DRM.
102
103 %package egl
104 Summary:        VAAPI - EGL interface library
105 Summary(pl.UTF-8):      VAAPI - biblioteka interfejsu EGL
106 Group:          Libraries
107 Requires:       %{name}-x11 = %{version}-%{release}
108
109 %description egl
110 VAAPI - EGL interface library.
111
112 %description egl -l pl.UTF-8
113 VAAPI - biblioteka interfejsu EGL.
114
115 %package egl-devel
116 Summary:        Header files for VAAPI EGL interface library
117 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki interfejsu EGL VAAPI
118 Group:          Development/Libraries
119 Requires:       %{name}-egl = %{version}-%{release}
120 Requires:       %{name}-x11-devel = %{version}-%{release}
121 Requires:       EGL-devel
122
123 %description egl-devel
124 Header files for VAAPI EGL interface library.
125
126 %description egl-devel -l pl.UTF-8
127 Pliki nagłówkowe biblioteki interfejsu EGL VAAPI.
128
129 %package egl-static
130 Summary:        VAAPI - EGL interface static library
131 Summary(pl.UTF-8):      VAAPI - statyczna biblioteka interfejsu EGL
132 Group:          Development/Libraries
133 Requires:       %{name}-egl-devel = %{version}-%{release}
134
135 %description egl-static
136 VAAPI - EGL interface static library.
137
138 %description egl-static -l pl.UTF-8
139 VAAPI - statyczna biblioteka interfejsu EGL.
140
141 %package glx
142 Summary:        VAAPI - GLX interface library
143 Summary(pl.UTF-8):      VAAPI - biblioteka interfejsu GLX
144 Group:          Libraries
145 Requires:       %{name}-x11 = %{version}-%{release}
146
147 %description glx
148 VAAPI - GLX interface library.
149
150 %description glx -l pl.UTF-8
151 VAAPI - biblioteka interfejsu GLX.
152
153 %package glx-devel
154 Summary:        Header files for VAAPI GLX interface library
155 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki interfejsu GLX VAAPI
156 Group:          Development/Libraries
157 Requires:       %{name}-glx = %{version}-%{release}
158 Requires:       %{name}-x11-devel = %{version}-%{release}
159 Requires:       OpenGL-GLX-devel
160
161 %description glx-devel
162 Header files for VAAPI GLX interface library.
163
164 %description glx-devel -l pl.UTF-8
165 Pliki nagłówkowe biblioteki interfejsu GLX VAAPI.
166
167 %package glx-static
168 Summary:        VAAPI - GLX interface static library
169 Summary(pl.UTF-8):      VAAPI - statyczna biblioteka interfejsu GLX
170 Group:          Development/Libraries
171 Requires:       %{name}-glx-devel = %{version}-%{release}
172
173 %description glx-static
174 VAAPI - GLX interface static library.
175
176 %description glx-static -l pl.UTF-8
177 VAAPI - statyczna biblioteka interfejsu GLX.
178
179 %package wayland
180 Summary:        VAAPI - Wayland interface library
181 Summary(pl.UTF-8):      VAAPI - biblioteka interfejsu Wayland
182 Group:          Libraries
183 Requires:       %{name} = %{version}-%{release}
184 Requires:       wayland >= 1.0.0
185
186 %description wayland
187 VAAPI - Wayland interface library.
188
189 %description wayland -l pl.UTF-8
190 VAAPI - biblioteka interfejsu Wayland.
191
192 %package wayland-devel
193 Summary:        Header files for VAAPI Wayland interface library
194 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki interfejsu Wayland VAAPI
195 Group:          Development/Libraries
196 Requires:       %{name}-devel = %{version}-%{release}
197 Requires:       %{name}-wayland = %{version}-%{release}
198 Requires:       wayland-devel >= 1.0.0
199
200 %description wayland-devel
201 Header files for VAAPI Wayland interface library.
202
203 %description wayland-devel -l pl.UTF-8
204 Pliki nagłówkowe biblioteki interfejsu Wayland VAAPI.
205
206 %package wayland-static
207 Summary:        VAAPI - Wayland interface static library
208 Summary(pl.UTF-8):      VAAPI - statyczna biblioteka interfejsu Wayland
209 Group:          Development/Libraries
210 Requires:       %{name}-wayland-devel = %{version}-%{release}
211
212 %description wayland-static
213 VAAPI - Wayland interface static library.
214
215 %description wayland-static -l pl.UTF-8
216 VAAPI - statyczna biblioteka interfejsu Wayland.
217
218 %package x11
219 Summary:        VAAPI - X11 interface library
220 Summary(pl.UTF-8):      VAAPI - biblioteka interfejsu X11
221 Group:          Libraries
222 Requires:       %{name} = %{version}-%{release}
223 Requires:       libdrm >= 2.4
224
225 %description x11
226 VAAPI - X11 interface library.
227
228 %description x11 -l pl.UTF-8
229 VAAPI - biblioteka interfejsu X11.
230
231 %package x11-devel
232 Summary:        Header files for VAAPI X11 interface library
233 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki interfejsu X11 VAAPI
234 Group:          Development/Libraries
235 Requires:       %{name}-devel = %{version}-%{release}
236 Requires:       %{name}-x11 = %{version}-%{release}
237 Requires:       libdrm-devel >= 2.4
238 Requires:       xorg-lib-libX11-devel
239 Requires:       xorg-lib-libXext-devel
240 Requires:       xorg-lib-libXfixes-devel
241
242 %description x11-devel
243 Header files for VAAPI X11 interface library.
244
245 %description x11-devel -l pl.UTF-8
246 Pliki nagłówkowe biblioteki interfejsu X11 VAAPI.
247
248 %package x11-static
249 Summary:        VAAPI - X11 interface static library
250 Summary(pl.UTF-8):      VAAPI - statyczna biblioteka interfejsu X11
251 Group:          Development/Libraries
252 Requires:       %{name}-x11-devel = %{version}-%{release}
253
254 %description x11-static
255 VAAPI - X11 interface static library.
256
257 %description x11-static -l pl.UTF-8
258 VAAPI - statyczna biblioteka interfejsu X11.
259
260 %prep
261 %setup -q
262 %patch0 -p1
263 %patch1 -p1
264
265 %build
266 %{__libtoolize}
267 %{__aclocal}
268 %{__autoconf}
269 %{__autoheader}
270 %{__automake}
271 %configure \
272         --disable-silent-rules \
273         --enable-static \
274         --with-drivers-path=%{_libdir}/%{name}/dri
275
276 %{__make}
277
278 %install
279 rm -rf $RPM_BUILD_ROOT
280
281 %{__make} install \
282         DESTDIR=$RPM_BUILD_ROOT
283
284 %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/dri/*.{a,la}
285
286 %clean
287 rm -rf $RPM_BUILD_ROOT
288
289 %post   -p /sbin/ldconfig
290 %postun -p /sbin/ldconfig
291
292 %post   drm -p /sbin/ldconfig
293 %postun drm -p /sbin/ldconfig
294
295 %post   egl -p /sbin/ldconfig
296 %postun egl -p /sbin/ldconfig
297
298 %post   glx -p /sbin/ldconfig
299 %postun glx -p /sbin/ldconfig
300
301 %post   wayland -p /sbin/ldconfig
302 %postun wayland -p /sbin/ldconfig
303
304 %post   x11 -p /sbin/ldconfig
305 %postun x11 -p /sbin/ldconfig
306
307 %files
308 %defattr(644,root,root,755)
309 %doc COPYING NEWS
310 %attr(755,root,root) %{_bindir}/avcenc
311 %attr(755,root,root) %{_bindir}/h264encode
312 %attr(755,root,root) %{_bindir}/loadjpeg
313 %attr(755,root,root) %{_bindir}/mpeg2vldemo
314 %attr(755,root,root) %{_bindir}/putsurface
315 %attr(755,root,root) %{_bindir}/vainfo
316 %attr(755,root,root) %{_libdir}/libva.so.*.*.*
317 %attr(755,root,root) %ghost %{_libdir}/libva.so.1
318 %attr(755,root,root) %{_libdir}/libva-tpi.so.*.*.*
319 %attr(755,root,root) %ghost %{_libdir}/libva-tpi.so.1
320 %dir %{_libdir}/%{name}
321 %dir %{_libdir}/%{name}/dri
322 %attr(755,root,root) %{_libdir}/%{name}/dri/dummy_drv_video.so
323
324 %files devel
325 %defattr(644,root,root,755)
326 %attr(755,root,root) %{_libdir}/libva.so
327 %attr(755,root,root) %{_libdir}/libva-tpi.so
328 %{_libdir}/libva.la
329 %{_libdir}/libva-tpi.la
330 %dir %{_includedir}/va
331 %{_includedir}/va/va.h
332 %{_includedir}/va/va_backend.h
333 %{_includedir}/va/va_backend_tpi.h
334 %{_includedir}/va/va_dec_jpeg.h
335 %{_includedir}/va/va_drmcommon.h
336 %{_includedir}/va/va_tpi.h
337 %{_includedir}/va/va_version.h
338 %{_pkgconfigdir}/libva.pc
339 %{_pkgconfigdir}/libva-tpi.pc
340
341 %files static
342 %defattr(644,root,root,755)
343 %{_libdir}/libva.a
344 %{_libdir}/libva-tpi.a
345
346 %files drm
347 %defattr(644,root,root,755)
348 %attr(755,root,root) %{_libdir}/libva-drm.so.*.*.*
349 %attr(755,root,root) %ghost %{_libdir}/libva-drm.so.1
350
351 %files drm-devel
352 %defattr(644,root,root,755)
353 %attr(755,root,root) %{_libdir}/libva-drm.so
354 %{_libdir}/libva-drm.la
355 %{_includedir}/va/va_drm.h
356 %{_pkgconfigdir}/libva-drm.pc
357
358 %files drm-static
359 %defattr(644,root,root,755)
360 %{_libdir}/libva-drm.a
361
362 %files egl
363 %defattr(644,root,root,755)
364 %attr(755,root,root) %{_libdir}/libva-egl.so.*.*.*
365 %attr(755,root,root) %ghost %{_libdir}/libva-egl.so.1
366
367 %files egl-devel
368 %defattr(644,root,root,755)
369 %attr(755,root,root) %{_libdir}/libva-egl.so
370 %{_libdir}/libva-egl.la
371 %{_includedir}/va/va_backend_egl.h
372 %{_includedir}/va/va_egl.h
373 %{_pkgconfigdir}/libva-egl.pc
374
375 %files egl-static
376 %defattr(644,root,root,755)
377 %{_libdir}/libva-egl.a
378
379 %files glx
380 %defattr(644,root,root,755)
381 %attr(755,root,root) %{_libdir}/libva-glx.so.*.*.*
382 %attr(755,root,root) %ghost %{_libdir}/libva-glx.so.1
383
384 %files glx-devel
385 %defattr(644,root,root,755)
386 %attr(755,root,root) %{_libdir}/libva-glx.so
387 %{_libdir}/libva-glx.la
388 %{_includedir}/va/va_backend_glx.h
389 %{_includedir}/va/va_glx.h
390 %{_pkgconfigdir}/libva-glx.pc
391
392 %files glx-static
393 %defattr(644,root,root,755)
394 %{_libdir}/libva-glx.a
395
396 %files wayland
397 %defattr(644,root,root,755)
398 %attr(755,root,root) %{_bindir}/putsurface_wayland
399 %attr(755,root,root) %{_libdir}/libva-wayland.so.*.*.*
400 %attr(755,root,root) %ghost %{_libdir}/libva-wayland.so.1
401
402 %files wayland-devel
403 %defattr(644,root,root,755)
404 %attr(755,root,root) %{_libdir}/libva-wayland.so
405 %{_libdir}/libva-wayland.la
406 %{_includedir}/va/va_backend_wayland.h
407 %{_includedir}/va/va_wayland.h
408 %{_pkgconfigdir}/libva-wayland.pc
409
410 %files wayland-static
411 %defattr(644,root,root,755)
412 %{_libdir}/libva-wayland.a
413
414 %files x11
415 %defattr(644,root,root,755)
416 %attr(755,root,root) %{_libdir}/libva-x11.so.*.*.*
417 %attr(755,root,root) %ghost %{_libdir}/libva-x11.so.1
418
419 %files x11-devel
420 %defattr(644,root,root,755)
421 %attr(755,root,root) %{_libdir}/libva-x11.so
422 %{_libdir}/libva-x11.la
423 %{_includedir}/va/va_dri2.h
424 %{_includedir}/va/va_dricommon.h
425 %{_includedir}/va/va_x11.h
426 %{_pkgconfigdir}/libva-x11.pc
427
428 %files x11-static
429 %defattr(644,root,root,755)
430 %{_libdir}/libva-x11.a
This page took 0.125446 seconds and 3 git commands to generate.