Compare commits

...

2 Commits

Author SHA1 Message Date
Richard Shaw
ff1d82283b Include changes needed for 2.7.0. 2023-05-23 13:30:51 -05:00
Richard Shaw
9753a0edcc Rebuilt for Boost 1.81 2023-05-23 13:29:08 -05:00

View File

@ -1,8 +1,8 @@
#global rctag rc4
%global rctag rc1
Name: wsjtx
Version: 2.6.1
Release: 2%{?dist}
Version: 2.7.0
Release: 1%{?dist}
Summary: Weak Signal communication by K1JT
License: GPLv3+
@ -10,6 +10,8 @@ URL: http://physics.princeton.edu/pulsar/k1jt/wsjtx.html
Source0: https://sourceforge.net/projects/wsjt/files/%{name}-%{version}%{?rctag:-%{rctag}}/%{name}-%{version}%{?rctag:-%{rctag}}.tgz
Source100: wsjtx.appdata.xml
Patch0: wsjtx.patch
BuildRequires: cmake
BuildRequires: dos2unix
BuildRequires: tar
@ -25,7 +27,7 @@ BuildRequires: hamlib-devel
BuildRequires: fftw-devel
BuildRequires: libusbx-devel
BuildRequires: systemd-devel
%if 0%{?rhel}
%if 0%{?rhel} && 0%{?rhel} < 9
BuildRequires: boost169-devel
%else
BuildRequires: boost-devel
@ -46,7 +48,8 @@ from the Moon.
%prep
%setup -n %{name}-%{version}%{?rctag:-%{rctag}}
%setup -n %{name}-%{version}
#{?rctag:-%{rctag}}
# remove bundled hamlib
rm -f src/hamlib*.tgz* src/hamlib*.tar.gz*
@ -57,6 +60,8 @@ rm -f src/wsjtx.tgz*
cd %{name}
%patch 0 -p2
%if ! 0%{?rhel} < 8
# remove bundled boost. EL 7 is not required version.
rm -rf boost
@ -132,6 +137,7 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.appdata.xml
%{_bindir}/fmeasure
%{_bindir}/fmtave
%{_bindir}/fst4sim
%{_bindir}/hash22calc
%{_bindir}/jt4code
%{_bindir}/jt65code
%{_bindir}/jt9