4 Name: e-mod-tizen-gesture
7 Summary: The Enlightenment Gesture Module for Tizen
8 URL: http://www.enlightenment.org
9 Group: Graphics & UI Framework/Other
10 Source0: %{name}-%{version}.tar.gz
12 BuildRequires: pkgconfig(enlightenment)
13 BuildRequires: gettext
14 BuildRequires: pkgconfig(wayland-server)
15 BuildRequires: pkgconfig(tizen-extension-server)
16 BuildRequires: pkgconfig(dlog)
17 BuildRequires: pkgconfig(tzsh-server)
19 %global TZ_SYS_RO_SHARE %{?TZ_SYS_RO_SHARE:%TZ_SYS_RO_SHARE}%{!?TZ_SYS_RO_SHARE:/usr/share}
22 This package is a the Enlightenment Gesture Module for Tizen.
29 export GC_SECTIONS_FLAGS="-fdata-sections -ffunction-sections -Wl,--gc-sections"
30 export CFLAGS+=" -Wall -g -fPIC -rdynamic ${GC_SECTIONS_FLAGS} -DE_LOGGING=1 "
31 export LDFLAGS+=" -Wl,--hash-style=both -Wl,--as-needed -Wl,--rpath=/usr/lib"
34 %configure --prefix=/usr \
35 --enable-wayland-only \
42 make install DESTDIR=%{buildroot}
44 # clear useless textual files
45 find %{buildroot}%{_libdir}/enlightenment/modules/%{name} -name *.la | xargs rm
48 %defattr(-,root,root,-)
50 %{_libdir}/enlightenment/modules/e-mod-tizen-gesture