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