1 %define AppInstallPath /usr/apps/%{name}
2 %define Exec screen-reader
5 Name: org.tizen.screen-reader
6 Summary: Screen Reader Assistive Technology
10 Source0: %{name}-%{version}.tar.gz
12 BuildRequires: at-spi2-core
13 BuildRequires: at-spi2-core-devel
15 BuildRequires: pkgconfig(appcore-efl)
16 BuildRequires: pkgconfig(ecore)
17 BuildRequires: pkgconfig(ecore-x)
18 BuildRequires: pkgconfig(eina)
19 BuildRequires: pkgconfig(eldbus)
20 BuildRequires: pkgconfig(elementary)
21 BuildRequires: pkgconfig(capi-media-tone-player)
22 BuildRequires: pkgconfig(capi-system-device)
24 BuildRequires: tts-devel
26 BuildRequires: gettext-tools
27 BuildRequires: pkgconfig(check)
28 BuildRequires: pkgconfig(capi-network-bluetooth)
29 BuildRequires: pkgconfig(tapi)
30 BuildRequires: pkgconfig(notification)
31 BuildRequires: pkgconfig(capi-network-wifi)
34 An utility library for developers of the menu screen.
40 %if "%{?tizen_profile_name}" == "tv"
41 export CFLAGS+=" -DSCREEN_READER_TV"
44 rm -rf CMakeFiles CMakeCache.txt && cmake . -DCMAKE_INSTALL_PREFIX="%{AppInstallPath}" -DCMAKE_TARGET="%{Exec}" -DCMAKE_PACKAGE="%{name}"
45 make %{?jobs:-j%jobs} \
47 -e 's%^.*: error: .*$%\x1b[37;41m&\x1b[m%' \
48 -e 's%^.*: warning: .*$%\x1b[30;43m&\x1b[m%'
49 export LD_LIBRARY_PATH=/emul/ia32-linux/lib:/emul/ia32-linux/usr/lib:$LD_LIBRARY_PATH
59 %postun -p /sbin/ldconfig
62 %manifest org.tizen.screen-reader.manifest
63 %{AppInstallPath}/bin/screen-reader
64 %{AppInstallPath}/res/icons/screen-reader.png
65 %{AppInstallPath}/res/locale/*/LC_MESSAGES/*
66 /opt/share/packages/%{name}.xml