Name:           {{{ git_name name=gridtracker }}}
Summary:        GridTracker: An Amateur Radio Companion
Version:        1.24.0922
Release:        1%{?dist}
BuildArch:      noarch
Source0:        {{{ git_dir_pack }}}

License:        BSD 3-Clause License
URL:            https://gridtracker.org
Group:          Science & Math
Packager:       Matthew Chambers <nr0q@gridtracker.org>
Requires:       nwjs
BuildRequires:  desktop-file-utils make nodejs

%description
GridTracker listens to traffic from WSJT-X/JTDX, displays it on a map,
and has a sophisticated alerting and filtering system for finding and
working interesting stations. It also will upload QSO records to multiple
logging frameworks including Logbook of the World.

%prep
{{{ git_dir_setup_macro }}}

%build

%install
DESTDIR=${RPM_BUILD_ROOT} make NO_DIST_INSTALL=true install

%check

%clean
DESTDIR=${RPM_BUILD_ROOT} make clean

%files
%{_datadir}/%{name}/
%{_datadir}/applications/%{name}.desktop
%{_datadir}/%{name}/
%{_bindir}/%{name}
%{_mandir}/man1/
%license %{_docdir}/%{name}/

%changelog
* Sun Sep 22 2024 Tag Loomis <n0ttl@gridtracker.org> - 1.24.0922-1
- System - Regression in 2d accleration, Windows 7, 10 and 11
* Fri Sep 20 2024 Tag Loomis <n0ttl@gridtracker.org> - 1.24.0920-1
- Mac - Fixed some network issues on macOS 15 (Sequoia)
- Panel - Data selector now a drop-down like the others
- Panel - Buttons are now movable (Shift-Key + Right-Click)
- Stats - Logbook - Fixed issue where callsign lookups stopped working
- Call Roster - Removed old and prevent new watchers with invalid characters
- Map - Removed some Carto maps that are no longer public access
- Map - Added Bathymetric Oceans by GEBCO
- Map - Added Tiandi Tu Chinese maps - requires api key
- Map - Fixed "old map tiles" showing up when switching maps
- Map - Zoom buttons now smaller increments
- System - Kp Index data now delivered over OAMS network
- System - BIGCTY update from Sept 17th
- System - NJWS engine updated to 0.78.1
* Sun Sep 08 2024 Tag Loomis <n0ttl@gridtracker.org> - 1.24.0908-1
 - Main - Map View Filters can now be hidden
 - Main - Conditions button now planetary K-index (5 minute update)
 - Main - Fixed Prediction button not returning when going online
 - Map - All Grid Overlay - Field boundaries are bolder
 - Map - 6 character Maidenhead locators only supported in Pin mode
 - Map - Fixed zoom factor bug causing slow drawing 
 - Map - Updated timezone data (corrects America/Mexico_City and others)
 - Settings - Proper map selections when in offline mode
 - System - Missing translations for Spanish and German fixed
 - System - Map engine OpenLayers updated to 10.1.0
 - System - BIGCTY update from September 5th
 - Call Roster - Fixed ignored grids not saving on exit
* Tue Aug 14 2024 Tag Loomis <n0ttl@gridtracker.org> - 1.24.0814-1
 - Map - Added layer attribution
 - Map - Added propagation prediction layers (MUF, foF2 NVIS, Sporadic-E, Aurora)
 - Stats - Added US48 grids
 - System - BIGCTY update from August 9th
* Thu Aug 01 2024 Tag Loomis <n0ttl@gridtracker.org> - 1.24.0801-1
 - Map - Mouse tracker (Hotkey X) grid displays 6 characters
 - System - Callsign databases now cleared from disk on disable
 - OAMS - Fixed chat history bug where all messages appeared to come from you
 - POTA - Replaced park marker emojis with images (no more black boxes)
 - Map - GT Flags and Spots now visible in award layers (including mouse-over) 
 - System - BIGCTY update July 23rd
* Mon Jul 15 2024 Tag Loomis <n0ttl@gridtracker.org> - 1.24.0715-1
 - Logging: Fixed bug where some US Counties not showing in Call Roster
