diff options
Diffstat (limited to 'packaging/audio-session-manager.spec')
-rw-r--r-- | packaging/audio-session-manager.spec | 21 |
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 |