summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonan Le Martret <ronan@fridu.net>2014-07-09 09:29:57 (GMT)
committerRonan Le Martret <ronan@fridu.net>2014-09-16 08:20:15 (GMT)
commitf8142a53c6d6d44e5d0636a0d5b2787390b82dbe (patch)
treeb408434d0c18682f413348585c91bef477102e45
parent9226f6a77ba5b3a466ff7113479cab7cff770788 (diff)
downloadaudio-session-manager-f8142a53c6d6d44e5d0636a0d5b2787390b82dbe.zip
audio-session-manager-f8142a53c6d6d44e5d0636a0d5b2787390b82dbe.tar.gz
audio-session-manager-f8142a53c6d6d44e5d0636a0d5b2787390b82dbe.tar.bz2
clean spec file for yocto compliance.refs/changes/43/24243/3
Change-Id: I992963b9f078896d3c80c0697df73b0056d6a447 Signed-off-by: Ronan Le Martret <ronan@fridu.net>
-rw-r--r--AUTHORS0
-rw-r--r--ChangeLog0
-rw-r--r--NEWS0
-rw-r--r--README0
-rw-r--r--packaging/audio-session-manager.spec28
5 files changed, 8 insertions, 20 deletions
diff --git a/AUTHORS b/AUTHORS
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/AUTHORS
diff --git a/ChangeLog b/ChangeLog
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ChangeLog
diff --git a/NEWS b/NEWS
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/NEWS
diff --git a/README b/README
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/README
diff --git a/packaging/audio-session-manager.spec b/packaging/audio-session-manager.spec
index 5f974db..1453c77 100644
--- a/packaging/audio-session-manager.spec
+++ b/packaging/audio-session-manager.spec
@@ -5,7 +5,7 @@ Release: 0
Group: Multimedia/Service
License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
-Source1001: audio-session-manager.manifest
+Source1001: audio-session-manager.manifest
Requires(post): /sbin/ldconfig
Requires(post): /usr/bin/vconftool
Requires(postun): /sbin/ldconfig
@@ -16,10 +16,8 @@ BuildRequires: pkgconfig(vconf)
BuildRequires: pkgconfig(avsysaudio)
BuildRequires: pkgconfig(security-server)
-
%description
-Audio Session Manager.
-
+Audio Session Manager package.
%package devel
Summary: Audio Session Manager package (devel)
@@ -27,6 +25,7 @@ Group: Multimedia/Development
Requires: %{name} = %{version}-%{release}
%description devel
+Audio Session Manager package (devel) package.
%devel_desc
%package sdk-devel
@@ -35,31 +34,24 @@ 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
+%setup -q
cp %{SOURCE1001} .
-
%build
-
-%autogen --disable-static --noconfigure
CFLAGS="%{optflags} -fvisibility=hidden -DMM_DEBUG_FLAG -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\"" ; export CFLAGS
-%configure --disable-static --enable-security
-make %{?jobs:-j%jobs}
+%reconfigure --disable-static --enable-security
+%__make %{?jobs:-j%jobs}
%install
%make_install
-
-%post
+%post
/sbin/ldconfig
-
vconftool set -t int memory/Sound/SoundStatus "0" -g 29 -f -i
%postun -p /sbin/ldconfig
@@ -67,7 +59,6 @@ vconftool set -t int memory/Sound/SoundStatus "0" -g 29 -f -i
%files
%manifest %{name}.manifest
%license LICENSE
-%manifest audio-session-manager.manifest
%defattr(-,root,root,-)
%{_libdir}/libaudio-session-mgr.so.*
%{_bindir}/asm_testsuite
@@ -78,7 +69,6 @@ vconftool set -t int memory/Sound/SoundStatus "0" -g 29 -f -i
%{_includedir}/mmf/audio-session-manager-types.h
%{_includedir}/mmf/audio-session-manager.h
-
%files sdk-devel
%manifest %{name}.manifest
%defattr(-,root,root,-)
@@ -86,5 +76,3 @@ vconftool set -t int memory/Sound/SoundStatus "0" -g 29 -f -i
%{_includedir}/mmf/audio-session-manager.h
%{_libdir}/libaudio-session-mgr.so
%{_libdir}/pkgconfig/audio-session-mgr.pc
-
-