Name: gnome-voice-control Version: 0.2 Release: 2%{?dist} Summary: Speech recognizer to control the GNOME Desktop Group: FIXME License: GPLv2 URL: http://live.gnome.org/GnomeVoiceControl Source0: http://www.comp.ufscar.br/~raphael18/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: sphinx2-devel BuildRequires: pocketsphinx-devel # Build requirements for various pkgconfig .pc files: # Needed for libpanelapplet-2.0: BuildRequires: gnome-panel-devel # Needed for gtk+-2.0 and gdk-2.0: BuildRequires: gtk2-devel # Needed for libgnomeui-2.0: BuildRequires: libgnomeui-devel # Needed for gstreamer-0.10 and gstreamer-base-0.10: BuildRequires: gstreamer-devel # Needed for libwnck-1.0: BuildRequires: libwnck-devel # Needed for cspi-1.0: BuildRequires: at-spi-devel # Scrollkeeper: BuildRequires: scrollkeeper Requires(post): scrollkeeper Requires(postun): scrollkeeper #Requires: %description FIXME %prep %setup -q %build %configure make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT # scrollkeeper gets handled in %post rm -rf $RPM_BUILD_ROOT/var/lib/scrollkeeper %clean rm -rf $RPM_BUILD_ROOT %post scrollkeeper-update -q -o %{_datadir}/omf/%{name} || : %postun scrollkeeper-update -q || : %files %defattr(-,root,root,-) %{_libexecdir}/voice_control_applet %{_libdir}/bonobo/servers/GNOME_VoiceControlApplet_Factory.server %{_datadir}/gnome-2.0/ui/GNOME_VoiceControlApplet.xml %{_datadir}/%{name} %{_datadir}/locale/ru/LC_MESSAGES/gnome-voice-control.mo %{_datadir}/locale/sv/LC_MESSAGES/gnome-voice-control.mo %{_datadir}/omf/%{name} %doc %{_datadir}/gnome/help/gnome-voice-control/C/gnome-voice-control.xml %doc %{_datadir}/gnome/help/gnome-voice-control/C/legal.xml %changelog * Wed Aug 15 2007 David Malcolm - 0.2-2 - add scrollkeeper hooks * Wed Aug 15 2007 David Malcolm - 0.2-1 - initial attempt at packaging