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(feedback)
20 BuildRequires: pkgconfig(dlog)
21 BuildRequires: pkgconfig(libxml-2.0)
22 BuildRequires: pkgconfig(tts)
23 BuildRequires: pkgconfig(libscl-common)
27 A library that helps developing S/W Keyboard
30 Summary: SCL-UI header file
31 Group: Development/Libraries
32 Requires: %{name} = %{version}-%{release}
35 A devel package of libscl-ui library that helps developing S/W Keyboard
45 %if "%{profile}" == "wearable"
46 CFLAGS+=" -D_WEARABLE";
47 CXXFLAGS+=" -D_WEARABLE";
50 %if "%{profile}" == "mobile"
52 CXXFLAGS+=" -D_MOBILE";
55 %if "%{profile}" == "tv"
61 cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIB_INSTALL_DIR:PATH=%{_libdir} -Dwith_wayland=TRUE
63 cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIB_INSTALL_DIR:PATH=%{_libdir}
74 %post -p /sbin/ldconfig
76 %postun -p /sbin/ldconfig
79 %manifest %{name}.manifest
80 %defattr(-,root,root,-)
82 %{_datadir}/%{name}/metadata.xml
86 %defattr(-,root,root,-)
88 %{_libdir}/pkgconfig/%{name}.pc