tizen beta release
[platform/core/system/libsf-common.git] / packaging / libsf-common.spec
1 Name:       libsf-common
2 Summary:    Commonly used code and defintions for the sensor framework
3 Version:    0.3.6
4 Release:    1
5 Group:      TO_BE/FILLED_IN
6 License:    TO BE FILLED IN
7 Source0:    libsf-common-%{version}.tar.bz2
8 BuildRequires:  cmake
9 BuildRequires:  pkgconfig(dlog)
10
11
12 %description
13 Sensor framework common library
14
15
16
17 %package devel
18 Summary:    Sensor framework common (devel)
19 Group:      System/Sensor Framework
20 Requires:   %{name} = %{version}-%{release}
21 Requires:   libsf-common
22
23 %description devel
24 Sensor framework common library
25
26
27 %prep
28 %setup -q 
29
30
31 %build
32 cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
33
34
35 make %{?jobs:-j%jobs}
36
37 %install
38 rm -rf %{buildroot}
39 %make_install
40
41 %files
42 %{_libdir}/libsf_common.so
43
44
45 %files devel
46 %{_includedir}/sf_common/*.h
47 %{_libdir}/pkgconfig/sf_common.pc