]> git.pld-linux.org Git - packages/dasher.git/blob - dasher.spec
- ver. 4.7.3
[packages/dasher.git] / dasher.spec
1 Summary:        Predictive text entry application
2 Summary(pl.UTF-8):      Przewidująca aplikacja do wprowadzania tekstu
3 Name:           dasher
4 Version:        4.7.3
5 Release:        1
6 License:        GPL v2
7 Group:          X11/Applications
8 Source0:        http://ftp.gnome.org/pub/gnome/sources/dasher/4.7/%{name}-%{version}.tar.bz2
9 # Source0-md5:  f97dfd3c54f6d6c5f2873d4f82cb33c4
10 Patch0:         %{name}-ac.patch
11 Patch1:         %{name}-as-needed.patch
12 URL:            http://www.inference.phy.cam.ac.uk/dasher/
13 BuildRequires:  GConf2-devel >= 2.20.0
14 BuildRequires:  ORBit2-devel >= 1:2.14.7
15 BuildRequires:  at-spi-devel >= 1.20.0
16 BuildRequires:  atk-devel >= 1.20.0
17 BuildRequires:  autoconf >= 2.56
18 BuildRequires:  automake >= 1:1.8
19 BuildRequires:  expat-devel
20 BuildRequires:  gnome-doc-utils
21 BuildRequires:  gnome-speech-devel >= 0.4.10
22 BuildRequires:  gnome-vfs2-devel >= 2.20.0
23 BuildRequires:  gtk+2-devel >= 2:2.12.0
24 BuildRequires:  intltool >= 0.36.2
25 BuildRequires:  libbonobo-devel >= 2.20.0
26 BuildRequires:  libglade2-devel >= 2.6.0
27 BuildRequires:  libgnomeui-devel >= 2.20.0
28 BuildRequires:  libtool
29 BuildRequires:  rpmbuild(macros) >= 1.311
30 BuildRequires:  xorg-lib-libXtst-devel
31 Requires(post,postun):  gtk+2
32 Requires(post,postun):  hicolor-icon-theme
33 Requires(post,postun):  scrollkeeper
34 Requires(post,preun):   GConf2
35 # sr@Latn vs. sr@latin
36 Conflicts:      glibc-misc < 6:2.7
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
51 %description -l pl.UTF-8
52 Dasher to wydajny interfejs do wprowadzania tekstu sterowany przez
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
56 komputerach przenośnych, komputerach sterowanych przez jednorękich, za
57 pomocą joysticka, ekranu dotykowego, trackballa lub myszy albo bez
58 użycia rąk (poprzez śledzenie ruchów głowy albo oczu). Wersja Dashera
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
61 użyciu myszy doświadczeni użytkownicy mogą pisać nawet 39 słów na
62 minutę.
63
64 %prep
65 %setup -q
66 %patch0 -p1
67 %patch1 -p1
68
69 %build
70 %{__glib_gettextize}
71 %{__intltoolize}
72 %{__libtoolize}
73 %{__aclocal}
74 %{__autoconf}
75 %{__autoheader}
76 %{__automake}
77 %configure \
78         --with-gnome \
79         --enable-speech \
80         --enable-a11y \
81         --disable-scrollkeeper \
82         --with-cairo
83 %{__make}
84
85 %install
86 rm -rf $RPM_BUILD_ROOT
87
88 %{__make} install \
89         DESTDIR=$RPM_BUILD_ROOT
90
91 [ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \
92         mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
93 %find_lang %{name} --with-gnome --all-name
94
95 %clean
96 rm -rf $RPM_BUILD_ROOT
97
98 %post
99 %gconf_schema_install dasher.schemas
100 %scrollkeeper_update_post
101 %update_icon_cache hicolor
102
103 %preun
104 %gconf_schema_uninstall dasher.schemas
105
106 %postun
107 %scrollkeeper_update_postun
108 %update_icon_cache hicolor
109
110 %files -f %{name}.lang
111 %defattr(644,root,root,755)
112 %doc AUTHORS ChangeLog MAINTAINERS README
113 %attr(755,root,root) %{_bindir}/*
114 %{_sysconfdir}/gconf/schemas/dasher.schemas
115 %{_datadir}/%{name}
116 %{_desktopdir}/%{name}.desktop
117 %{_iconsdir}/hicolor/48x48/apps/%{name}.png
118 %{_iconsdir}/hicolor/scalable/apps/%{name}.svg
119 %{_mandir}/man1/%{name}*
120 %{_omf_dest_dir}/%{name}
This page took 0.066998 seconds and 3 git commands to generate.