-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathrepeater-START.spec
More file actions
51 lines (41 loc) · 1.67 KB
/
Copy pathrepeater-START.spec
File metadata and controls
51 lines (41 loc) · 1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Name: repeaterSTART
Version: 1.1.0
Release: 1%{?dist}
Summary: Repeater-START (Showing The Amateur-radio Repeaters Tool) is a tool to find local repeaters on a topo map. Works online or offline.
License: GPL-2.0-or-later
URL: https://hearham.com/repeaters
BuildArch: noarch
Requires: python3, python3-gobject, osm-gps-map-gobject, geoclue2-libs
%description
Repeater-START - Showing The Amateur Repeaters Tool.
This tool displays all the repeaters available through the repeater listing at https://hearham.com/repeaters
Support for searching for a Maidenhead-grid-square coordinate, WhatThreeWords Position, a mountain or peak on Openstreetmap, repeater frequency/IRLP node, or finding your current location, is included.
%build
# Nothing to compile - pure Python.
%install
rm -rf %{buildroot}
install -d %{buildroot}%{_datadir}/repeater-START
cp -r src/* %{buildroot}%{_datadir}/repeater-START/
install -Dm644 resources/repeaterstart.desktop \
%{buildroot}%{_datadir}/applications/repeaterstart.desktop
install -Dm644 resources/repeaterSTART.svg \
%{buildroot}%{_datadir}/icons/hicolor/scalable/apps/repeaterSTART.svg
install -d %{buildroot}%{_bindir}
cat > %{buildroot}%{_bindir}/%{name} << 'EOF'
#!/bin/sh
#Starts up repeater-start
cd /usr/share/repeater-START/
./repeaterstart.py $@
EOF
chmod 755 %{buildroot}%{_bindir}/%{name}
%files
%attr(0755,root,root) %{_bindir}/%{name}
%{_bindir}/%{name}
%{_datadir}/repeater-START/
%{_datadir}/applications/repeaterstart.desktop
%{_datadir}/icons/hicolor/scalable/apps/repeaterSTART.svg
%license LICENSE
%doc README.md
%changelog
* Fri Jul 03 2026 Luke
- Initial Fedora/Red Hat build.