]> git.pld-linux.org Git - packages/dasher.git/blobdiff - dasher.spec
- updated to 4.6.1
[packages/dasher.git] / dasher.spec
index 3d754742f06563a0ae3d93f7ee53851afe14b555..4990e40045dd10ed1b8ed57dabf08dab807d3e01 100644 (file)
@@ -1,24 +1,38 @@
-Name:          dasher
 Summary:       Predictive text entry application
-Version:       3.2.4
+Summary(pl.UTF-8):     Przewidująca aplikacja do wprowadzania tekstu
+Name:          dasher
+Version:       4.6.1
 Release:       1
-License:       GPL
+License:       GPL v2
 Group:         X11/Applications
-Source0:       http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.2/%{name}-%{version}.tar.bz2
-# Source0-md5: aa851fab82fd79456fa019212a496c57
-Patch0:                %{name}-locale-names.patch
+Source0:       http://ftp.gnome.org/pub/gnome/sources/dasher/4.6/%{name}-%{version}.tar.bz2
+# Source0-md5: 1457df5075477d757f7df5693947464d
+Patch0:                %{name}-ac.patch
+Patch1:                %{name}-as-needed.patch
+Patch2:                %{name}-action-speech.patch
 URL:           http://www.inference.phy.cam.ac.uk/dasher/
-BuildRequires: GConf2-devel
-BuildRequires: ORBit2-devel
-BuildRequires: at-spi-devel
-BuildRequires: autoconf
-BuildRequires: automake
-BuildRequires: gnome-speech-devel
-BuildRequires: gnome-vfs2-devel
-BuildRequires: libbonobo-devel
-BuildRequires: libglade2-devel
-BuildRequires: libgnomeui-devel
+BuildRequires: GConf2-devel >= 2.20.0
+BuildRequires: ORBit2-devel >= 1:2.14.7
+BuildRequires: at-spi-devel >= 1.20.0
+BuildRequires: atk-devel >= 1.20.0
+BuildRequires: autoconf >= 2.56
+BuildRequires: automake >= 1:1.8
+BuildRequires: expat-devel
+BuildRequires: gnome-doc-utils
+BuildRequires: gnome-speech-devel >= 0.4.10
+BuildRequires: gnome-vfs2-devel >= 2.20.0
+BuildRequires: gtk+2-devel >= 2:2.12.0
+BuildRequires: intltool >= 0.36.2
+BuildRequires: libbonobo-devel >= 2.20.0
+BuildRequires: libglade2-devel >= 2.6.0
+BuildRequires: libgnomeui-devel >= 2.20.0
 BuildRequires: libtool
+BuildRequires: rpmbuild(macros) >= 1.311
+BuildRequires: xorg-lib-libXtst-devel
+Requires(post,postun): gtk+2
+Requires(post,postun): hicolor-icon-theme
+Requires(post,postun): scrollkeeper
+Requires(post,preun):  GConf2
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -33,22 +47,39 @@ user to write text as fast as normal handwriting - 25 words per
 minute; using a mouse, experienced users can write at 39 words per
 minute.
 
+%description -l pl.UTF-8
+Dasher to wydajny interfejs do wprowadzania tekstu sterowany przez
+naturalne ciągłe gesty urządzenia wskazującego. Dasher jest
+konkurencyjnym systemem wprowadzania tekstu wszędzie tam, gdzie nie
+można użyć pełnowymiarowej klawiatury - na przykład w palmtopach czy
+komputerach przenośnych, komputerach sterowanych przez jednorękich, za
+pomocą joysticka, ekranu dotykowego, trackballa lub myszy albo bez
+użycia rąk (poprzez śledzenie ruchów głowy albo oczu). Wersja Dashera
+śledząca ruchy oczu pozwala doświadczonemu użytkownikowi pisać tekst z
+podobną szybkością do normalnego pisma - 25 słów na minutę; przy
+użyciu myszy doświadczeni użytkownicy mogą pisać nawet 39 słów na
+minutę.
+
 %prep
 %setup -q
 %patch0 -p1
-
-mv po/{no,nb}.po
+%patch1 -p1
+%patch2 -p0
 
 %build
+%{__glib_gettextize}
+%{__intltoolize}
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
+%{__autoheader}
 %{__automake}
 %configure \
        --with-gnome \
-       --with-speech \
-       --with-a11y
-
+       --enable-speech \
+       --enable-a11y \
+       --disable-scrollkeeper \
+       --with-cairo
 %{__make}
 
 %install
@@ -62,15 +93,26 @@ rm -rf $RPM_BUILD_ROOT
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post -p /usr/bin/scrollkeeper-update
-%postun -p /usr/bin/scrollkeeper-update
+%post
+%gconf_schema_install dasher.schemas
+%scrollkeeper_update_post
+%update_icon_cache hicolor
+
+%preun
+%gconf_schema_uninstall dasher.schemas
+
+%postun
+%scrollkeeper_update_postun
+%update_icon_cache hicolor
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog MAINTAINERS README Doc/Colourschemes
+%doc AUTHORS ChangeLog MAINTAINERS README
 %attr(755,root,root) %{_bindir}/*
+%{_sysconfdir}/gconf/schemas/dasher.schemas
 %{_datadir}/%{name}
 %{_desktopdir}/%{name}.desktop
-%{_iconsdir}/%{name}.png
+%{_iconsdir}/hicolor/48x48/apps/%{name}.png
+%{_iconsdir}/hicolor/scalable/apps/%{name}.svg
 %{_mandir}/man1/%{name}*
 %{_omf_dest_dir}/%{name}
This page took 0.130811 seconds and 4 git commands to generate.