blob: c052adca765a1c740e3332348f73de96b75af1b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
Name: common-multimedia-suite
Summary: Multimedia suite for Tizen Common
Version: 1.0.0
Release: 1
License: GPL-2.0
Group: Development/Testing
Source0: %{name}-%{version}.tar.gz
Source1001: %{name}.manifest
BuildRequires: pkgconfig(gstreamer-1.0)
BuildRequires: pkgconfig(gstreamer-base-1.0)
BuildRequires: pkgconfig(gthread-2.0)
Requires: common-suite-launcher
Requires: testkit-lite
%description
The common-multimedia-suite validates the multimedia features of the Tizen Common image : audio and video playing of media files of different formats with gstreamer
%package -n ivi-multimedia-tests
Summary: IVI multimedia test suite
Group: Development/Testing
Requires: gstreamer-utils
Requires: pulseaudio-utils
Requires: testkit-lite
%description -n ivi-multimedia-tests
IVI multimedia test suite. Validates gstreamer and pulseaudio features
%package -n gst-auto-launch
Summary: Improved version of gst-launch
Group: Development/Testing
Requires: gstreamer-utils
%description -n gst-auto-launch
gst-auto-launch is an improved version of gst-launch that accepts commands
%prep
%setup -q
cp %{SOURCE1001} .
%build
%reconfigure \
--prefix=%{_prefix}
%__make %{?_smp_mflags}
%install
%make_install
# common-multimedia-suite package
install -d %{buildroot}/%{_datadir}/tests/%{name}
install -m 0755 common/runtest.sh %{buildroot}/%{_datadir}/tests/%{name}
install -m 0644 common/*.xml %{buildroot}/%{_datadir}/tests/%{name}
install -m 0644 LICENSE %{buildroot}/%{_datadir}/tests/%{name}
cp -r common/TESTDIR %{buildroot}/%{_datadir}/tests/%{name}
# ivi-multimedia-tests package
install -d %{buildroot}/%{_datadir}/tests/ivi-multimedia-tests/tts-gstreamer-tests
install -d %{buildroot}/%{_datadir}/tests/ivi-multimedia-tests/tts-pulseaudio-tests
install -m 0755 ivi/tts-gstreamer-tests/src/* %{buildroot}/%{_datadir}/tests/ivi-multimedia-tests/tts-gstreamer-tests
install -m 0644 ivi/tts-gstreamer-tests/tests.xml %{buildroot}/%{_datadir}/tests/ivi-multimedia-tests/tts-gstreamer-tests
install -m 0644 ivi/tts-gstreamer-tests/README %{buildroot}/%{_datadir}/tests/ivi-multimedia-tests/tts-gstreamer-tests
install -m 0755 ivi/tts-pulseaudio-tests/src/*.sh %{buildroot}/%{_datadir}/tests/ivi-multimedia-tests/tts-pulseaudio-tests
install -m 0644 ivi/tts-pulseaudio-tests/tests.xml %{buildroot}/%{_datadir}/tests/ivi-multimedia-tests/tts-pulseaudio-tests
install -m 0644 ivi/tts-pulseaudio-tests/README %{buildroot}/%{_datadir}/tests/ivi-multimedia-tests/tts-pulseaudio-tests
install -m 0644 LICENSE %{buildroot}/%{_datadir}/tests/ivi-multimedia-tests
%files
%manifest %{name}.manifest
%defattr(-,root,root)
%{_datadir}/tests/%{name}
%files -n ivi-multimedia-tests
%defattr(-,root,root)
%{_datadir}/tests/ivi-multimedia-tests
%files -n gst-auto-launch
%defattr(-,root,root)
%{_bindir}/gst-auto-launch
%{_datadir}/gst-auto-launch
|