* Thu Jul 11 2024 Tag Loomis <n0ttl@gridtracker.org> - 1.24.0711-1
 - Logging: Fixed log breaking bug in CloudLog
* Sun Jul 07 2024 Tag Loomis <n0ttl@gridtracker.org> - 1.24.0707-1
 - Alerts: Fixed bug breaking audio alerts and notifications
 - Network: Multicast improvements
 - Logging: CloudLog improvements (thank you DF2ET)
 - System: Restored PSK24h feature
 - System: Removed auto-mute feature
* Sun May 12 2024 Tag Loomis <n0ttl@gridtracker.org> - 1.24.0512-1
 - System: Fixed bug in QSO unique hash algorithm 
* Sat May 04 2024 Tag Loomis <n0ttl@gridtracker.org> - 1.24.0504-1
 - System: BIGCTY Update from April 29th (3D2CCC etc)
 - Logging: Threaded log loading and parsing > 500,000 QSOs now supported in real-time
 - Logging: Manual log loads automatically added to startup
 - System: US database refactor
 - Call Roster: Only US states and Canadian provinces recognized
 - Award Tracker: Added RAC: Worked All North America
 - Award Tracker: Added CQ Magazine: WAZ, US-CA, WPX
 - Control Panel: Re-ordered buttons based on online/offline mode
 - Control Panel: Moved 'Award Layer' button to 'Map View Filters > Award' drop-down list
* Thu Jan 04 2024 Tag Loomis <n0ttl@gridtracker.org> - 1.24.0104-1
 - System - fixed database creation error on new installs
* Wed Jan 03 2024 Tag Loomis <n0ttl@gridtracker.org> - 1.24.0103-1
 - Windows - NSIS Installer reverted to 3.06.1-1
 - System - Fixed bug in handling hamqth lookups
 - Stats - DXCCs - Added confirmed band slot counts
 - BIGCTY - Update from Dec 28th 2023
* Tue Dec 26 2023 Tag Loomis <n0ttl@gridtracker.org> - 1.23.1226-1
 - System - Improved Primary Administrative Area (State) detection
 - System - Added Canadian and Australian callsign databases
 - Map - Added 'Worked All Canadian Provinces' award layer (Key 9)
 - POTA - Map marker updated when park worked
 - Call Roster - Properly show POTA worked status
 - Logbook - Filter QSO by grid “Working Grid(s)”
* Sun Dec 17 2023 Tag Loomis <n0ttl@gridtracker.org> - 1.23.1217-1
 - BIGCTY - Update from December 15th
 - System - Add QSO processing indicator
 - System - QSL location authority selector added in Settings > Logbook
 - Logbook Viewer - QSL sources added
 - Call Roster - Added Grid to Watcher and Ignores
 - Language - Updates to Chinese simplified and traditional translations
 - Logging - DX Keeper grid bug workaround
* Thu Dec 07 2023 Tag Loomis <n0ttl@gridtracker.org> - 1.23.1207-1
 - BIGCTY - Update from December 5th
 - System - LoTW, eQSL and OQRS membership columns icon updated
 - System - Fixed major bug in how confirmation (QSL) records were handled
 - Call Roster - Returned non-slider based exceptions to the exceptions control area
 - Language - Updates to Chinese simplified and traditional translations
* Sat Dec 02 2023 Tag Loomis <n0ttl@gridtracker.org> - 1.23.1202-1
 - BIGCTY - Update from November 29th
 - System - Returned LoTW, eQSL and OQRS membership columns to log entries
 - System - Fixed initial install window sizes
 - Logbook Viewer - Added DXCC reset view button
 - Call Roster
   - New “Move Column Right” added to right-click Column header 
   - Fixed handling of compound callsigns
   - Fixed saving of Ignored CQ zones and ITU zones
   - New Settings Button (Ctrl-S)
   - New Callsign / Message Watcher (Ctrl-W or Ctrl-O)
   - New Exceptions Settings (Ctrl-E)
   - New Ignores Editor / Viewer (Ctrl-I)
   - New Columns Editor (Ctrl-C)
