File HamFax.spec of Package HamFax

#
# spec file for package HamFax 
#
# norootforbuild

BuildRequires: gcc-c++ libqt4-devel audiofile-devel update-desktop-files

Name:         HamFax
URL:          http://hamfax.sourceforge.net/
License:      GPL
Group:        Productivity/Hamradio/Digital
Autoreqprov:  on
Version:      0.8.1
Release:      1
Summary:      Send and receive radio facsimiles
Source:       hamfax-%{version}.tar.bz2
BuildRoot:    %{_tmppath}/%{name}-%{version}-build

%description
HamFax is an application for sending and receiving facsimilies in
amateur radio. You can either use a sound card as interface to the
transceiver or a SCS-PTC-II.
Receiving of weather facsimile broadcasts is also possible.

Authors:
--------
    Christof Schmitt, DH1CS <cschmitt@users.sourceforge.net>

%debug_package
%prep
%setup -q -n hamfax-%{version}

%build
%configure
make

%install
make DESTDIR=$RPM_BUILD_ROOT install
%suse_update_desktop_file -c hamfax HamFax "Send and receive radio facsimiles" hamfax "" "Application;HamRadio"

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)

/usr/share/applications/hamfax.desktop
%doc AUTHORS COPYING ChangeLog README TODO NEWS
/usr/bin/hamfax
%dir /usr/share/hamfax
/usr/share/hamfax/*
%{_mandir}/man1/*

%changelog
openSUSE Build Service is sponsored by