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