Name: gtkmmorse Version: 0.9.27 Release: 1%{?dist} Summary: Morse code learning tool Group: Applications/Communications License: GPLv2+ URL: http://www.nongnu.org/gtkmmorse/ Source0: http://savannah.nongnu.org/download/gtkmmorse/%{name}-%{version}.tar.bz2 #desktop entry Source1: %{name}.desktop #temporary Icon Source2: %{name}.png BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gtkmm24-devel, gconfmm26-devel, libao-devel BuildRequires: desktop-file-utils %description GtkMMorse is a morse code learning tool released under GPL, which provides two type of training methods: Classical and Koch %prep %setup -q %build %configure make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT # no upstream .desktop or icon yet mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/pixmaps/ cp %{SOURCE2} ${RPM_BUILD_ROOT}%{_datadir}/pixmaps/%{name}.png desktop-file-install --vendor="fedora" \ --dir=${RPM_BUILD_ROOT}%{_datadir}/applications %{SOURCE1} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING README THANKS %{_bindir}/* %{_mandir}/man?/* %{_datadir}/applications/* %{_datadir}/pixmaps/* %changelog * Mon Jan 14 2008 Sindre Pedersen Bjørdal 0.9.27-1 - Initial build