2 Summary: Feedback library
5 Group: System/Libraries
7 Source0: %{name}-%{version}.tar.gz
8 source1: libfeedback.manifest
9 source2: svi-data.manifest
10 Requires(post): /sbin/ldconfig
11 Requires(postun): /sbin/ldconfig
13 BuildRequires: pkgconfig(dlog)
14 BuildRequires: pkgconfig(vconf)
15 BuildRequires: pkgconfig(mm-keysound)
16 BuildRequires: pkgconfig(glib-2.0)
17 BuildRequires: pkgconfig(gio-2.0)
18 BuildRequires: pkgconfig(capi-base-common)
19 BuildRequires: pkgconfig(dbus-1)
20 BuildRequires: pkgconfig(libtzplatform-config)
21 Requires(post): svi-data
24 Feedback library for playing sound and vibration
27 %package -n libfeedback-devel
28 Summary: Feedback library for (devel)
29 Group: Development/Libraries
30 Requires: libfeedback = %{version}-%{release}
32 %description -n libfeedback-devel
33 Feedback library for playing sound and vibration (devel)
36 Summary: svi resource package
37 Group: Development/Libraries
40 %description -n svi-data
47 export CFLAGS+=" -DTIZEN_ENGINEER_MODE"
52 -DCMAKE_INSTALL_PREFIX=%{_prefix} \
53 -DPROFILE=%{profile} \
54 -DTZ_SYS_RO_SHARE=%{_datadir} \
55 -DTZ_SYS_SHARE=%{TZ_SYS_SHARE}
62 mkdir -p %{buildroot}%{_datadir}/license
63 cp LICENSE %{buildroot}%{_datadir}/license/%{name}
64 cp LICENSE %{buildroot}%{_datadir}/license/svi-data
66 mkdir -p %{buildroot}%{TZ_SYS_SHARE}/feedback/haptic/custom
68 %post -p /sbin/ldconfig
72 %postun -p /sbin/ldconfig
75 rm -rf %{_datadir}/feedback/
76 rm -rf %{TZ_SYS_SHARE}/feedback/
79 %defattr(-,root,root,-)
80 %{_libdir}/libfeedback.so.*
81 %{_datadir}/license/%{name}
82 %manifest libfeedback.manifest
84 %files -n libfeedback-devel
85 %defattr(-,root,root,-)
86 %{_includedir}/feedback/*.h
87 %{_libdir}/libfeedback.so
88 %{_libdir}/pkgconfig/feedback.pc
91 %defattr(644,root,root,-)
92 %{_datadir}/feedback/*
93 %defattr(666,app,app,-)
94 %dir %{TZ_SYS_SHARE}/feedback/haptic/custom
95 %{_datadir}/license/svi-data
96 %manifest svi-data.manifest