Source0: http://ftp.gnome.org/pub/gnome/sources/dasher/4.0/%{name}-%{version}.tar.bz2
# Source0-md5: 47cf27594abb51ea97f3a8fdb276736d
Patch0: %{name}-desktop.patch
+Patch1: %{name}-ac.patch
URL: http://www.inference.phy.cam.ac.uk/dasher/
BuildRequires: GConf2-devel
BuildRequires: ORBit2-devel
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
%configure \
--with-gnome \
--with-speech \
%attr(755,root,root) %{_bindir}/*
%{_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}