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(notification)
30 BuildRequires: pkgconfig(capi-network-wifi)
31 #%if "%{?tizen_profile_name}" != "tv"
32 BuildRequires: pkgconfig(tapi)
36 An utility library for developers of the menu screen.
42 rm -rf CMakeFiles CMakeCache.txt
44 %if "%{?tizen_profile_name}" != "tv"
45 export SEC_FEATURE_TAPI_ENABLE="1"
47 export SEC_FEATURE_TAPI_ENABLE="0"
50 cmake . -DCMAKE_INSTALL_PREFIX="%{AppInstallPath}" \
51 -DCMAKE_TARGET="%{Exec}" \
52 -DCMAKE_PACKAGE="%{name}" \
53 -DSEC_FEATURE_TAPI_ENABLE=${SEC_FEATURE_TAPI_ENABLE}
55 make %{?jobs:-j%jobs} \
57 -e 's%^.*: error: .*$%\x1b[37;41m&\x1b[m%' \
58 -e 's%^.*: warning: .*$%\x1b[30;43m&\x1b[m%'
59 export LD_LIBRARY_PATH=/emul/ia32-linux/lib:/emul/ia32-linux/usr/lib:$LD_LIBRARY_PATH
69 %postun -p /sbin/ldconfig
72 %manifest org.tizen.screen-reader.manifest
73 %{AppInstallPath}/bin/screen-reader
74 %{AppInstallPath}/res/icons/screen-reader.png
75 %{AppInstallPath}/res/locale/*/LC_MESSAGES/*
76 /opt/share/packages/%{name}.xml