* Sun Nov 12 2023 Tag Loomis <n0ttl@gridtracker.org> - 1.23.1112-1
 - Language - Added Français and Italiano (Special thanks to HB9TIH and HB9SNR)
 - Language - Added Español (Special thanks to KI2D and HI8O) 
 - DXCC - Renamed Macedonia to N. Macedonia
 - System - Fixed 1.25m displaying as 125cm in English
 - Award Tracker - Added ARRL VUCC
 - BIGCTY - Update from November 3rd
 - Map - Improved speed of mouse-over rendering and ordering
 - Map - Grid headers show source (Logbook or Live)
 - Call Roster - Fixed issue where Spot wasn't populating correctly
 - Rotor - All locations can now aim on ctrl-left-click when enabled
 - POTA - Left-click a park (tree) on same band/mode will generate messages in WSJT-X
 - Lookup - Added OAMS user to details
 - Logging - Descriptive error if QRZ.com logging failure
 - Logbook Viewer - Regex enabled callsign searching
 - Settings - Logbook - New "Logbook Items Per Page" slider 
* Thu Oct 19 2023 Tag Loomis <n0ttl@gridtracker.org> - 1.23.1019-1
 - HTTP - Removed timeouts on transactions affecting log downloading and uploading
* Sun Oct 15 2023 Tag Loomis <n0ttl@gridtracker.org> - 1.23.1015-1
 - ADIF - Fixed record loading failure for PSK-Reporter if FREQ present
 - WSPR - Fixed decodes not appearing
* Sat Oct 14 2023 Tag Loomis <n0ttl@gridtracker.org> - 1.23.1014-1
 - Call Roster - Fixed "All Traffic/Only Wanted" filtering
 - Call Roster - Fixed POTA wanted same-day issue
 - Call Roster - Added optional "Rig" column
 - System – Support digital mode Q65
 - System – BIGCTY update from October 7th
 - System – Push notification services Simplepush.io and Pushover.net added (OAMS tab)
 - System – Swaziland renamed to Eswatini
 - Logging – HamZone.cn service is now HamCQ.cn
 - Maps – Toner (online), Terrain, Watercolor and Geography Class no longer public access
* Sun Apr 02 2023 Tag Loomis <n0ttl@gridtracker.org> - 1.23.0402-1
 - Roster - fixed Hunting mode not saving
 - Packager - fixed Arm distribution
* Tue Mar 28 2023 Tag Loomis <n0ttl@gridtracker.org> - 1.23.0328-1
 - Language - added German/Deutsch
 - POTA – fixed disappearing parks, removed auto RBNs 
 - Pin mode – added missing band pins
 - Call Roster - added UTC column for easier even/odd spotting
 - Call Roster – fixed “Spotted Me” exception
 - Call Roster – “Uses LoTW” “Uses eQSL” “Uses OQRS” now inclusive
 - Loggers – added HamZone.cn service
 - OAMS – band activity sums neighboring grids correctly
 - Logbook – “Working Date” now accepts time of day
 - Visual Alerts – in own movable window
 - Map – upgraded to OpenLayers 6.15.1, Heatmap now world-wraps
 - Mac – “Full Stop” no longer spoken at startup
 - Satellite – framework started for satellite tracking
 - BIGCTY – update from March 19th
* Mon Feb 06 2023 Tag Loomis <n0ttl@gridtracker.org> - 1.23.0206-1
  - Removed lightning strike detection
  - Bugfix for Turkey zone 1 decodes
  - Heatmap part of “Spots” button, Hotkey H removed
  - GT flags button follow “Map View Filters”
  - OAMS chat messages word wrap correctly
  - Mutli-Rig settings moved to Settings → General
  - Call Roster Settings moved to Call Roster, right-click in Roster or press Ctrl-S
  - Call Roster Compact Mode displays Band if multi-band
  - Call Roster Compact Mode entity selection in Call Roster Settings, default “DXCC”
  - Added Call Roster Window Filters in Call Roster Settings, Ctrl-R to reset filters
  - Call Roster POTA column can now sort
  - Added OAMS based band activity
  - Award Tracker CQ Zone and State fix
  - <...> treated as UNKNOWN in Call Roster
  - LoTW download button not responding
* Tue Jan 10 2023 Tag Loomis <n0ttl@gridtracker.org> - 1.23.0110-1
  - Emergency LoTW fix
