summaryrefslogtreecommitdiff
path: root/packaging/capi-system-haptic.spec
blob: 99f660bd1b530bee2003b3ebeae45294bb5eb923 (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
59
60
61
62
63
64
65
66
67
#sbs-git:slp/api/haptic capi-system-haptic 0.1.0 0092e2c55dbf60717ae8f43aee931f2dd1c57157
Name:       capi-system-haptic
Summary:    A Haptic library in Tizen C API
Version:    0.1.0
Release:    17
Group:      TO_BE/FILLED_IN
License:    TO BE FILLED IN
Source0:    %{name}-%{version}.tar.gz
BuildRequires:  cmake
BuildRequires:  pkgconfig(devman)
BuildRequires:  pkgconfig(devman_haptic)
BuildRequires:  pkgconfig(glib-2.0)
BuildRequires:  pkgconfig(capi-base-common)
BuildRequires:  pkgconfig(devman)
BuildRequires:  pkgconfig(dlog)

Requires(post): /sbin/ldconfig  
Requires(postun): /sbin/ldconfig

%description


%package devel
Summary:  A Haptic library in Tizen C API (Development)
Group:    TO_BE/FILLED_IN
Requires: %{name} = %{version}-%{release}

%description devel



%prep
%setup -q


%build
MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
cmake . -DCMAKE_INSTALL_PREFIX=/usr -DFULLVER=%{version} -DMAJORVER=${MAJORVER}


make %{?jobs:-j%jobs}

%install
rm -rf %{buildroot}
%make_install

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig


%files
%{_libdir}/libcapi-system-haptic.so.*

%files devel
%{_includedir}/system/*.h
%{_libdir}/pkgconfig/*.pc
%{_libdir}/libcapi-system-haptic.so

%changelog
* Thu Aug 16 2012 - Jiyoung Yun <jy910.yun@samsung.com>
- modify the function parameter to control detail feedback level
- Tag : capi-system-haptic_0.1.0-17

* Thu Aug 09 2012 - Jiyoung Yun <jy910.yun@samsung.com>
- Revert "add level parameter to monotone vibration function."
- Tag : capi-system-haptic_0.1.0-16