blob: c0b09a6e6c49a9cd4c7a7ddf3df7c4b463a22cab (
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
52
53
54
55
56
57
58
|
Name: libmm-session
Summary: mm-session development pkg for samsung
Version: 0.2.1
Release: 1
Group: TO_BE/FILLED_IN
License: TO BE FILLED IN
Source0: libmm-session-%{version}.tar.gz
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
BuildRequires: pkgconfig(audio-session-mgr)
BuildRequires: pkgconfig(dlog)
BuildRequires: pkgconfig(mm-common)
%description
mm-session development package for samsung
%package devel
Summary: mm-session development pkg for samsung (devel)
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
mm-session development package for samsung (devel)
%prep
%setup -q
%build
./autogen.sh
CFLAGS="$CFLAGS -Wp,-D_FORTIFY_SOURCE=0"
./configure --prefix=/usr
make %{?jobs:-j%jobs}
%install
rm -rf %{buildroot}
%make_install
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
/usr/lib/libmmfsession.so.*
%files devel
%defattr(-,root,root,-)
/usr/include/mmf/*.h
/usr/lib/libmmfsession.so
/usr/lib/pkgconfig/mm-session.pc
|