* Mon Dec 26 2022 Tag Loomis <n0ttl@gridtracker.org> - 1.22.1226-1
  - Fixed lightning strikes not showing on map
  - Fixed distance in status panel
  - Fixed chat window text entry
  - Fixed Logbook of The World loading 
  - No longer clear data on new versions
  - More code clean up
* Sun Dec 04 2022 Tag Loomis <n0ttl@gridtracker.org> - 1.22.1204-1
  - Fixed CPU usage issue with messaging
  - Fixed Logging -> Local File(s) not showing files selected
  - Honor POTA spot expiration
  - New option 'Clear DX Call, DX Grid, Tx1-Tx5 when calling CQ in WSJT-X'
  -- Settings -> Lookups -> Feature Control -> Clear on CQ
* Wed Nov 23 2022 Tag Loomis <n0ttl@gridtracker.org> - 1.22.1123-1
  - LoTW QSL downloading issue fixed
  - CQ Only in Call Roster fixed
  - Failure to start on some installs
* Tue Nov 22 2022 Tag Loomis <n0ttl@gridtracker.org> - 1.22.1122-1
  - WSPR decoding corrupting QSO data fix!
* Sat Nov 19 2022 Tag Loomis <n0ttl@gridtracker.org> - 1.22.1119-1
  - New Internationalization support (Settings → General → Language)
  -- English, 简体中文, 繁體中文 with German and Spanish in the works
  - Removed QRT POTA Spots
  - CatRotator / PstRotator support
  -- Settings → Logging → scroll to bottom to enable
  -- Right-click callsign in Call Roster to Aim
  -- Ctrl-Left-click in Map to Aim
  - Improved callsign validation in Call Roster
  - Grid-overlay (Hotkey B) performance boost
  - BIGCTY update from November 14th
  - Performance improvements
* Sun Oct 16 2022 Tag Loomis <n0ttl@gridtracker.org> - 1.22.1016-1
  - Fix issue with map blanking when upgrading
  - Fix some POTA callers not showing in call roster
  - Fix DXCC none (/MM) not showing in call roster
  - New wanted callsign Regex in call roster
  - New 'No Unknown DXCC' exception in call roster
  - Award tracker now shows wanted options for highlighting
  - Small performance improvements and installation size reduction
* Sun Oct 09 2022 Tag Loomis <n0ttl@gridtracker.org> - 1.22.1010-1
  - Fix issue with map selection not saving/restoring
* Sat Oct 08 2022 Tag Loomis <n0ttl@gridtracker.org> - 1.22.1009-1
  - Fix issue with loading logs and generating scores
* Sat Oct 08 2022 Matthew Chambers <nr0q@gridtracker.org> - 1.22.1008-1
  - Fix missing callsigns in mh-root when importing BIGCTY
