4 Summary: The enlightenment rdp module for Tizen
5 URL: http://www.enlightenment.org
6 Group: Graphics & UI Framework/Other
7 Source0: %{name}-%{version}.tar.gz
8 License: BSD-2-Clause and MIT
14 BuildRequires: pkgconfig(enlightenment)
15 BuildRequires: pkgconfig(dlog)
16 BuildRequires: pkgconfig(wayland-server)
17 BuildRequires: pkgconfig(libtbm)
18 BuildRequires: pkgconfig(freerdp2)
19 BuildRequires: pkgconfig(winpr2)
20 BuildRequires: pkgconfig(winpr-tools2)
21 BuildRequires: pkgconfig(pixman-1)
22 BuildRequires: pkgconfig(openssl1.1)
23 BuildRequires: libopenssl11
24 BuildRequires: libopenssl1.1-devel
26 %if "%{LIBGOMP}" == "use"
31 This package is a enlightenment rdp module for Tizen.
33 %global TZ_SYS_RO_SHARE %{?TZ_SYS_RO_SHARE:%TZ_SYS_RO_SHARE}%{!?TZ_SYS_RO_SHARE:/usr/share}
40 export GC_SECTIONS_FLAGS="-fdata-sections -ffunction-sections -Wl,--gc-sections"
41 export CFLAGS+=" -Wall -Werror -g -fPIC -rdynamic ${GC_SECTIONS_FLAGS} "
42 export LDFLAGS+=" -Wl,--hash-style=both -Wl,--as-needed -Wl,--rpath=/usr/lib"
44 %reconfigure --enable-wayland-only
52 make install DESTDIR=%{buildroot}
54 # clear useless textual files
55 find %{buildroot}%{_libdir}/enlightenment/modules/%{name} -name *.la | xargs rm
58 %defattr(-,root,root,-)
59 %{_libdir}/enlightenment/modules/e-mod-tizen-rdp
60 %license COPYING LICENSE