2018-12-10 15:14:01 +00:00
|
|
|
#global rctag rc6
|
2017-09-18 12:38:27 +00:00
|
|
|
|
2018-12-10 15:14:01 +00:00
|
|
|
Name: wsjtx
|
2019-11-26 03:03:04 +00:00
|
|
|
Version: 2.1.1
|
|
|
|
Release: 1%{?dist}
|
2017-09-18 12:38:27 +00:00
|
|
|
Summary: Weak Signal communication by K1JT
|
|
|
|
License: GPLv3+
|
2019-02-25 16:21:29 +00:00
|
|
|
|
2017-09-18 12:38:27 +00:00
|
|
|
URL: http://physics.princeton.edu/pulsar/k1jt/wsjtx.html
|
|
|
|
Source0: http://physics.princeton.edu/pulsar/k1jt/%{name}-%{version}%{?rctag:-%{rctag}}.tgz
|
2018-11-20 17:53:30 +00:00
|
|
|
|
2018-12-10 15:14:01 +00:00
|
|
|
Patch0: wsjtx-2.0.0-compile-fix.patch
|
|
|
|
|
|
|
|
BuildRequires: dos2unix, tar, cmake, gcc-c++, gcc-gfortran
|
2019-07-15 16:22:59 +00:00
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
BuildRequires: qt5-linguist
|
|
|
|
BuildRequires: qt5-qtserialport-devel
|
|
|
|
BuildRequires: qt5-qtmultimedia-devel
|
2018-12-10 15:14:01 +00:00
|
|
|
BuildRequires: desktop-file-utils, hamlib-devel, fftw-devel, libusbx-devel
|
|
|
|
BuildRequires: boost-devel, portaudio-devel, asciidoc, rubygem-asciidoctor
|
2017-09-18 12:38:27 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
WSJT-X is a computer program designed to facilitate basic amateur radio
|
|
|
|
communication using very weak signals. It implements communication protocols
|
|
|
|
or "modes" called JT4, JT9, JT65, QRA64, ISCAT, MSK144, and WSPR, as well as
|
|
|
|
one called Echo for detecting and measuring your own radio signals reflected
|
|
|
|
from the Moon.
|
|
|
|
|
|
|
|
%prep
|
2018-12-10 15:14:01 +00:00
|
|
|
%setup -n %{name}-%{version}%{?rctag:-%{rctag}}
|
2017-09-18 12:38:27 +00:00
|
|
|
|
|
|
|
# remove bundled hamlib
|
|
|
|
rm -f src/hamlib.tgz*
|
|
|
|
tar -xzf src/%{name}.tgz
|
2018-12-10 15:14:01 +00:00
|
|
|
%patch0 -p1
|
2017-09-18 12:38:27 +00:00
|
|
|
|
2018-03-16 16:27:31 +00:00
|
|
|
# remove archive
|
|
|
|
rm -f src/wsjtx.tgz*
|
|
|
|
|
2018-12-10 15:14:01 +00:00
|
|
|
pushd %{name}
|
2017-09-18 12:38:27 +00:00
|
|
|
|
2018-12-10 15:14:01 +00:00
|
|
|
%if 0%{?fedora}
|
|
|
|
# remove bundled boost. EL 7 is not required version.
|
2017-09-18 12:38:27 +00:00
|
|
|
rm -rf boost
|
2018-12-10 15:14:01 +00:00
|
|
|
%endif
|
2017-09-18 12:38:27 +00:00
|
|
|
|
|
|
|
# convert CR + LF to LF
|
|
|
|
dos2unix *.ui *.iss *.rc *.txt
|
|
|
|
|
|
|
|
%build
|
|
|
|
export CFLAGS="%{optflags}"
|
|
|
|
export LDFLAGS="%{?__global_ldflags}"
|
|
|
|
# workaround for hamlib check, i.e. for hamlib_LIBRARY_DIRS not to be empty
|
|
|
|
export PKG_CONFIG_ALLOW_SYSTEM_LIBS=1
|
|
|
|
mkdir %{name}/build
|
|
|
|
cd %{name}/build
|
2018-12-10 15:14:01 +00:00
|
|
|
%cmake -Dhamlib_STATIC=FALSE \
|
|
|
|
%if 0%{?fedora}
|
|
|
|
-DBoost_NO_SYSTEM_PATHS=FALSE \
|
|
|
|
%else
|
|
|
|
-DBoost_NO_SYSTEM_PATHS=TRUE \
|
|
|
|
%endif
|
|
|
|
..
|
2017-09-18 12:38:27 +00:00
|
|
|
%make_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
cd %{name}/build
|
|
|
|
%make_install
|
|
|
|
|
2018-05-16 16:31:25 +00:00
|
|
|
# Make sure the right style is used.
|
|
|
|
desktop-file-edit --set-key=Exec --set-value="wsjtx --style=fusion" \
|
|
|
|
%{buildroot}/%{_datadir}/applications/%{name}.desktop
|
2017-09-18 12:38:27 +00:00
|
|
|
# desktop files
|
|
|
|
desktop-file-validate %{buildroot}%{_datadir}/applications/wsjtx.desktop
|
|
|
|
desktop-file-validate %{buildroot}%{_datadir}/applications/message_aggregator.desktop
|
|
|
|
|
|
|
|
# fix docs
|
|
|
|
rm -f %{buildroot}%{_datadir}/doc/WSJT-X/{INSTALL,COPYING,copyright,changelog.Debian.gz}
|
|
|
|
cd ..
|
|
|
|
mv %{buildroot}%{_datadir}/doc/WSJT-X %{buildroot}%{_datadir}/doc/%{name}
|
|
|
|
install -p -m 0644 -t %{buildroot}%{_datadir}/doc/%{name} GUIcontrols.txt jt9.txt \
|
|
|
|
mouse_commands.txt prefixes.txt shortcuts.txt v1.7_Features.txt \
|
|
|
|
wsjtx_changelog.txt
|
|
|
|
|
|
|
|
%files
|
|
|
|
%license COPYING
|
|
|
|
%doc %{_datadir}/doc/%{name}
|
|
|
|
%{_bindir}/fcal
|
|
|
|
%{_bindir}/fmeasure
|
|
|
|
%{_bindir}/fmtave
|
|
|
|
%{_bindir}/jt4code
|
|
|
|
%{_bindir}/jt65code
|
|
|
|
%{_bindir}/jt9
|
|
|
|
%{_bindir}/jt9code
|
2018-03-16 16:27:31 +00:00
|
|
|
%{_bindir}/ft8code
|
2017-09-18 12:38:27 +00:00
|
|
|
%{_bindir}/message_aggregator
|
|
|
|
%{_bindir}/msk144code
|
|
|
|
%{_bindir}/qra64code
|
|
|
|
%{_bindir}/qra64sim
|
|
|
|
%{_bindir}/udp_daemon
|
|
|
|
%{_bindir}/wsjtx
|
|
|
|
%{_bindir}/wsprd
|
|
|
|
%{_mandir}/man1/*.1.gz
|
|
|
|
%{_datadir}/applications/wsjtx.desktop
|
|
|
|
%{_datadir}/applications/message_aggregator.desktop
|
|
|
|
%{_datadir}/pixmaps/wsjtx_icon.png
|
|
|
|
%{_datadir}/%{name}
|
|
|
|
|
|
|
|
%changelog
|
2019-11-26 03:03:04 +00:00
|
|
|
* Tue Nov 26 2019 Richard Shaw <hobbes1069@gmail.com> - 2.1.1-1
|
|
|
|
- Upate to 2.2.1.
|
|
|
|
|
2019-07-27 03:45:23 +00:00
|
|
|
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-07-15 16:22:59 +00:00
|
|
|
* Mon Jul 15 2019 Richard Shaw <hobbes1069@gmail.com> - 2.1.0-1
|
|
|
|
- Update to 2.1.0.
|
|
|
|
|
2019-02-25 16:21:29 +00:00
|
|
|
* Mon Feb 25 2019 Richard Shaw <hobbes1069@gmail.com> - 2.0.1-1
|
|
|
|
- Update to 2.0.1.
|
|
|
|
|
2019-02-03 11:58:28 +00:00
|
|
|
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-8.1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-12-10 15:14:01 +00:00
|
|
|
* Mon Dec 10 2018 Richard Shaw <hobbes1069@gmail.com> - 2.0.0-8
|
|
|
|
- Update to 2.0.0 GA.
|
|
|
|
|
2018-09-28 15:12:30 +00:00
|
|
|
* Fri Sep 28 2018 Richard Shaw <hobbes1069@gmail.com> - 1.9.1-2
|
|
|
|
- Rebuild for hamlib 3.3.
|
|
|
|
|
2018-07-14 09:01:07 +00:00
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.1-1.1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-05-31 14:06:29 +00:00
|
|
|
* Thu May 31 2018 Richard Shaw <hobbes1069@gmail.com> - 1.9.1-1
|
|
|
|
- Update to 1.9.1.
|
2018-05-31 16:23:01 +00:00
|
|
|
- Update compile patch to deal with qt5_use_modules no longer being available in
|
|
|
|
rawhide/f29.
|
2018-05-31 14:06:29 +00:00
|
|
|
|
2018-05-29 15:37:12 +00:00
|
|
|
* Tue May 29 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 1.9.0-1
|
|
|
|
- New version
|
|
|
|
- Dropped gcc-8.0.1-compile-fix patch (not needed)
|
|
|
|
|
2018-05-02 09:18:09 +00:00
|
|
|
* Wed May 2 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 1.9.0-0.3.rc4
|
|
|
|
- New version
|
|
|
|
- De-fuzzified patches
|
|
|
|
|
2018-03-21 10:18:56 +00:00
|
|
|
* Wed Mar 21 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 1.9.0-0.2.rc3
|
|
|
|
- New version
|
|
|
|
- Updated gcc-8.0.1-compile-fix patch
|
|
|
|
|
2018-03-16 16:27:31 +00:00
|
|
|
* Fri Mar 16 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 1.9.0-0.1.rc2
|
|
|
|
- New version
|
|
|
|
- Fixed compilation with gcc-8.0.1
|
|
|
|
Resolves: rhbz#1556544
|
|
|
|
- De-fuzzified compile-fix patch
|
|
|
|
|
2018-02-09 21:11:49 +00:00
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-3.1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2018-01-31 09:37:50 +00:00
|
|
|
* Wed Jan 31 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 1.8.0-3
|
|
|
|
- Rebuilt for new fortran
|
|
|
|
|
2018-01-19 10:07:48 +00:00
|
|
|
* Fri Jan 19 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 1.8.0-2
|
|
|
|
- Do not force non-executable stack
|
|
|
|
Resolves: rhbz#1535987
|
|
|
|
Resolves: rhbz#1523446
|
|
|
|
|
2018-01-15 10:35:00 +00:00
|
|
|
* Mon Jan 15 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 1.8.0-1
|
|
|
|
- New version
|
|
|
|
Resolves: rhbz#1534099
|
|
|
|
- De-fuzzified compile-fix patch
|
|
|
|
|
2017-09-18 12:38:27 +00:00
|
|
|
* Fri Sep 8 2017 Jaroslav Škarvada <jskarvad@redhat.com> - 1.8.0-0.3.rc2
|
|
|
|
- Dropped rigctl*-wsjtx (hamlib copy)
|
|
|
|
|
|
|
|
* Sun Sep 3 2017 Jaroslav Škarvada <jskarvad@redhat.com> - 1.8.0-0.2.rc2
|
|
|
|
- New version
|
|
|
|
|
|
|
|
* Fri Sep 1 2017 Jaroslav Škarvada <jskarvad@redhat.com> - 1.8.0-0.1.rc1
|
|
|
|
- Initial version
|