2 Name: dali-csharp-binder
5 Summary: build dali csharp binder
6 License: Apache-2.0 and BSD-3-Clause and MIT
8 Source: %{name}-%{version}.tar.xz
10 BuildRequires: pkgconfig(dali-core)
11 BuildRequires: pkgconfig(dali-adaptor)
12 BuildRequires: pkgconfig(dali-toolkit)
13 BuildRequires: pkgconfig(widget_viewer_dali)
14 %if 0%{?tizen_version_major} >= 5
15 BuildRequires: pkgconfig(ecore-wl2)
17 BuildRequires: pkgconfig(ecore-wayland)
23 %if 0%{?tizen_version_major} >= 5
24 CFLAGS+=" -DECORE_WL2 -DEFL_BETA_API_SUPPORT"
25 CXXFLAGS+=" -DECORE_WL2 -DEFL_BETA_API_SUPPORT"
28 ##############################
30 ##############################
32 Summary: build dali csharp binder
33 Group: Development/Building
34 Requires: %{name} = %{version}-%{release}
37 This package includes developer files common to all packages.
39 ##############################
41 ##############################
45 ##############################
47 ##############################
50 # added for key grab binding only for tizen
51 # Do not merge this on tizen branch!
52 %if 0%{?tizen_version_major} >= 5
53 %configure --enable-ecoreWl2=yes \
54 --enable-tizenBuild=no
56 %configure --enable-tizenBuild=no
61 ##############################
63 ##############################
67 ##############################
68 # Files in Binary Packages
69 ##############################
71 %manifest dali-csharp-binder.manifest
72 %defattr(-,root,root,-)
73 %{_libdir}/lib%{name}.so*
76 %defattr(-,root,root,-)
77 %dir %{_includedir}/%{name}/
78 %{_includedir}/%{name}/*
79 %{_libdir}/pkgconfig/%{name}.pc