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