patch tizen_2.0_build
[framework/api/haptic.git] / packaging / capi-system-haptic.spec
1 #sbs-git:slp/api/haptic capi-system-haptic 0.1.0 0092e2c55dbf60717ae8f43aee931f2dd1c57157
2 Name:       capi-system-haptic
3 Summary:    A Haptic library in Tizen C API
4 Version:    0.1.0
5 Release:    17
6 Group:      TO_BE/FILLED_IN
7 License:    TO BE FILLED IN
8 Source0:    %{name}-%{version}.tar.gz
9 BuildRequires:  cmake
10 BuildRequires:  pkgconfig(devman)
11 BuildRequires:  pkgconfig(devman_haptic)
12 BuildRequires:  pkgconfig(glib-2.0)
13 BuildRequires:  pkgconfig(capi-base-common)
14 BuildRequires:  pkgconfig(devman)
15 BuildRequires:  pkgconfig(dlog)
16
17 Requires(post): /sbin/ldconfig  
18 Requires(postun): /sbin/ldconfig
19
20 %description
21
22
23 %package devel
24 Summary:  A Haptic library in Tizen C API (Development)
25 Group:    TO_BE/FILLED_IN
26 Requires: %{name} = %{version}-%{release}
27
28 %description devel
29
30
31
32 %prep
33 %setup -q
34
35
36 %build
37 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
38 cmake . -DCMAKE_INSTALL_PREFIX=/usr -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
39
40
41 make %{?jobs:-j%jobs}
42
43 %install
44 rm -rf %{buildroot}
45 %make_install
46
47 %post -p /sbin/ldconfig
48
49 %postun -p /sbin/ldconfig
50
51
52 %files
53 %{_libdir}/libcapi-system-haptic.so.*
54
55 %files devel
56 %{_includedir}/system/*.h
57 %{_libdir}/pkgconfig/*.pc
58 %{_libdir}/libcapi-system-haptic.so
59
60 %changelog
61 * Thu Aug 16 2012 - Jiyoung Yun <jy910.yun@samsung.com>
62 - modify the function parameter to control detail feedback level
63 - Tag : capi-system-haptic_0.1.0-17
64
65 * Thu Aug 09 2012 - Jiyoung Yun <jy910.yun@samsung.com>
66 - Revert "add level parameter to monotone vibration function."
67 - Tag : capi-system-haptic_0.1.0-16