]>
Commit | Line | Data |
---|---|---|
b6a2eca2 AM |
1 | # |
2 | # Conditional build: | |
3 | # | |
4 | %define orgname kaccessible | |
5 | %define _state stable | |
6 | %define qtver 4.8.0 | |
7 | # | |
8 | Summary: Accessibility services like focus tracking and a screenreader | |
9 | Summary(pl.UTF-8): kaccessible | |
10 | Name: kde4-kaccessible | |
d52bba8b | 11 | Version: 4.12.0 |
b6a2eca2 AM |
12 | Release: 1 |
13 | License: LGPL v2 | |
14 | Group: X11/Libraries | |
af322e48 | 15 | Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz |
d52bba8b | 16 | # Source0-md5: 809fc337f7055792adec508608385c37 |
b6a2eca2 AM |
17 | URL: http://www.kde.org/ |
18 | BuildRequires: cmake >= 2.6.3 | |
19 | BuildRequires: kde4-kdelibs-devel >= %{_kdever} | |
20 | BuildRequires: qt4-build >= %{qt_ver} | |
21 | BuildRequires: qt4-qmake >= %{qt_ver} | |
22 | BuildRequires: rpmbuild(macros) >= 1.293 | |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
24 | ||
25 | %description | |
26 | kaccessible implements a QAccessibleBridgePlugin to provide | |
27 | accessibility services like focus tracking and a screenreader. | |
28 | ||
29 | %prep | |
30 | %setup -q -n %{orgname}-%{version} | |
31 | ||
32 | %build | |
33 | install -d build | |
34 | cd build | |
35 | %cmake .. | |
36 | ||
37 | %{__make} | |
38 | ||
39 | %install | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | ||
42 | %{__make} -C build install \ | |
43 | DESTDIR=$RPM_BUILD_ROOT | |
44 | ||
45 | %post -p /sbin/ldconfig | |
46 | %postun -p /sbin/ldconfig | |
47 | ||
48 | %clean | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %files | |
52 | %defattr(644,root,root,755) | |
53 | %attr(755,root,root) %{_libdir}/kde4/libexec/kaccessibleapp | |
54 | %dir %{_libdir}/kde4/plugins/accessiblebridge | |
55 | %attr(755,root,root) %{_libdir}/kde4/plugins/accessiblebridge/kaccessiblebridge.so | |
56 | %{_datadir}/dbus-1/services/org.kde.kaccessible.service |