summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorvivian,zhang <vivian.zhang@intel.com>2013-09-02 05:02:46 (GMT)
committerZhang,Vivian <vivian.zhang@intel.com>2013-09-02 05:02:46 (GMT)
commit3e0a4a4a30908ea85082dde4daf6963c19b39c4c (patch)
tree38caa59ed4d75f1b8e174f927a0c577f5abb83bd /packaging
downloadsound-plugin-hal-clovertrail-3e0a4a4a30908ea85082dde4daf6963c19b39c4c.zip
sound-plugin-hal-clovertrail-3e0a4a4a30908ea85082dde4daf6963c19b39c4c.tar.gz
sound-plugin-hal-clovertrail-3e0a4a4a30908ea85082dde4daf6963c19b39c4c.tar.bz2
New package of sound-plugin-hal-xx for clovertrail platform
Change-Id: I6b15be431d4b9bd6baf8285e1ae5bb180ebdb68b
Diffstat (limited to 'packaging')
-rw-r--r--packaging/sound-plugin-hal-clovertrail.changes2
-rw-r--r--packaging/sound-plugin-hal-clovertrail.spec41
2 files changed, 43 insertions, 0 deletions
diff --git a/packaging/sound-plugin-hal-clovertrail.changes b/packaging/sound-plugin-hal-clovertrail.changes
new file mode 100644
index 0000000..3a939fd
--- /dev/null
+++ b/packaging/sound-plugin-hal-clovertrail.changes
@@ -0,0 +1,2 @@
+* Mon Sep 2 2013 Vivian Zhang <vivian.zhang@intel.com>
+- new package of sound plugin for clovertrail platform
diff --git a/packaging/sound-plugin-hal-clovertrail.spec b/packaging/sound-plugin-hal-clovertrail.spec
new file mode 100644
index 0000000..b0f0901
--- /dev/null
+++ b/packaging/sound-plugin-hal-clovertrail.spec
@@ -0,0 +1,41 @@
+Name: sound-plugin-hal-clovertrail
+Summary: Audio HAL plugin for clovertrail
+Version: 0.1
+Release: 1
+Group: System/Libraries
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires: pkgconfig(mm-common)
+BuildRequires: pkgconfig(mm-log)
+BuildRequires: pkgconfig(mm-sound)
+BuildRequires: pkgconfig(avsystem)
+BuildRequires: pkgconfig(alsa)
+
+%description
+Audio HAL plugin package for clovertrail
+
+%prep
+%setup -q
+
+%build
+./autogen.sh
+CFLAGS+=" -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\""; export CFLAGS
+%configure --prefix=/usr
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%post
+/sbin/ldconfig
+
+%postun
+/sbin/ldconfig
+
+
+%files
+%defattr(-,root,root,-)
+%{_libdir}/libsoundpluginhalclv.so*
+%{_libdir}/soundplugins/libsoundpluginhalclv.so