]> git.pld-linux.org Git - packages/dasher.git/blame - dasher.spec
- updated to 5.0.0-beta
[packages/dasher.git] / dasher.spec
CommitLineData
52f8f333
JB
1#
2# Conditional build:
3%bcond_with canna # Canna (Japanese Kanji) input (broken as of 5.0.0beta)
4
886e9cf6 5Summary: Predictive text entry application
d561d53a 6Summary(pl.UTF-8): Przewidująca aplikacja do wprowadzania tekstu
73b9e1b6 7Name: dasher
52f8f333
JB
8Version: 5.0.0
9%define subver beta
10%define rel 1
11%define gittag DASHER_%(echo %{version} | tr . _)_%{subver}
12Release: 0.%{subver}.%{rel}
7abf4bb8 13License: GPL v2
67281221 14Group: X11/Applications/Accessibility
52f8f333
JB
15#Source0: https://download.gnome.org/sources/dasher/4.11/%{name}-%{version}.tar.bz2
16Source0: https://github.com/dasher-project/dasher/archive/%{gittag}.tar.gz
17# Source0-md5: 02187ade611218f15aa2613a648161c2
18Patch0: %{name}-include.patch
886e9cf6 19URL: http://www.inference.phy.cam.ac.uk/dasher/
52f8f333 20%{?with_canna:BuildRequires: Canna-devel}
c49bf0d3
JR
21BuildRequires: atk-devel >= 2.16.0
22BuildRequires: at-spi2-core-devel
71c29471 23BuildRequires: autoconf >= 2.59
4f59cfc5 24BuildRequires: automake >= 1:1.8
c49bf0d3 25BuildRequires: cairo-devel
f6ab0092 26BuildRequires: docbook-dtd412-xml
bcb4aac3 27BuildRequires: expat-devel
2eb58731 28BuildRequires: gettext-tools
71c29471 29BuildRequires: glib2-devel >= 1:2.16.1
52f8f333
JB
30BuildRequires: gnome-doc-utils >= 0.9.0
31BuildRequires: gtk+3-devel >= 3.0
71c29471 32BuildRequires: intltool >= 0.40.1
52f8f333
JB
33BuildRequires: libstdc++-devel >= 6:4.3
34BuildRequires: libtool >= 2:2
f6ab0092 35BuildRequires: pkgconfig
71c29471 36BuildRequires: rpmbuild(find_lang) >= 1.23
1a67d3aa 37BuildRequires: rpmbuild(macros) >= 1.311
c49bf0d3
JR
38BuildRequires: speech-dispatcher-devel
39BuildRequires: xorg-lib-libICE-devel
ff242fa3 40BuildRequires: xorg-lib-libXtst-devel
c49bf0d3 41Requires(post,preun): glib2 >= 1:2.28.0
6eac09e5 42Requires(post,postun): gtk-update-icon-cache
1a67d3aa 43Requires(post,postun): hicolor-icon-theme
4f2218de 44Requires(post,postun): scrollkeeper
886e9cf6 45BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
46
47%description
48Dasher is an information-efficient text-entry interface, driven by
49natural continuous pointing gestures. Dasher is a competitive
50text-entry system wherever a full-size keyboard cannot be used - for
51example, on a palmtop computer; on a wearable computer; when operating
52a computer one-handed, by joystick, touchscreen, trackball, or mouse;
53when operating a computer with zero hands (i.e., by head-mouse or by
54eyetracker). The eyetracking version of Dasher allows an experienced
55user to write text as fast as normal handwriting - 25 words per
56minute; using a mouse, experienced users can write at 39 words per
57minute.
58
0fec6184 59%description -l pl.UTF-8
73b9e1b6 60Dasher to wydajny interfejs do wprowadzania tekstu sterowany przez
0fec6184
JR
61naturalne ciągłe gesty urządzenia wskazującego. Dasher jest
62konkurencyjnym systemem wprowadzania tekstu wszędzie tam, gdzie nie
63można użyć pełnowymiarowej klawiatury - na przykład w palmtopach czy
1a67d3aa
MB
64komputerach przenośnych, komputerach sterowanych przez jednorękich, za
65pomocą joysticka, ekranu dotykowego, trackballa lub myszy albo bez
0fec6184 66użycia rąk (poprzez śledzenie ruchów głowy albo oczu). Wersja Dashera
1a67d3aa
MB
67śledząca ruchy oczu pozwala doświadczonemu użytkownikowi pisać tekst z
68podobną szybkością do normalnego pisma - 25 słów na minutę; przy
0fec6184
JR
69użyciu myszy doświadczeni użytkownicy mogą pisać nawet 39 słów na
70minutę.
73b9e1b6 71
886e9cf6 72%prep
52f8f333
JB
73%setup -q -n %{name}-%{gittag}
74%patch0 -p1
75
76%{__rm} m4/glib-gettext.m4
77
78echo '%{version}.%{subver}' > .tarball-version
886e9cf6 79
80%build
1a67d3aa
MB
81%{__glib_gettextize}
82%{__intltoolize}
1544d4ff 83%{__libtoolize}
71c29471 84%{__aclocal} -I m4
1544d4ff 85%{__autoconf}
1a67d3aa 86%{__autoheader}
1544d4ff 87%{__automake}
886e9cf6 88%configure \
c49bf0d3 89 GLIB_COMPILE_SCHEMAS=/bin/true \
c49bf0d3 90 --enable-atspi \
52f8f333 91 --disable-schemas-install \
ff242fa3 92 --disable-scrollkeeper \
52f8f333
JB
93 %{?with_canna:--enable-japanese} \
94 %{?with_joystick:--enable-joystick} \
95 --enable-speech=speechdispatcher \
c49bf0d3 96 --with-cairo \
52f8f333 97 --with-gnome \
c49bf0d3 98 --with-gsettings
52f8f333
JB
99# --enable-joystick, --enable-tilt are broken (as of 5.0.0beta)
100
886e9cf6 101%{__make}
102
103%install
104rm -rf $RPM_BUILD_ROOT
105
106%{__make} install \
107 DESTDIR=$RPM_BUILD_ROOT
108
71c29471 109%find_lang %{name} --with-gnome --with-omf --all-name
886e9cf6 110
111%clean
112rm -rf $RPM_BUILD_ROOT
113
4f2218de 114%post
178db19e 115%scrollkeeper_update_post
c49bf0d3 116%update_desktop_database_post
1a67d3aa
MB
117%update_icon_cache hicolor
118
4f2218de 119%postun
178db19e 120%scrollkeeper_update_postun
c49bf0d3 121%update_desktop_database_postun
1a67d3aa 122%update_icon_cache hicolor
b7e73afc 123
886e9cf6 124%files -f %{name}.lang
125%defattr(644,root,root,755)
52f8f333
JB
126%doc AUTHORS ChangeLog MAINTAINERS NEWS README
127%attr(755,root,root) %{_bindir}/dasher
886e9cf6 128%{_datadir}/%{name}
52f8f333
JB
129%{_desktopdir}/dasher.desktop
130%{_iconsdir}/hicolor/48x48/apps/dasher.png
131%{_iconsdir}/hicolor/scalable/apps/dasher.svg
132%{_mandir}/man1/dasher.1*
This page took 0.121599 seconds and 4 git commands to generate.