]> git.pld-linux.org Git - packages/dasher.git/blob - dasher.spec
- updated to 5.0.0-beta
[packages/dasher.git] / dasher.spec
1 %define snap    g9a09c4e
2 Summary:        Predictive text entry application
3 Summary(pl.UTF-8):      Przewidująca aplikacja do wprowadzania tekstu
4 Name:           dasher
5 Version:        4.11
6 Release:        4.%{snap}.1
7 License:        GPL v2
8 Group:          X11/Applications/Accessibility
9 #Source0:       http://ftp.gnome.org/pub/GNOME/sources/dasher/4.11/%{name}-%{version}.tar.bz2
10 Source0:        %{name}-%{version}-%{snap}.tar.bz2
11 # Source0-md5:  5012a6761eebcc4d4ca62886ffa6c9ec
12 URL:            http://www.inference.phy.cam.ac.uk/dasher/
13 BuildRequires:  atk-devel >= 2.16.0
14 BuildRequires:  at-spi2-core-devel
15 BuildRequires:  autoconf >= 2.59
16 BuildRequires:  automake >= 1:1.8
17 BuildRequires:  cairo-devel
18 BuildRequires:  docbook-dtd412-xml
19 BuildRequires:  expat-devel
20 BuildRequires:  gettext-tools
21 BuildRequires:  glib2-devel >= 1:2.16.1
22 BuildRequires:  gnome-doc-utils
23 BuildRequires:  gtk+3-devel
24 BuildRequires:  intltool >= 0.40.1
25 BuildRequires:  libtool
26 BuildRequires:  pkgconfig
27 BuildRequires:  rpmbuild(find_lang) >= 1.23
28 BuildRequires:  rpmbuild(macros) >= 1.311
29 BuildRequires:  speech-dispatcher-devel
30 BuildRequires:  xorg-lib-libICE-devel
31 BuildRequires:  xorg-lib-libXtst-devel
32 Requires(post,preun):   glib2 >= 1:2.28.0
33 Requires(post,postun):  gtk-update-icon-cache
34 Requires(post,postun):  hicolor-icon-theme
35 Requires(post,postun):  scrollkeeper
36 # sr@Latn vs. sr@latin
37 Conflicts:      glibc-misc < 6:2.7
38 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39
40 %description
41 Dasher is an information-efficient text-entry interface, driven by
42 natural continuous pointing gestures. Dasher is a competitive
43 text-entry system wherever a full-size keyboard cannot be used - for
44 example, on a palmtop computer; on a wearable computer; when operating
45 a computer one-handed, by joystick, touchscreen, trackball, or mouse;
46 when operating a computer with zero hands (i.e., by head-mouse or by
47 eyetracker). The eyetracking version of Dasher allows an experienced
48 user to write text as fast as normal handwriting - 25 words per
49 minute; using a mouse, experienced users can write at 39 words per
50 minute.
51
52 %description -l pl.UTF-8
53 Dasher to wydajny interfejs do wprowadzania tekstu sterowany przez
54 naturalne ciągłe gesty urządzenia wskazującego. Dasher jest
55 konkurencyjnym systemem wprowadzania tekstu wszędzie tam, gdzie nie
56 można użyć pełnowymiarowej klawiatury - na przykład w palmtopach czy
57 komputerach przenośnych, komputerach sterowanych przez jednorękich, za
58 pomocą joysticka, ekranu dotykowego, trackballa lub myszy albo bez
59 użycia rąk (poprzez śledzenie ruchów głowy albo oczu). Wersja Dashera
60 śledząca ruchy oczu pozwala doświadczonemu użytkownikowi pisać tekst z
61 podobną szybkością do normalnego pisma - 25 słów na minutę; przy
62 użyciu myszy doświadczeni użytkownicy mogą pisać nawet 39 słów na
63 minutę.
64
65 %prep
66 %setup -q -n %{name}-%{version}-%{snap}
67
68 %build
69 %{__glib_gettextize}
70 %{__intltoolize}
71 %{__libtoolize}
72 %{__aclocal} -I m4
73 %{__autoconf}
74 %{__autoheader}
75 %{__automake}
76 %configure \
77         GLIB_COMPILE_SCHEMAS=/bin/true \
78         --disable-schemas-install \
79         --with-gnome \
80         --enable-speech=speechdispatcher \
81         --enable-atspi \
82         --disable-scrollkeeper \
83         --with-cairo \
84         --with-gsettings
85 %{__make}
86
87 %install
88 rm -rf $RPM_BUILD_ROOT
89
90 %{__make} install \
91         DESTDIR=$RPM_BUILD_ROOT
92
93 %find_lang %{name} --with-gnome --with-omf --all-name
94
95 %clean
96 rm -rf $RPM_BUILD_ROOT
97
98 %post
99 {
100 umask 022
101 /usr/bin/glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas
102 }
103 %scrollkeeper_update_post
104 %update_desktop_database_post
105 %update_icon_cache hicolor
106
107 %postun
108 %glib_compile_schemas
109 %scrollkeeper_update_postun
110 %update_desktop_database_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 %{_datadir}/glib-2.0/schemas/dasher.gschema.xml
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.063769 seconds and 3 git commands to generate.