blob: 1453c77a2204c6adc76b9208f40fdb2b149102fc (
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
|
Name: audio-session-manager
Summary: Audio Session Manager
Version: 0.2.6
Release: 0
Group: Multimedia/Service
License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
Source1001: audio-session-manager.manifest
Requires(post): /sbin/ldconfig
Requires(post): /usr/bin/vconftool
Requires(postun): /sbin/ldconfig
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(mm-common)
BuildRequires: pkgconfig(sysman)
BuildRequires: pkgconfig(vconf)
BuildRequires: pkgconfig(avsysaudio)
BuildRequires: pkgconfig(security-server)
%description
Audio Session Manager package.
%package devel
Summary: Audio Session Manager package (devel)
Group: Multimedia/Development
Requires: %{name} = %{version}-%{release}
%description devel
Audio Session Manager package (devel) package.
%devel_desc
%package sdk-devel
Summary: Audio Session Manager development package for sdk release
Group: Multimedia/Development
Requires: %{name}-devel = %{version}-%{release}
%description sdk-devel
Audio Session Manager development package for sdk release package.
%devel_desc
SDK Release.
%prep
%setup -q
cp %{SOURCE1001} .
%build
CFLAGS="%{optflags} -fvisibility=hidden -DMM_DEBUG_FLAG -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\"" ; export CFLAGS
%reconfigure --disable-static --enable-security
%__make %{?jobs:-j%jobs}
%install
%make_install
%post
/sbin/ldconfig
vconftool set -t int memory/Sound/SoundStatus "0" -g 29 -f -i
%postun -p /sbin/ldconfig
%files
%manifest %{name}.manifest
%license LICENSE
%defattr(-,root,root,-)
%{_libdir}/libaudio-session-mgr.so.*
%{_bindir}/asm_testsuite
%files devel
%manifest %{name}.manifest
%defattr(-,root,root,-)
%{_includedir}/mmf/audio-session-manager-types.h
%{_includedir}/mmf/audio-session-manager.h
%files sdk-devel
%manifest %{name}.manifest
%defattr(-,root,root,-)
%{_includedir}/mmf/audio-session-manager-types.h
%{_includedir}/mmf/audio-session-manager.h
%{_libdir}/libaudio-session-mgr.so
%{_libdir}/pkgconfig/audio-session-mgr.pc
|