OK. That worked. Here is the current .spec with which the build completes successfully. Also the resulting package can be installed and uninstalled through Synaptic cleanly. The binary works but can only be launched from the command prompt at present. There are a lot error messages running there though and the browsing too feels a bit disconnected.
I have fixed that double slash "//" issue. It was an error generated from my oversight.
# This line is needed as we are only packaging a pre-compiled binary
%define dont_strip 1
Name: QtWeb
# There is also a build number which is 087 not included here else would be 3.7.3.087
Version: 3.7.3
Release: %mkrel 1
Summary: Portable, compact, fast, secure internet browser based on Qt and WebKit.
Group: Networking/WWW
URL: http://qtweb.net
License: GPLv2+
Source0: %{name}-%{version}.tar.xz
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
# Adding this line so that this will not get attached to any other package
AutoReqProv: no
%description
QtWeb Internet Browser - lightweight, secure and portable browser having unique user interface and privacy features.
QtWeb is an open source project based on Nokia's Qt framework and Apple's WebKit rendering engine (the same as being used in Apple Safari and Google Chrome).
This is the pre-built binary from http://qtweb.net.
%prep
%setup -q
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_docdir}/%{name}
install -m 0755 QtWeb %{buildroot}%{_bindir}/QtWeb
install -m 0755 License.txt %{buildroot}%{_docdir}/%{name}/License.txt
%clean
rm -rf %{buildroot}
%files
%defattr(-, root, root)
%{_bindir}/QtWeb
%{_docdir}/%{name}/License.txt
%changelog
* Thu Nov 29 2012 Sling Shot <sling-shot at lycos.com> 3.7.3-1slingshot2012
- 3.7.3
Now I need to hunt down the process of creating a desktop file.
Also how to associate an icon with this binary?