Name: grig Version: 0.7.2 Release: 1%{?dist} Summary: A Ham Radio Control graphical user interface Group: Applications/Communications License: GPL URL: http://groundstation.sourceforge.net/grig/ Source0: http://prdownloads.sourceforge.net/groundstation/%{name}-%{version}.tar.gz Source1: grig.desktop BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: hamlib-devel >= 1.2.5 BuildRequires: gtk2-devel >= 2.6.0 BuildRequires: desktop-file-utils BuildRequires: gettext intltool Requires(post): desktop-file-utils Requires(postun): desktop-file-utils %description Grig is a graphical user interface for the Ham Radio Control Libraries. It is intended to be simple and generic, presenting the user to the same interface regardless of which radio he or she uses. %prep %setup -q %build %configure --disable-dependency-tracking make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT rm -fr $RPM_BUILD_ROOT%{_datadir}/%{name} desktop-file-install --vendor fedora \ --dir $RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE1} %clean rm -rf $RPM_BUILD_ROOT %post update-desktop-database > /dev/null 2>&1 || : %postun update-desktop-database > /dev/null 2>&1 || : %files %defattr(-, root, root, -) %doc AUTHORS NEWS README ChangeLog COPYING %{_bindir}/%{name} %{_datadir}/pixmaps/%{name} %{_datadir}/applications/*%{name}.desktop %doc %{_mandir}/man1/%{name}* %changelog * Fri Dec 29 2006 Denis Leroy - 0.7.2-1 - First version