0ebc99fe9115258ba9cb39b80c4a52ab892d861d
[framework/api/haptic.git] / packaging / capi-system-haptic.spec
1 Name:       capi-system-haptic
2 Summary:    A Haptic library in Tizen Native API
3 Version:    0.1.0
4 Release:    1
5 Group:      TO_BE/FILLED_IN
6 License:    Apache-2.0
7 Source0:    %{name}-%{version}.tar.gz
8 BuildRequires:  cmake
9 BuildRequires:  pkgconfig(devman)
10 BuildRequires:  pkgconfig(dlog)
11 BuildRequires:  pkgconfig(devman_haptic)
12 BuildRequires:  pkgconfig(glib-2.0)
13 BuildRequires:  pkgconfig(capi-base-common)
14 Requires(post): /sbin/ldconfig  
15 Requires(postun): /sbin/ldconfig
16
17 %description
18
19
20 %package devel
21 Summary:  A Haptic library in Tizen Native API (Development)
22 Group:    TO_BE/FILLED_IN
23 Requires: %{name} = %{version}-%{release}
24
25 %description devel
26
27
28
29 %prep
30 %setup -q
31
32
33 %build
34 cmake . -DCMAKE_INSTALL_PREFIX=/usr
35
36
37 make %{?jobs:-j%jobs}
38
39 %install
40 rm -rf %{buildroot}
41 %make_install
42
43 %post -p /sbin/ldconfig
44
45 %postun -p /sbin/ldconfig
46
47
48 %files
49 %{_libdir}/libcapi-system-haptic.so
50
51 %files devel
52 %{_includedir}/system/*.h
53 %{_libdir}/pkgconfig/*.pc
54
55