rpms/HamFax/F-9 HamFax-0.6.4-configure.patch, NONE, 1.1 HamFax.desktop, NONE, 1.1 HamFax.png, NONE, 1.1 HamFax.spec, NONE, 1.1
Randy Berry
dp67 at fedoraproject.org
Mon Jan 12 22:01:36 UTC 2009
Author: dp67
Update of /cvs/pkgs/rpms/HamFax/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19517
Added Files:
HamFax-0.6.4-configure.patch HamFax.desktop HamFax.png
HamFax.spec
Log Message:
Update config file for x86_64
HamFax-0.6.4-configure.patch:
--- NEW FILE HamFax-0.6.4-configure.patch ---
diff -up HamFax-0.6.4/configure.orig HamFax-0.6.4/configure
--- HamFax-0.6.4/configure.orig 2004-10-12 15:38:28.000000000 -0400
+++ HamFax-0.6.4/configure 2008-10-18 00:44:10.000000000 -0400
@@ -2860,7 +2860,7 @@ _ACEOF
*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
esac
case $ac_im_usrlibdir in
- /usr/lib | /lib) ;;
+ /usr/lib | /lib | /usr/lib64 | /lib64) ;;
*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
esac
fi
@@ -3100,7 +3100,7 @@ _ACEOF
*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
esac
case $ac_im_usrlibdir in
- /usr/lib | /lib) ;;
+ /usr/lib | /lib | /usr/lib64 | /lib64) ;;
*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
esac
fi
@@ -4539,6 +4539,7 @@ else
/usr/include
`ls -dr /usr/include/qt* 2>/dev/null`
`ls -dr /usr/lib/qt*/include 2>/dev/null`
+ `ls -dr /usr/lib64/qt*/include 2>/dev/null`
`ls -dr /usr/local/qt*/include 2>/dev/null`
`ls -dr /opt/qt*/include 2>/dev/null`
"
@@ -4754,10 +4755,13 @@ sed 's/^/| /' conftest.$ac_ext >&5
bnv_dir_list="
`echo $bnv_qt_includes | sed ss/includess`
/lib
+ /lib64
/usr/lib
+ /usr/lib64
/usr/local/lib
/opt/lib
`ls -dr /usr/lib/qt* 2>/dev/null`
+ `ls -dr /usr/lib64/qt* 2>/dev/null`
`ls -dr /usr/local/qt* 2>/dev/null`
`ls -dr /opt/qt* 2>/dev/null`
"
--- NEW FILE HamFax.desktop ---
[Desktop Entry]
Encoding=UTF-8
Name=HamFax
GenericName=HamFax
Comment=A ham radio Fax for linux
Exec=HamFax
Icon=HamFax.png
Terminal=false
Type=Application
Categories=HamRadio;
Version=1.0
--- NEW FILE HamFax.spec ---
Name: HamFax
Version: 0.6.4
Release: 2%{?dist}
Summary: HamFax is an application for sending and receiving facsimiles in amateur radio
Group: Applications/Communications
License: GPLv2+
URL: http://hamfax.sourceforge.net/
Source0: http://downloads.sourceforge.net/hamfax/%{name}-%{version}.tar.bz2
Source1: %{name}.desktop
Source2: %{name}.png
Patch0: %{name}-%{version}-configure.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: audiofile-devel qt-devel qt3-devel libXmu-devel libX11-devel desktop-file-utils
#Requires:
%description
HamFax is an application for sending and receiving facsimiles in
amateur radio and for receiving public facsimile broadcasts like
weather maps. Supported interfaces are sound cards and the SCS-PTCII
from Special Communication Systems.
%prep
%setup -q
%patch0 -p1 -b %{name}-%{vesrion}-configure.patch
%build
%configure
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
cp hamfax ${RPM_BUILD_ROOT}%{_bindir}/hamfax
mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/pixmaps/
# No upstream icon so we'll use a temporary icon
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 NEWS README TODO
%{_datadir}/pixmaps/%{name}.png
%{_datadir}/applications/*%{name}.desktop
%{_datadir}/HamFax/HamFax.html
%{_datadir}/HamFax/hamfax_de.qm
%{_bindir}/*
%changelog
* Tue Oct 14 2008 Randall J. Berry 'Dp67' <randyn3lrx at gmail.com> 0.6.4-2
- Add patch to allow build on x86_64
- Edit spec per review
- rpmlint = pass
- rpmbuild = pass
- mock build = 9, rawhide (i386)
* Sun Sep 28 2008 Randall J. Berry 'Dp67' <randyn3lrx at gmail.com> 0.6.4-1
- Initial Spec
- rpmlint = pass
- rpmbuild = pass
- mock build = pass
More information about the fedora-extras-commits
mailing list