7 Summary: The Enlightenment eom 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
15 BuildRequires: pkgconfig(x11)
18 BuildRequires: pkgconfig(wayland-server)
20 BuildRequires: pkgconfig(dlog)
21 %if "%{?profile}" == "common"
23 BuildRequires: e-tizen-data
26 This package is a the Enlightenment eom Module for Tizen.
33 export GC_SECTIONS_FLAGS="-fdata-sections -ffunction-sections -Wl,--gc-sections"
34 export CFLAGS+=" -Wall -g -fPIC -rdynamic ${GC_SECTIONS_FLAGS}"
35 export LDFLAGS+=" -Wl,--hash-style=both -Wl,--as-needed -Wl,--rpath=/usr/lib"
39 %configure --prefix=/usr --enable-wayland-only
41 %configure --prefix=/usr
49 # for license notification
50 mkdir -p %{buildroot}/usr/share/license
51 cp -a %{_builddir}/%{buildsubdir}/COPYING %{buildroot}/usr/share/license/%{name}
54 make install DESTDIR=%{buildroot}
56 # clear useless textual files
57 find %{buildroot}%{_libdir}/enlightenment/modules/%{name} -name *.la | xargs rm
60 %defattr(-,root,root,-)
61 %{_libdir}/enlightenment/modules/e-mod-tizen-eom
62 /usr/share/license/%{name}