* Fri Oct 07 2022 Matthew Chambers <nr0q@gridtracker.org> - 1.22.1006-1
  - Main App:
    - New option in Settings -> Lookups -> Feature Control -> POTA.  When "Enabled", track POTA spots from https://pota.app and auto-report activations. When "Menu Button" checked and menu button active, show active parks following "Map View Filters" rules.
    - OAMS spotting fixed for multiple-instances (Resolves Issue #170)
    - St. Maarten continent changed from SA to NA
    - DXCC none ( ie:  CALL/MM ) no longer counted in Scores or DXCCs stats tabs (Resolves Issue #162)
    - After long window minimize, restore looks correct.
    - Fixed dupe check for last QSO partner (chasing bands, not logging)
    - Prefixes and direct callsign updates from BIGCTY 2022-09-20 (Resolves Issue #144)
    - Fix issue where logged contacts with certain DXCCs on certain bands show as having worked other entities on 630m (Resolves Issue #134)
    - Fix NEXRAD not updating (Resolves Issue #138)
    - Fix buttons not graying when feature toggled off (Resolves Issue #97)
  - Call Roster:
    - Fixed right-click on DXCC not showing DXCC ignore menu (Resolves Issue #153)
    - Fixed "Clear Call Roster On Band Change" bug that caused the roster to blank
    - Fixed Age column not sorting correctly
    - Fixed County cell not doing lookups when allowed
    - Changed County column to show number of potential counties for a callsign
    - Add "RR73 as CQ" to Exceptions
    - Added 4 new "Masters of Radio Communications" awards from QRZ.com to Award Tracker
    - Award Tracker now shows in the Wanted cell the first award that meets criteria
    - Instances now horizontal between controls and roster table (Resolves Issue #166)
    - New option in Settings -> Call Roster -> "Call Roster Delay On Focus".. when enabled will delay redraw of roster after decode round(s) (Resolves Issue #69)
* Sat Sep 03 2022 Matthew Chambers <nr0q@gridtracker.org> - 1.22.0903-1
  - Fixed a bug that displayed 1.25m band QSOs incorrectly.
  - Fixed broken DXCC CQ highlighting and Statistics CQ highlighting.
  - Fixed an exception that occurs when the OAMS server is restarting.
  - Resolved #159 where the Wade Hampton Census area should be the Kusilvak Census Area.
  - Fixed where using the Award Tracker didn't override and hide the Wanted select of the call roster. This was the behavior prior to the call roster refactor.
  - Fix lightening strike display/alerts, this data now flows through OAMS rather then trying to poll direct from Blitzkrieg. 
* Sun Jul 24 2022 Matthew Chambers <nr0q@gridtracker.org> - 1.22.0725-1
  - Resolved #9 Call roster columns order can be changed
  - Resolved $95 Puts calling/called stations at the top of the call roster if sorting by Wanted
  - Resolved #118 Introduce POTA hunting in the call roster
  - Resolved #133 Fixes missing CloudLog Station Profile ID
  - Resolved #150 Highlights RR73/73 the same as a station calling CQ
  - Fixes pattern match for US 1x1 callsigns to match actual FCC rules around them.
  - Add WSJT-X/JTDX active instance name to roster window title when operating with multiple instances.
* Mon May 02 2022 Matthew Chambers <nr0q@gridtracker.org> - 1.22.0503-1
- Increment version number for build with correct vesion of NWJS
* Mon May 02 2022 Matthew Chambers <nr0q@gridtracker.org> - 1.22.0502-1
- [Bug Fixes]
  - Fixed broken Call Roster due to online assets being moved from a web server to Google Storage Bucket.
  - Don't highlight "CQ" rows if filtering by "CQ Only".
  - Resolved #126 Windows Installer script updated to fix issues with install location and missing registry keys
  - Resolved #124 removing IP-Geolocation when no all other means of locating failed, we now tell the user to
    start WSJT-X or enter a location  as Geo-Location services are costly and unreliable
  - Resolved #137 missing libatomic dependency in Linux DEB and RPM spec files
- [Enhancements]
  - Include version number in main window title
  - Call Roster colums refactored and wanted column added
* Fri Dec 17 2021 Matthew Chambers <nr0q@gridtracker.org> - 1.21.1217-1
- Changed to newer NWJS to fix upstream bug that caused media playback to fail.
* Sun Dec 12 2021 Matthew Chambers <nr0q@gridtracker.org> - 1.21.1212-1
- Release build with the call roster refactor code that's been in the works for some time.
- [Bug Fixes]
  - Fix #76, unfinished ignore CQ and ITU zones.
  - Improved handling of stations that are not in a valid DXCC (ie; /MM stations)
  - Improved handling of free text decodes that don't contain valid callsigns (ie "HI BOB" and "MERRY XMAS")
  - Fix how the Call Roster title bar counts are calculated.
- [Enhancements]
  - More clarity when a ULS Zip code falls in more then one county, replacing ~ with ? symbols and better tool tip message.
  - Fix #107, where the call roster timeout was longer then a single FT4 cycle.
  - Fix #91, CQ is always highlighted, no matter status of CQ Only.
  - Performance improvement by changing how call roster vars are handled ('let' vs 'var')
  - Build system improved to push to Arch AUR, building of Debian (.deb) packages and triggering
    of COPR RPM builds for Fedora/Cent/RHEL and their cousins.
* Thu Sep 30 2021 Matthew Chambers <nr0q@gridtracker.org> - 1.21.0928-1
- First attempt at repo grade RPM builds
