summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKim Kibum <kb0929.kim@samsung.com>2012-04-29 07:59:39 (GMT)
committerKim Kibum <kb0929.kim@samsung.com>2012-04-29 07:59:39 (GMT)
commitf6f49e0c547e1dee5e5bf145d325b31f5ca9967e (patch)
treeeb2f3c153c92478049a03ff0279c963d59537ed6
parent8d20ec8f4bc145142455e9fe72a65efa1e02e22c (diff)
downloadaudio-session-manager-f6f49e0c547e1dee5e5bf145d325b31f5ca9967e.zip
audio-session-manager-f6f49e0c547e1dee5e5bf145d325b31f5ca9967e.tar.gz
audio-session-manager-f6f49e0c547e1dee5e5bf145d325b31f5ca9967e.tar.bz2
upload tizen1.0 source
-rw-r--r--packaging/audio-session-manager.spec21
1 files changed, 12 insertions, 9 deletions
diff --git a/packaging/audio-session-manager.spec b/packaging/audio-session-manager.spec
index 60ada6b..d2fbbc5 100644
--- a/packaging/audio-session-manager.spec
+++ b/packaging/audio-session-manager.spec
@@ -3,12 +3,11 @@ Summary: Audioxi Session Manager
Version: 0.1.19
Release: 1
Group: TO_BE/FILLED_IN
-License: TO BE FILLED IN
+License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
Requires(post): /sbin/ldconfig
Requires(post): /usr/bin/vconftool
Requires(postun): /sbin/ldconfig
-BuildRequires: vconf-keys-devel
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(mm-log)
BuildRequires: pkgconfig(sysman)
@@ -34,7 +33,7 @@ Audio-session-manager development package (devel)
%package sdk-devel
Summary: auido-session-manager development package for sdk release
Group: Development/Libraries
-Requires: %{name} = %{version}-%{release}
+Requires: %{name}-devel = %{version}-%{release}
%description sdk-devel
auido-session-manager development package for sdk release for audio-session
@@ -50,7 +49,7 @@ auido-session-manager development package for sdk release for audio-session
LDFLAGS="$LDFLAGS -Wl,--rpath=%{prefix}/lib -Wl,--hash-style=both -Wl,--as-needed "; export LDFLAGS
CFLAGS="%{optflags} -fvisibility=hidden -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\"" ; export CFLAGS
%configure --disable-static --enable-security
-make
+make %{?jobs:-j%jobs}
%install
rm -rf %{buildroot}
@@ -62,13 +61,17 @@ rm -rf %{buildroot}
/sbin/ldconfig
vconftool set -t int memory/Sound/SoundStatus "0" -i
-mkdir -p /etc/rc.d/rc3.d/
-ln -s ../init.d/audiosessionmanager /etc/rc.d/rc3.d/S30audiosessionmanager
-mkdir -p /etc/rc.d/rc4.d/
-ln -s ../init.d/audiosessionmanager /etc/rc.d/rc4.d/S30audiosessionmanager
-%postun -p /sbin/ldconfig
+mkdir -p /etc/rc.d/rc3.d
+mkdir -p /etc/rc.d/rc4.d
+ln -s /etc/rc.d/init.d/audiosessionmanager /etc/rc.d/rc3.d/S30audiosessionmanager
+ln -s /etc/rc.d/init.d/audiosessionmanager /etc/rc.d/rc4.d/S30audiosessionmanager
+
+%postun
+/sbin/ldconfig
+rm -f /etc/rc.d/rc3.d/S30audiosessionmanager
+rm -f /etc/rc.d/rc4.d/S30audiosessionmanager
%files