Name: xpsk31 Version: 0.8 Release: 2%{?dist} Summary: GTK+ graphical version of lpsk31 for Ham Radio Group: Applications/Communications License: GPLv2+ URL: http://5b4az.chronos.org.uk/pages/digital.html Source0: http://5b4az.chronos.org.uk/pkg/psk31/%{name}/%{name}-%{version}.tar.gz Source1: %{name}.desktop Source2: %{name}.png Patch0: xpsk31-0.8-configure.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: autoconf BuildRequires: automake BuildRequires: glib2-devel BuildRequires: gtk2-devel >= 2.0.0 BuildRequires: desktop-file-utils %description xpsk31 is a GTK+ graphical version of lpsk31, using the same basic signal decoding and encoding engine but controlled by the user via the GUI. In addition it has a FFT-derived "waterfall" display of the incoming signal and a "magniphase" display that shows the magnitude, phase and frequency error of the psk31 signal. %prep %setup -q -n %{name} %patch0 -p1 -b conf autoreconf -v -i %build %configure make CC="gcc $RPM_OPT_FLAGS" %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" # 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} cp xpsk31/xpsk31rc xpsk31rc.sample %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc AUTHORS README COPYING xpsk31rc.sample %{_bindir}/%{name} %{_datadir}/pixmaps/%{name}.png %{_datadir}/applications/*%{name}.desktop %changelog * Wed Jul 16 2008 Lucian Langa - 0.8-2 - proper handle of configure - fix desktop file - misc cleanups * Sat Mar 01 2008 Robert 'Bob' Jensen - 0.8-1 - Upstream Version Bump * Thu Feb 28 2008 Robert 'Bob' Jensen 0.7-3 - Add .desktop and icon for GUI application - Submit for review * Tue Nov 20 2007 Robert 'Bob' Jensen 0.7-2 - Fix files section * Tue Nov 20 2007 Robert 'Bob' Jensen 0.7-1 - Initial Fedora SPEC