tizen 2.3 release
[framework/multimedia/gst-openmax.git] / packaging / gst-openmax.spec
1 Name:       gst-openmax
2 Summary:    GStreamer plug-in that allows communication with OpenMAX IL components
3 Version:    0.10.1
4 Release:    206
5 Group:      TO_BE/FILLED_IN
6
7 License:    LGPLv2.1
8
9 ExclusiveArch: %arm
10 Source: %{name}-%{version}.tar.gz
11
12 %description
13 gst-openmax is a GStreamer plug-in that allows communication with OpenMAX IL components.
14 Multiple OpenMAX IL implementations can be used.
15
16 %prep
17 %setup -q
18
19 %build
20
21 %install
22 rm -rf %{buildroot}
23 mkdir -p %{buildroot}/%{_libdir}
24 mkdir -p %{buildroot}/%{_libdir}/gstreamer-0.10
25 %if "%{?tizen_profile_name}"=="wearable"
26 install -m 644 lib/wearable/libgstomx.so %{buildroot}%{_libdir}/gstreamer-0.10/
27 %elseif "%{?tizen_profile_name}"=="mobile"
28 install -m 644 lib/mobile/libgstomx.so %{buildroot}%{_libdir}/gstreamer-0.10/
29 %endif
30 mkdir -p %{buildroot}/usr/share/license
31 cp COPYING %{buildroot}/usr/share/license/%{name}
32
33 %post
34
35 %postun
36
37 %files
38 %manifest gst-openmax.manifest
39 %defattr(-,root,root,-)
40 %{_libdir}/gstreamer-0.10/lib*.so*
41 /usr/share/license/%{name}
42