| 1 |
Name: HamFax
|
| 2 |
Version: 0.6.4
|
| 3 |
Release: 5%{?dist}
|
| 4 |
Summary: HamFax is an application for sending and receiving facsimiles in amateur radio
|
| 5 |
|
| 6 |
Group: Applications/Communications
|
| 7 |
License: GPLv2+
|
| 8 |
URL: http://hamfax.sourceforge.net/
|
| 9 |
Source0: http://downloads.sourceforge.net/hamfax/%{name}-%{version}.tar.bz2
|
| 10 |
Source1: %{name}.desktop
|
| 11 |
Source2: %{name}.png
|
| 12 |
Patch0: %{name}-%{version}-configure.patch
|
| 13 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
| 14 |
|
| 15 |
BuildRequires: audiofile-devel
|
| 16 |
BuildRequires: qt-devel
|
| 17 |
BuildRequires: qt3-devel
|
| 18 |
BuildRequires: libXmu-devel
|
| 19 |
BuildRequires: libX11-devel
|
| 20 |
BuildRequires: desktop-file-utils
|
| 21 |
|
| 22 |
%description
|
| 23 |
HamFax is an application for sending and receiving facsimiles in
|
| 24 |
amateur radio and for receiving public facsimile broadcasts like
|
| 25 |
weather maps. Supported interfaces are sound cards and the SCS-PTCII
|
| 26 |
from Special Communication Systems.
|
| 27 |
|
| 28 |
%prep
|
| 29 |
%setup -q
|
| 30 |
%patch0 -p1 -b %{name}-%{vesrion}-configure.patch
|
| 31 |
|
| 32 |
%build
|
| 33 |
%configure
|
| 34 |
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
|
| 35 |
|
| 36 |
%install
|
| 37 |
rm -rf $RPM_BUILD_ROOT
|
| 38 |
make install DESTDIR=$RPM_BUILD_ROOT
|
| 39 |
cp hamfax ${RPM_BUILD_ROOT}%{_bindir}/hamfax
|
| 40 |
mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/pixmaps/
|
| 41 |
# No upstream icon so we'll use a temporary icon
|
| 42 |
cp %{SOURCE2} ${RPM_BUILD_ROOT}%{_datadir}/pixmaps/%{name}.png
|
| 43 |
desktop-file-install --vendor="fedora" \
|
| 44 |
--dir=${RPM_BUILD_ROOT}%{_datadir}/applications %{SOURCE1}
|
| 45 |
# --vendor="fedora" obsolete per new guidelines but already existed in orignal file.
|
| 46 |
|
| 47 |
%clean
|
| 48 |
rm -rf $RPM_BUILD_ROOT
|
| 49 |
|
| 50 |
%files
|
| 51 |
%defattr(-,root,root,-)
|
| 52 |
%doc AUTHORS ChangeLog COPYING NEWS README TODO
|
| 53 |
%{_datadir}/pixmaps/%{name}.png
|
| 54 |
%{_datadir}/applications/*%{name}.desktop
|
| 55 |
%dir %{_datadir}/%{name}
|
| 56 |
%{_datadir}/%{name}/%{name}.html
|
| 57 |
%{_datadir}/%{name}/hamfax_de.qm
|
| 58 |
%{_bindir}/*
|
| 59 |
|
| 60 |
%changelog
|
| 61 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.4-5
|
| 62 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
| 63 |
|
| 64 |
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.4-4
|
| 65 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
| 66 |
|
| 67 |
* Fri Jan 30 2009 Randall J. Berry 'Dp67' <randyn3lrx@gmail.com> - 0.6.4-3
|
| 68 |
- Fix unowned directories Bug #483319
|
| 69 |
- Fix .desktop file
|
| 70 |
|
| 71 |
* Tue Oct 14 2008 Randall J. Berry 'Dp67' <randyn3lrx@gmail.com> 0.6.4-2
|
| 72 |
- Add patch to allow build on x86_64
|
| 73 |
- Edit spec per review
|
| 74 |
- rpmlint = pass
|
| 75 |
- rpmbuild = pass
|
| 76 |
- mock build = 9, rawhide (i386)
|
| 77 |
|
| 78 |
* Sun Sep 28 2008 Randall J. Berry 'Dp67' <randyn3lrx@gmail.com> 0.6.4-1
|
| 79 |
- Initial Spec
|
| 80 |
- rpmlint = pass
|
| 81 |
- rpmbuild = pass
|
| 82 |
- mock build = pass
|