5 Summary: A library for developing XML-based software keyboards
8 Group: Graphics & UI Framework/Input
10 Source0: %{name}-%{version}.tar.gz
12 BuildRequires: pkgconfig(elementary)
15 BuildRequires: pkgconfig(ecore-x)
16 BuildRequires: pkgconfig(x11)
18 BuildRequires: pkgconfig(vconf)
19 BuildRequires: pkgconfig(glib-2.0)
20 BuildRequires: pkgconfig(feedback)
21 BuildRequires: pkgconfig(dlog)
22 BuildRequires: pkgconfig(libxml-2.0)
23 BuildRequires: pkgconfig(tts)
24 BuildRequires: pkgconfig(libscl-common)
28 A library that helps developing S/W Keyboard
31 Summary: SCL-UI header file
32 Group: Development/Libraries
33 Requires: %{name} = %{version}-%{release}
36 A devel package of libscl-ui library that helps developing S/W Keyboard
46 %if "%{profile}" == "wearable"
47 CFLAGS+=" -D_WEARABLE";
48 CXXFLAGS+=" -D_WEARABLE";
51 %if "%{profile}" == "mobile"
53 CXXFLAGS+=" -D_MOBILE";
56 %if "%{profile}" == "tv"
62 cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIB_INSTALL_DIR:PATH=%{_libdir} -Dwith_wayland=TRUE
64 cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIB_INSTALL_DIR:PATH=%{_libdir}
75 %post -p /sbin/ldconfig
77 %postun -p /sbin/ldconfig
80 %manifest %{name}.manifest
81 %defattr(-,root,root,-)
83 %{_datadir}/%{name}/metadata.xml
87 %defattr(-,root,root,-)
89 %{_libdir}/pkgconfig/%{name}.pc