]>
Commit | Line | Data |
---|---|---|
886e9cf6 | 1 | Summary: Predictive text entry application |
d561d53a | 2 | Summary(pl.UTF-8): Przewidująca aplikacja do wprowadzania tekstu |
73b9e1b6 | 3 | Name: dasher |
71c29471 | 4 | Version: 4.11 |
d0c0c0ed | 5 | Release: 1 |
7abf4bb8 | 6 | License: GPL v2 |
67281221 | 7 | Group: X11/Applications/Accessibility |
71c29471 MB |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/dasher/4.11/%{name}-%{version}.tar.bz2 |
9 | # Source0-md5: 55695cacecb9fa9e3259e0f2ef82ae9e | |
886e9cf6 | 10 | URL: http://www.inference.phy.cam.ac.uk/dasher/ |
19e49b18 | 11 | BuildRequires: GConf2-devel >= 2.20.0 |
1a67d3aa | 12 | BuildRequires: ORBit2-devel >= 1:2.14.7 |
e4fb97de PZ |
13 | BuildRequires: at-spi-devel >= 1.20.0 |
14 | BuildRequires: atk-devel >= 1.20.0 | |
71c29471 | 15 | BuildRequires: autoconf >= 2.59 |
4f59cfc5 | 16 | BuildRequires: automake >= 1:1.8 |
f6ab0092 | 17 | BuildRequires: docbook-dtd412-xml |
bcb4aac3 | 18 | BuildRequires: expat-devel |
f6ab0092 | 19 | BuildRequires: gettext-devel |
71c29471 | 20 | BuildRequires: glib2-devel >= 1:2.16.1 |
1a67d3aa MB |
21 | BuildRequires: gnome-doc-utils |
22 | BuildRequires: gnome-speech-devel >= 0.4.10 | |
71c29471 MB |
23 | BuildRequires: gtk+2-devel >= 2:2.18.0 |
24 | BuildRequires: intltool >= 0.40.1 | |
e4fb97de | 25 | BuildRequires: libbonobo-devel >= 2.20.0 |
19e49b18 | 26 | BuildRequires: libgnomeui-devel >= 2.20.0 |
b7e73afc | 27 | BuildRequires: libtool |
f6ab0092 | 28 | BuildRequires: pkgconfig |
71c29471 | 29 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
1a67d3aa | 30 | BuildRequires: rpmbuild(macros) >= 1.311 |
71c29471 | 31 | BuildRequires: sed >= 4.0 |
ff242fa3 | 32 | BuildRequires: xorg-lib-libXtst-devel |
1a67d3aa MB |
33 | Requires(post,postun): gtk+2 |
34 | Requires(post,postun): hicolor-icon-theme | |
4f2218de | 35 | Requires(post,postun): scrollkeeper |
1a67d3aa | 36 | Requires(post,preun): GConf2 |
a4f31e27 | 37 | # sr@Latn vs. sr@latin |
38 | Conflicts: glibc-misc < 6:2.7 | |
886e9cf6 | 39 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
40 | ||
41 | %description | |
42 | Dasher is an information-efficient text-entry interface, driven by | |
43 | natural continuous pointing gestures. Dasher is a competitive | |
44 | text-entry system wherever a full-size keyboard cannot be used - for | |
45 | example, on a palmtop computer; on a wearable computer; when operating | |
46 | a computer one-handed, by joystick, touchscreen, trackball, or mouse; | |
47 | when operating a computer with zero hands (i.e., by head-mouse or by | |
48 | eyetracker). The eyetracking version of Dasher allows an experienced | |
49 | user to write text as fast as normal handwriting - 25 words per | |
50 | minute; using a mouse, experienced users can write at 39 words per | |
51 | minute. | |
52 | ||
0fec6184 | 53 | %description -l pl.UTF-8 |
73b9e1b6 | 54 | Dasher to wydajny interfejs do wprowadzania tekstu sterowany przez |
0fec6184 JR |
55 | naturalne ciągłe gesty urządzenia wskazującego. Dasher jest |
56 | konkurencyjnym systemem wprowadzania tekstu wszędzie tam, gdzie nie | |
57 | można użyć pełnowymiarowej klawiatury - na przykład w palmtopach czy | |
1a67d3aa MB |
58 | komputerach przenośnych, komputerach sterowanych przez jednorękich, za |
59 | pomocą joysticka, ekranu dotykowego, trackballa lub myszy albo bez | |
0fec6184 | 60 | użycia rąk (poprzez śledzenie ruchów głowy albo oczu). Wersja Dashera |
1a67d3aa MB |
61 | śledząca ruchy oczu pozwala doświadczonemu użytkownikowi pisać tekst z |
62 | podobną szybkością do normalnego pisma - 25 słów na minutę; przy | |
0fec6184 JR |
63 | użyciu myszy doświadczeni użytkownicy mogą pisać nawet 39 słów na |
64 | minutę. | |
73b9e1b6 | 65 | |
886e9cf6 | 66 | %prep |
67 | %setup -q | |
68 | ||
71c29471 MB |
69 | sed -i -e 's/en@shaw//' po/LINGUAS |
70 | rm -f po/en@shaw.po | |
71 | ||
886e9cf6 | 72 | %build |
1a67d3aa MB |
73 | %{__glib_gettextize} |
74 | %{__intltoolize} | |
1544d4ff | 75 | %{__libtoolize} |
71c29471 | 76 | %{__aclocal} -I m4 |
1544d4ff | 77 | %{__autoconf} |
1a67d3aa | 78 | %{__autoheader} |
1544d4ff | 79 | %{__automake} |
886e9cf6 | 80 | %configure \ |
81 | --with-gnome \ | |
ff242fa3 | 82 | --enable-speech \ |
83 | --enable-a11y \ | |
84 | --disable-scrollkeeper \ | |
85 | --with-cairo | |
886e9cf6 | 86 | %{__make} |
87 | ||
88 | %install | |
89 | rm -rf $RPM_BUILD_ROOT | |
90 | ||
91 | %{__make} install \ | |
92 | DESTDIR=$RPM_BUILD_ROOT | |
93 | ||
a4f31e27 | 94 | [ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \ |
95 | mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin} | |
71c29471 | 96 | %find_lang %{name} --with-gnome --with-omf --all-name |
886e9cf6 | 97 | |
98 | %clean | |
99 | rm -rf $RPM_BUILD_ROOT | |
100 | ||
4f2218de | 101 | %post |
1a67d3aa | 102 | %gconf_schema_install dasher.schemas |
178db19e | 103 | %scrollkeeper_update_post |
1a67d3aa MB |
104 | %update_icon_cache hicolor |
105 | ||
106 | %preun | |
107 | %gconf_schema_uninstall dasher.schemas | |
4f2218de | 108 | |
109 | %postun | |
178db19e | 110 | %scrollkeeper_update_postun |
1a67d3aa | 111 | %update_icon_cache hicolor |
b7e73afc | 112 | |
886e9cf6 | 113 | %files -f %{name}.lang |
114 | %defattr(644,root,root,755) | |
2252bc8e | 115 | %doc AUTHORS ChangeLog MAINTAINERS README |
886e9cf6 | 116 | %attr(755,root,root) %{_bindir}/* |
1a67d3aa | 117 | %{_sysconfdir}/gconf/schemas/dasher.schemas |
886e9cf6 | 118 | %{_datadir}/%{name} |
119 | %{_desktopdir}/%{name}.desktop | |
532c3e65 JR |
120 | %{_iconsdir}/hicolor/48x48/apps/%{name}.png |
121 | %{_iconsdir}/hicolor/scalable/apps/%{name}.svg | |
886e9cf6 | 122 | %{_mandir}/man1/%{name}* |