Add smack label (capi-system-haptic)
[platform/core/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:    22
6 Group:      TO_BE/FILLED_IN
7 License:    TO BE FILLED IN
8 Source0:    %{name}-%{version}.tar.gz
9 Source1:        capi-system-haptic.manifest
10 BuildRequires:  cmake
11 BuildRequires:  pkgconfig(devman)
12 BuildRequires:  pkgconfig(devman_haptic)
13 BuildRequires:  pkgconfig(glib-2.0)
14 BuildRequires:  pkgconfig(capi-base-common)
15 BuildRequires:  pkgconfig(devman)
16 BuildRequires:  pkgconfig(dlog)
17
18 Requires(post): /sbin/ldconfig  
19 Requires(postun): /sbin/ldconfig
20
21 %description
22
23
24 %package devel
25 Summary:  A Haptic library in Tizen C API (Development)
26 Group:    TO_BE/FILLED_IN
27 Requires: %{name} = %{version}-%{release}
28
29 %description devel
30
31
32
33 %prep
34 %setup -q
35
36
37 %build
38 cp %{SOURCE1} .
39 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
40 cmake . -DCMAKE_INSTALL_PREFIX=/usr -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
41
42
43 make %{?jobs:-j%jobs}
44
45 %install
46 rm -rf %{buildroot}
47 %make_install
48
49 %post -p /sbin/ldconfig
50
51 %postun -p /sbin/ldconfig
52
53
54 %files
55 %manifest capi-system-haptic.manifest
56 %{_libdir}/libcapi-system-haptic.so.*
57
58 %files devel
59 %{_includedir}/system/*.h
60 %{_libdir}/pkgconfig/*.pc
61 %{_libdir}/libcapi-system-haptic.so
62
63 %changelog
64 * Wed Oct 17 2012 - Jiyoung Yun <jy910.yun@samsung.com>
65 - fix the build break problem
66 - Tag : capi-system-haptic_0.1.0-22
67
68 * Thu Oct 04 2012 - Jiyoung Yun <jy910.yun@samsung.com>
69 - fix the bug regarding haptic_level_auto
70 - Tag : capi-system-haptic_0.1.0-21
71
72 * Fri Sep 21 2012 - Jiyoung Yun <jy910.yun@samsung.com>
73 - Add smack label
74 - Tag : capi-system-haptic_0.1.0-20
75
76 * Thu Sep 06 2012 - Jiyoung Yun <jy910.yun@samsung.com>
77 - fix TC error
78 - Tag : capi-system-haptic_0.1.0-19
79
80 * Thu Aug 16 2012 - Jiyoung Yun <jy910.yun@samsung.com>
81 - modify the function parameter to control detail feedback level
82 - Tag : capi-system-haptic_0.1.0-17
83
84 * Thu Aug 09 2012 - Jiyoung Yun <jy910.yun@samsung.com>
85 - Revert "add level parameter to monotone vibration function."
86 - Tag : capi-system-haptic_0.1.0-16