5 %define _appdir %{_optdir}/apps
8 Summary: A library for developing XML-based software keyboards
11 Group: Graphics & UI Framework/Input
13 Source0: libscl-ui-%{version}.tar.gz
14 BuildRequires: gettext-tools
16 BuildRequires: pkgconfig(elementary)
19 BuildRequires: pkgconfig(x11)
21 BuildRequires: pkgconfig(vconf)
22 BuildRequires: pkgconfig(feedback)
23 BuildRequires: pkgconfig(dlog)
24 BuildRequires: pkgconfig(libxml-2.0)
25 BuildRequires: pkgconfig(tts)
26 BuildRequires: pkgconfig(libscl-common)
30 A library that helps developing S/W Keyboard
33 Summary: SCL header file
34 Group: Development/Libraries
35 Requires: %{name} = %{version}-%{release}
38 A devel package of libscl-ui library that helps developing S/W Keyboard
48 %if "%{profile}" == "wearable"
49 CFLAGS+=" -D_WEARABLE";
50 CXXFLAGS+=" -D_WEARABLE";
53 %if "%{profile}" == "mobile"
55 CXXFLAGS+=" -D_MOBILE";
58 %if "%{profile}" == "tv"
64 cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIB_INSTALL_DIR:PATH=%{_libdir} -Dwith_wayland=TRUE
66 cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIB_INSTALL_DIR:PATH=%{_libdir}
82 %manifest %{name}.manifest
83 %defattr(-,root,root,-)
84 %{_libdir}/libscl-ui.so
85 %{_datadir}/libscl-ui/metadata.xml
89 %defattr(-,root,root,-)
91 %{_libdir}/pkgconfig/libscl-ui.pc