summaryrefslogtreecommitdiff
path: root/packaging/alsa-scenario-scn-data-0-emul.spec
diff options
context:
space:
mode:
authorsungmin82.ha <sungmin82.ha@samsung.com>2013-07-30 14:40:29 +0900
committersungmin82.ha <sungmin82.ha@samsung.com>2013-07-30 14:40:29 +0900
commit6dc4292d526e014e5df9c8dcf805c46c99bfedd9 (patch)
tree9d5f38a252dc54c01f238840281a67832477eaeb /packaging/alsa-scenario-scn-data-0-emul.spec
parent0983f6162d4ceacd2777da63d110b29527658c58 (diff)
downloadalsa-scenario-scn-data-0-emul-tizen.tar.gz
alsa-scenario-scn-data-0-emul-tizen.tar.bz2
alsa-scenario-scn-data-0-emul-tizen.zip
sync with tizen_2.2HEADtizen
Change-Id: Iff3ec10e33af5d176dec3e312e19bd471631e5b4 Signed-off-by: Sungmin Ha <sungmin82.ha@samsung.com>
Diffstat (limited to 'packaging/alsa-scenario-scn-data-0-emul.spec')
-rw-r--r--packaging/alsa-scenario-scn-data-0-emul.spec45
1 files changed, 45 insertions, 0 deletions
diff --git a/packaging/alsa-scenario-scn-data-0-emul.spec b/packaging/alsa-scenario-scn-data-0-emul.spec
new file mode 100644
index 0000000..c379fbe
--- /dev/null
+++ b/packaging/alsa-scenario-scn-data-0-emul.spec
@@ -0,0 +1,45 @@
+Name: alsa-scenario-scn-data-0-emul
+Summary: alsa scenario data for emulator codec
+Version: 0.1.1
+Release: 2
+Group: TO_BE/FILLED_IN
+License: LGPLv2.1
+Source0: %{name}-%{version}.tar.gz
+Source1001: packaging/alsa-scenario-scn-data-0-emul.manifest
+
+%description
+Alsa scenario data for emulator codec
+
+%prep
+%setup -q
+
+%build
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}/usr/etc/sound
+cp -a emul %{buildroot}/usr/etc/sound
+cp -a emul.conf %{buildroot}/usr/etc/sound/emul.conf
+
+%post
+BASE_PATH=/usr/etc/sound
+CODEC=emul
+
+chmod 644 $BASE_PATH/$CODEC/*
+chmod 644 $BASE_PATH/$CODEC.conf
+
+chown -R 0:6822 $BASE_PATH/$CODEC
+chown 0:6822 $BASE_PATH/$CODEC.conf
+
+ln -s $BASE_PATH/$CODEC $BASE_PATH/default
+ln -s $BASE_PATH/$CODEC.conf $BASE_PATH/default.conf
+
+%preun
+BASE_PATH=/usr/etc/sound
+
+rm -f $BASE_PATH/default.conf
+rm -f $BASE_PATH/default
+
+
+%files
+/usr/etc/sound/*