Skip to content

Commit

Permalink
Update wwl to version 1.3 / rev 1 via SR 1245906
Browse files Browse the repository at this point in the history
https://build.opensuse.org/request/show/1245906
by user AndreasStieger + anag+factory
CLI to calculate distance (qrb) of maidenhead locators used in Amateur Radio
  • Loading branch information
AndreasStieger authored and bmwiedemann committed Feb 14, 2025
1 parent 3261890 commit dc157df
Show file tree
Hide file tree
Showing 7 changed files with 99 additions and 0 deletions.
Binary file added packages/w/wwl/.files
Binary file not shown.
7 changes: 7 additions & 0 deletions packages/w/wwl/.meta
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<package name="wwl" project="openSUSE:Factory">
<title>Calculates distance (qrb) used in Amateur Radio</title>
<description>Given two Maidenhead locators, calculates distance (qrb) and azimuth
Or if called as locator, gives the lat/long of a Maidenhead locator.</description>
<devel project="hamradio" package="wwl"/>
<url>http://www.db.net/downloads/</url>
</package>
10 changes: 10 additions & 0 deletions packages/w/wwl/.rev
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<revisionlist>
<revision rev="1" vrev="1">
<srcmd5>99c1d4be47bad6366f487de83069475c</srcmd5>
<version>1.3</version>
<time>1739557411</time>
<user>anag+factory</user>
<comment>CLI to calculate distance (qrb) of maidenhead locators used in Amateur Radio </comment>
<requestid>1245906</requestid>
</revision>
</revisionlist>
18 changes: 18 additions & 0 deletions packages/w/wwl/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
This version by va3db db@db.net db@FreeBSD.org Oct 1 2007
rewritten completely. There were equator crossing bugs in the original
(dead) version of wwl on sunsite, so I rewrote it from scratch.

wwl -- Originally by IK0ZSN Mirko Caserta <ik0zsn@amsat.org>
locator -- originally written by Harald M.
Stauss harald.stauss@web.de DO1JHS @ DB0GR.#BLN.DEU.EU
There is no code from the original (dead?) version of wwl or
the original (dead?) version of locator in this version.

The bearing/distance code is from Amateur Radio Software by John
Morris, GM4ANB.

<db@FreeBSD.ORG> wrote this file. As long as you retain this notice you
can do whatever you want with this code, except you may not
license it under any form of the GPL.
A postcard or QSL card showing me you appreciate
this code would be nice. Diane Bruce va3db
1 change: 1 addition & 0 deletions packages/w/wwl/wwl+db-1.3.tgz
4 changes: 4 additions & 0 deletions packages/w/wwl/wwl.changes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-------------------------------------------------------------------
Fri Feb 14 14:30:13 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>

- initial package
59 changes: 59 additions & 0 deletions packages/w/wwl/wwl.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
#
# spec file for package wwl
#
# Copyright (c) 2025 Andreas Stieger <Andreas.Stieger@gmx.de>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


Name: wwl
Version: 1.3
Release: 0
Summary: Calculates distance (qrb) used in Amateur Radio
# From wwl.c: # [...] As long as you retain this notice you
# can do whatever you want with this code, except you may not
# license it under any form of the GPL.
License: SUSE-Freeware
URL: http://www.db.net/downloads/
Source: http://www.db.net/downloads/wwl+db-%{version}.tgz
Source2: LICENSE

%description
Given two Maidenhead locators, calculates distance (qrb) and azimuth
Or if called as locator, gives the lat/long of a Maidenhead locator.

%prep
%autosetup -p1 -n %{name}+db-%{version}
cp %{SOURCE2} .

%build
%make_build

%install
mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_mandir}/man1
%make_install \
PREFIX=%{buildroot}%{_prefix} \
MAN1PREFIX=%{buildroot}%{_mandir}/man1/ \
LN="ln -r" \
%{nil}
chmod -x %{buildroot}%{_mandir}/man1/wwl.1*

%files
%license LICENSE
%{_bindir}/locator
%{_bindir}/wwl
%{_mandir}/man1/locator.1%{?ext_man}
%{_mandir}/man1/wwl.1%{?ext_man}

%changelog

0 comments on commit dc157df

Please sign in to comment.