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(utilX)
20 BuildRequires: pkgconfig(x11)
22 BuildRequires: pkgconfig(vconf)
23 BuildRequires: pkgconfig(feedback)
24 BuildRequires: pkgconfig(sensor)
25 BuildRequires: pkgconfig(dlog)
26 BuildRequires: pkgconfig(libxml-2.0)
27 BuildRequires: pkgconfig(tts)
28 BuildRequires: pkgconfig(libscl-common)
32 A library that helps developing S/W Keyboard
35 Summary: SCL header file
36 Group: Development/Libraries
37 Requires: %{name} = %{version}-%{release}
40 A devel package of libscl-ui library that helps developing S/W Keyboard
50 %if "%{profile}" == "wearable"
51 CFLAGS+=" -D_WEARABLE";
52 CXXFLAGS+=" -D_WEARABLE";
55 %if "%{profile}" == "mobile"
57 CXXFLAGS+=" -D_MOBILE";
60 %if "%{profile}" == "tv"
66 cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIB_INSTALL_DIR:PATH=%{_libdir} -Dwith_wayland=TRUE
68 cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIB_INSTALL_DIR:PATH=%{_libdir}
74 mkdir -p %{buildroot}/usr/share/license
75 cp LICENSE %{buildroot}/usr/share/license/%{name}
86 %manifest %{name}.manifest
87 %defattr(-,root,root,-)
88 %{_libdir}/libscl-ui.so
89 %{_datadir}/libscl-ui/metadata.xml
90 /usr/share/license/%{name}
93 %defattr(-,root,root,-)
95 %{_libdir}/pkgconfig/libscl-ui.pc