1 #sbs-git:slp/pkgs/d/devman devman 0.1.6 5bf2e95e0bb15c43ff928f7375e1978b0accb0f8
2 Name: haptic-module-tizen
3 Summary: Haptic Module library
6 Group: System/Libraries
8 Source0: %{name}-%{version}.tar.gz
11 BuildRequires: pkgconfig(dlog)
12 BuildRequires: pkgconfig(deviced)
13 BuildRequires: pkgconfig(device-node)
15 Requires(post): /sbin/ldconfig
16 Requires(postun): /sbin/ldconfig
25 %cmake . -DSIMULATOR=yes
28 CFLAGS=`echo %{optflags} |sed 's/\-fexceptions//g'`
30 %cmake . -DSIMULATOR=no
37 mkdir -p %{buildroot}%{_datadir}/license
38 cp LICENSE.APLv2 %{buildroot}%{_datadir}/license/%{name}
40 %post -p /sbin/ldconfig
42 %postun -p /sbin/ldconfig
45 %{_libdir}/libhaptic-module.so
46 %{_datadir}/license/%{name}