14896703ac6cf38d63ec259c5fcf1f0eb8c42364
[platform/adaptation/samsung_exynos/audio-hal-max98090.git] / packaging / audio-hal-max98090.spec
1 Name:       audio-hal-max98090
2 Summary:    TIZEN Audio HAL for MAX98090
3 Version:    0.2.25
4 Release:    0
5 Group:      System/Libraries
6 License:    Apache-2.0
7 URL:        http://tizen.org
8 Source0:    audio-hal-max98090-%{version}.tar.gz
9 BuildRequires: pkgconfig(vconf)
10 BuildRequires: pkgconfig(iniparser)
11 BuildRequires: pkgconfig(dlog)
12 BuildRequires: pkgconfig(alsa)
13 #BuildRequires: pkgconfig(tinyalsa)
14 Provides: libtizen-audio.so
15
16 %description
17 TIZEN Audio HAL for MAX98090
18
19 %prep
20 %setup -q -n %{name}-%{version}
21
22 %build
23 export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE -DSYSCONFDIR=\\\"%{_sysconfdir}\\\""
24 export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE"
25 export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE"
26
27 export USE_TINYALSA="0"
28
29 %autogen
30 %configure
31
32 make %{?jobs:-j%jobs}
33
34 %install
35 rm -rf %{buildroot}
36 %make_install
37
38 %post
39 /sbin/ldconfig
40
41 %postun
42 /sbin/ldconfig
43
44 %files
45 %manifest audio-hal-max98090.manifest
46 %defattr(-,root,root,-)
47 %{_libdir}/libtizen-audio.so
48 %license LICENSE.Apache-2.0