/[packages]/cauldron/gstreamer0.10-vaapi/current/SPECS/gstreamer0.10-vaapi.spec
ViewVC logotype

Annotation of /cauldron/gstreamer0.10-vaapi/current/SPECS/gstreamer0.10-vaapi.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 252069 - (hide annotations) (download)
Thu May 31 07:38:54 2012 UTC (9 years, 5 months ago) by fwang
File size: 2037 byte(s)
use autogen
1 anssi 20104
2     %define name gstreamer0.10-vaapi
3     %define oname gstreamer-vaapi
4 fwang 252068 %define version 0.3.6
5     %define rel 1
6 anssi 20104
7     %define api 0.10
8     %define major 0
9     %define libname %mklibname gstvaapi %api %major
10     %define devname %mklibname -d gstvaapi %api
11    
12     Summary: VA-API support for GStreamer
13     Name: %{name}
14     Version: %{version}
15     Release: %mkrel %rel
16 fwang 252068 URL: http://gitorious.org/vaapi/gstreamer-vaapi
17     Source: gstreamer-vaapi-%{version}.tar.gz
18 anssi 20104 Patch0: gstreamer-vaapi-underlinking.patch
19 fwang 113111 Patch1: gstreamer-vaapi-0.2.5-ffmpeg0.8.patch
20 anssi 20104 License: GPLv2+
21     Group: Video
22     BuildRequires: libgstreamer-devel
23     BuildRequires: libgstreamer-plugins-base-devel
24     BuildRequires: libva-devel
25     BuildRequires: ffmpeg-devel
26     BUildRequires: gtk-doc
27    
28     %description
29     gstreamer-vaapi consists of a collection of VA-API based plugins for
30     GStreamer and helper libraries, allowing the use of VA-API acceleration
31     in applications that GStreamer for video playback.
32    
33     %package -n %{libname}
34     Summary: GStreamer VA-API support libraries
35     License: LGPLv2+
36     Group: System/Libraries
37    
38     %description -n %{libname}
39     Helper libraries used by gstreamer0.10-vaapi.
40    
41     %package -n %{devname}
42     Summary: Development files for libgstvaapi
43     License: LGPLv2+
44     Group: System/Libraries
45    
46     %description -n %{devname}
47     Development files for the libgstvaapi helper libraries.
48    
49     %prep
50 fwang 252068 %setup -q -n vaapi-gstreamer-vaapi
51     #apply_patchesi
52 anssi 20104
53     %build
54 fwang 252069 ./autogen.sh
55 anssi 20104 %configure2_5x
56     %make
57    
58     %install
59     rm -rf %{buildroot}
60     %makeinstall_std
61    
62     # unneeded files and static libs
63     rm %{buildroot}%{_libdir}/*/*.la
64     rm %{buildroot}%{_libdir}/*.{la,a}
65    
66     %clean
67     rm -rf %{buildroot}
68    
69     %files
70     %defattr(-,root,root)
71     %doc README NEWS AUTHORS
72     %{_libdir}/gstreamer-%{api}/libgstvaapiconvert.so
73     %{_libdir}/gstreamer-%{api}/libgstvaapidecode.so
74     %{_libdir}/gstreamer-%{api}/libgstvaapisink.so
75    
76     %files -n %{libname}
77     %defattr(-,root,root)
78     %{_libdir}/libgstvaapi*-%{api}.so.%{major}*
79    
80     %files -n %{devname}
81     %defattr(-,root,root)
82     %doc README NEWS AUTHORS
83     %{_includedir}/gstreamer-%{api}/gst/vaapi
84     %{_libdir}/libgstvaapi*-%{api}.so
85     %{_libdir}/pkgconfig/gstreamer-vaapi*-%{api}.pc
86    
87    

  ViewVC Help
Powered by ViewVC 1.1.28