summaryrefslogtreecommitdiff
path: root/packaging/mmfw-sysconf.spec
blob: 5857806cc36bc3a624246bf36e5b8fd3b851b4e4 (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
Name:       mmfw-sysconf
Summary:    Multimedia Framework system configuration package
Version:    0.1.41
Release:    0
Group:      TO_BE/FILLED_IN
License:    Apache-2.0
Source0:    %{name}-%{version}.tar.gz

%description
Multimedia Framework system configuration package

%ifarch %{arm}
%package -n mmfw-sysconf-cleansdk-target
Summary:    Multimedia Framework system configuration package for clean SDK target binary
Group:      TO_BE/FILLED_IN

%description -n mmfw-sysconf-cleansdk-target
Multimedia Framework system configuration package for clean SDK target binary

%else

%package -n mmfw-sysconf-simulator
Summary:    Multimedia Framework system configuration package for simulator
Group:      TO_BE/FILLED_IN

%description -n mmfw-sysconf-simulator
Multimedia Framework system configuration package for simulator
%endif



%prep
%setup -q 

%build

%install
rm -rf %{buildroot}

%ifarch %{arm}
	mkdir -p %{buildroot}/opt/etc/mmfw-sysconf
	cp -arf mmfw-sysconf-cleansdk-target/* %{buildroot}
%else
	mkdir -p %{buildroot}/opt/etc/mmfw-sysconf
	cp -arf mmfw-sysconf-simulator/* %{buildroot}
%endif

%post 

%postun 

%ifarch %{arm}
%files -n mmfw-sysconf-cleansdk-target
%defattr(-,root,root,-)
/etc/asound.conf
/etc/pulse/*
/usr/etc/*.ini
/usr/etc/gst-openmax.conf
/usr/share/pulseaudio/alsa-mixer/paths/*.conf
/usr/share/pulseaudio/alsa-mixer/paths/*.common
/usr/share/pulseaudio/alsa-mixer/profile-sets/*.conf
%else
%files -n mmfw-sysconf-simulator
%defattr(-,root,root,-)
/etc/asound.conf
/etc/pulse/*
/usr/etc/*.ini
/usr/etc/gst-openmax.conf
/usr/share/pulseaudio/alsa-mixer/paths/*.conf
/usr/share/pulseaudio/alsa-mixer/paths/*.common
/usr/share/pulseaudio/alsa-mixer/profile-sets/*.conf
%endif