fldigi/fldigi.spec

295 lines
9.7 KiB
RPMSpec
Raw Normal View History

2015-07-16 15:01:53 +00:00
%global _hardened_build 1
2016-05-31 18:04:22 +00:00
#global prerel 06
2014-04-04 19:57:00 +00:00
2015-12-04 17:12:21 +00:00
Name: fldigi
2016-05-31 18:04:22 +00:00
Version: 3.23.10
2016-04-03 18:46:10 +00:00
%if 0%{?prerel}
Release: 0.%{?prerel}%{?dist}
%else
Release: 1%{?dist}
%endif
2015-12-04 17:12:21 +00:00
Summary: Digital modem program for Linux
License: GPLv3+
2013-03-13 19:41:27 +00:00
2015-12-04 17:12:21 +00:00
URL: http://www.w1hkj.com/Fldigi.html
2016-04-03 18:46:10 +00:00
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}%{?prerel:.%{prerel}}.tar.gz
2015-12-04 17:12:21 +00:00
Source1: http://downloads.sourceforge.net/%{name}/%{name}-help.pdf
2015-09-24 16:30:35 +00:00
Source100: fldigi.appdata.xml
2015-12-04 17:12:21 +00:00
BuildRequires: hamlib-devel
BuildRequires: fltk-devel >= 1.3
2014-07-02 16:18:25 +00:00
%if 0%{?rhel}
BuildRequires: fltk-static libXcursor-devel
%endif
2015-12-04 17:12:21 +00:00
BuildRequires: libjpeg-devel
BuildRequires: libpng-devel
BuildRequires: portaudio-devel >= 19-4
BuildRequires: libsndfile-devel
BuildRequires: desktop-file-utils
BuildRequires: libsamplerate-devel
BuildRequires: pulseaudio-libs-devel
BuildRequires: gettext
BuildRequires: libXinerama-devel
2016-01-22 16:59:59 +00:00
#BuildRequires: flxmlrpc-devel >= 0.1.0
2015-11-24 04:22:54 +00:00
%if 0%{?fedora}
2015-09-30 20:59:48 +00:00
# For appstream-util
BuildRequires: libappstream-glib
2015-11-24 04:22:54 +00:00
%endif
2015-09-30 20:59:48 +00:00
2015-12-04 17:12:21 +00:00
Provides: flarq = %{version}-%{release}
2008-02-16 03:58:28 +00:00
%description
2010-06-23 19:36:15 +00:00
Fldigi is a modem program which supports most of the digital modes used by
ham radio operators today. You can also use the program for calibrating your
sound card to WWV or doing a frequency measurement test. The program also comes
2008-02-16 03:58:28 +00:00
with a CW decoder. fldigi is written with the help of the Fast Light Toolkit X
2010-06-23 19:36:15 +00:00
GUI. Fldigi is a fast moving project many added features with each update.
2008-02-16 03:58:28 +00:00
2010-06-23 19:36:15 +00:00
Flarq (Fast Light Automatic Repeat Request) is a file transfer application
2010-06-11 05:54:15 +00:00
that is based on the ARQ specification developed by Paul Schmidt, K9PS.
It is capable of transmitting and receiving frames of ARQ data via fldigi.
2010-05-24 03:55:19 +00:00
2013-03-13 19:41:27 +00:00
%package doc
Summary: PDF User Manual for %{name}
Requires: %{name} = %{version}-%{release}
BuildArch: noarch
%description doc
PDF User Manual for %{name}.
2008-02-16 03:58:28 +00:00
%prep
2016-04-03 18:46:10 +00:00
%setup -q -n %{name}-%{version}%{?prerel:.%{prerel}}
2008-02-16 03:58:28 +00:00
2015-06-11 15:00:21 +00:00
# Remove bundled xmlrpc library
2016-01-22 16:59:59 +00:00
#rm -rf src/xmlrpcpp
2015-06-11 15:00:21 +00:00
# Fix header references to xmlrpcpp
2016-01-22 16:59:59 +00:00
#find ./ -type f -exec sed -i "s/xmlrpcpp\//flxmlrpc\//g" {} \;
2010-07-22 05:42:04 +00:00
2012-01-03 06:08:27 +00:00
2008-02-16 03:58:28 +00:00
%build
2014-07-02 16:18:25 +00:00
%configure %{?rhel:--enable-static}
2015-02-11 18:07:21 +00:00
make %{?_smp_mflags} CFLAGS="%{optflags}" LIBS="-lm -lX11 -lpthread" V=1
2008-02-16 03:58:28 +00:00
2013-03-13 19:41:27 +00:00
2008-02-16 03:58:28 +00:00
%install
2013-09-03 19:35:54 +00:00
%make_install
2016-01-22 16:59:59 +00:00
# Add keywords to desktop file for gnome-shell and software center.
echo "Keywords=modem;psk;rtty;cw;fsq;fsk;" >> %{buildroot}%{_datadir}/applications/%{name}.desktop
2013-09-03 19:35:54 +00:00
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
desktop-file-validate %{buildroot}%{_datadir}/applications/flarq.desktop
2010-05-24 03:55:19 +00:00
2015-09-24 16:30:35 +00:00
# Add fldigi-psk.png as it's in PNG format and higher resolution than the XPM.
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/64x64/apps/
install -pm 0644 data/fldigi-psk.png \
%{buildroot}%{_datadir}/icons/hicolor/64x64/apps/%{name}.png
2009-01-20 01:59:55 +00:00
%find_lang %{name}
2008-02-16 03:58:28 +00:00
2014-12-25 12:43:26 +00:00
# Install user manual.
mkdir -p %{buildroot}%{_docdir}/%{name}
install -pm 0644 %{SOURCE1} %{buildroot}%{_docdir}/%{name}/
2015-09-24 16:30:35 +00:00
%if 0%{?fedora}
# Install and validate appdata file
mkdir -p %{buildroot}%{_datadir}/appdata
install %{SOURCE100} -pm 0644 %{buildroot}%{_datadir}/appdata/
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/*.appdata.xml
%endif
%post
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun
if [ $1 -eq 0 ] ; then
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
%posttrans
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
2009-01-20 01:59:55 +00:00
%files -f %{name}.lang
2015-11-24 04:22:54 +00:00
%{!?_licensedir:%global license %doc}
2015-04-02 13:33:41 +00:00
%license COPYING
%doc AUTHORS ChangeLog README NEWS
2008-02-16 03:58:28 +00:00
%{_bindir}/*
2015-09-24 16:30:35 +00:00
%{_datadir}/icons/hicolor/64x64/apps/%{name}.png
%{_datadir}/pixmaps/%{name}.xpm
2010-05-24 03:55:19 +00:00
%{_datadir}/pixmaps/flarq.xpm
%{_mandir}/man1/%{name}.1.gz
%{_mandir}/man1/flarq.1.gz
2015-09-24 16:30:35 +00:00
%{?fedora:%{_datadir}/appdata/fldigi.appdata.xml}
2013-08-27 13:52:30 +00:00
%{_datadir}/applications/%{name}.desktop
%{_datadir}/applications/flarq.desktop
%{_datadir}/%{name}/
2015-12-04 17:12:21 +00:00
%exclude %{_docdir}/%{name}/fldigi-help.pdf
2013-03-13 19:41:27 +00:00
%files doc
2015-12-04 17:12:21 +00:00
%{_docdir}/%{name}/fldigi-help.pdf
2013-03-13 19:41:27 +00:00
2012-08-03 05:51:29 +00:00
%changelog
2016-04-03 18:46:10 +00:00
* Sun Apr 3 2016 Richard Shaw <hobbes1069@gmail.com> - 3.23.09-1
- Update to latest upstream release.
2016-02-25 14:52:32 +00:00
* Wed Feb 24 2016 Richard Shaw <hobbes1069@gmail.com> - 3.23.08-1
- Update to latest upstream release.
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.23.07-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2016-02-02 21:43:53 +00:00
* Tue Feb 02 2016 Jonathan Wakely <jwakely@redhat.com> - 3.23.07-2
- Patched for C++11 compatibility.
2016-01-22 16:59:59 +00:00
* Fri Jan 22 2016 Richard Shaw <hobbes1069@gmail.com> - 3.23.07-1
- Update to latest upstream release.
2015-12-04 17:12:21 +00:00
* Wed Dec 2 2015 Richard Shaw <hobbes1069@gmail.com> - 3.23.06-1
- Update to latest upstream release.
2015-11-24 04:22:54 +00:00
* Thu Nov 19 2015 Richard Shaw <hobbes1069@gmail.com> - 3.23.05-1
- Update to latest upstream release.
2015-10-16 13:08:47 +00:00
* Fri Oct 16 2015 Richard Shaw <hobbes1069@gmail.com> - 3.23.04-1
- Update to latest upstream release.
2015-09-30 20:52:39 +00:00
* Wed Sep 30 2015 Richard Shaw <hobbes1069@gmail.com> - 3.23.03-1
2015-09-24 16:30:35 +00:00
- Update to latest upstream release.
* Fri Sep 18 2015 Richard Hughes <rhughes@redhat.com> - 3.22.13-2
- Remove now-unused AppData file
2015-07-21 19:29:53 +00:00
* Tue Jul 21 2015 Richard Shaw <hobbes1069@gmail.com> - 3.22.13-1
- Update to latest upstream release.
2015-07-18 13:47:25 +00:00
* Sat Jul 18 2015 Richard Shaw <hobbes1069@gmail.com> - 3.22.12-1
- Update to latest upstream release.
2015-07-16 15:01:53 +00:00
* Wed Jul 15 2015 Richard Shaw <hobbes1069@gmail.com> - 3.22.11-1
- Update to latest upstream release.
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.22.10-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2015-06-11 15:00:21 +00:00
* Mon Jun 1 2015 Richard Shaw <hobbes1069@gmail.com> - 3.22.10-1
- Update to latest upstream release.
* Tue May 5 2015 Richard Shaw <hobbes1069@gmail.com> - 3.22.08-1
- Update to latest upstream release.
- Update build requirements to use separate xmlrpc library.
2015-05-02 11:40:32 +00:00
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 3.22.07-2
- Rebuilt for GCC 5 C++11 ABI change
2015-04-02 13:33:41 +00:00
* Thu Apr 2 2015 Richard Shaw <hobbes1069@gmail.com> - 3.22.07-1
- Update to latest upstream release.
* Thu Mar 26 2015 Richard Hughes <rhughes@redhat.com> - 3.22.06-2
- Add an AppData file for the software center
* Sun Mar 22 2015 Richard Shaw <hobbes1069@gmail.com> - 3.22.06-1
2015-03-23 14:42:33 +00:00
- Update to latest upstream release.
2015-02-11 18:07:21 +00:00
* Tue Jan 13 2015 Richard Shaw <hobbes1069@gmail.com> - 3.22.05-1
- Update to latest upstream release.
2014-12-26 13:40:55 +00:00
* Fri Dec 26 2014 Richard Shaw <hobbes1069@gmail.com> - 3.22.04-1
- Update to latest upstream release.
2014-12-25 12:43:26 +00:00
* Thu Dec 25 2014 Richard Shaw <hobbes1069@gmail.com> - 3.22.03-1
- Update to latest upstream release.
* Mon Dec 1 2014 Richard Shaw <hobbes1069@gmail.com> - 3.22.02-1
- Update to latest upstream release.
2014-10-21 13:27:06 +00:00
* Mon Oct 20 2014 Richard Shaw <hobbes1069@gmail.com> - 3.22.01-1
- Update to latest upstream release.
2014-10-16 18:31:47 +00:00
* Thu Oct 16 2014 Richard Shaw <hobbes1069@gmail.com> - 3.22.00-1
- Update to latest upstream release.
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
2014-07-17 13:24:20 +00:00
* Thu Jul 17 2014 Rex Dieter <rdieter@fedoraproject.org> - 3.21.83-2
- rebuild (for pulseaudio, bug #1117683)
2014-07-02 16:18:25 +00:00
* Sun Jun 29 2014 Richard Shaw <hobbes1069@gmail.com> - 3.21.83-1
- Update to latest upstream release.
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.21.82-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2014-05-07 13:19:52 +00:00
* Wed Apr 30 2014 Richard Shaw <hobbes1069@gmail.com> - 3.21.82-1
- Update to latest upstream release.
2014-04-04 19:57:00 +00:00
* Sun Mar 30 2014 Richard Shaw <hobbes1069@gmail.com> - 3.21.81-1
- Update to latest upstream release.
* Tue Mar 11 2014 Richard Shaw <hobbes1069@gmail.com> - 3.21-79-1
- Update to latest upstream release.
* Tue Mar 4 2014 Richard Shaw <hobbes1069@gmail.com> - 3.21.78-1
- Update to latest upstream release.
* Wed Oct 30 2013 Richard Shaw <hobbes1069@gmail.com> - 3.21.77-1
2014-02-13 18:19:16 +00:00
- Update to latest bugfix release.
2013-09-18 18:24:45 +00:00
* Thu Sep 12 2013 Richard Shaw <hobbes1069@gmail.com> - 3.21.76-1
- Update to latest bugfix release.
2013-09-03 19:35:54 +00:00
* Mon Sep 2 2013 Richard Shaw <hobbes1069@gmail.com> - 3.21.75-1
- Update to latest bugfix release.
2013-08-27 13:52:30 +00:00
* Tue Aug 27 2013 Richard Shaw <hobbes1069@gmail.com> - 3.21.74-1
- Update to latest bugfix release.
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.21.68-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
2013-07-17 17:42:17 +00:00
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 3.21.68-2
- Perl 5.18 rebuild
2013-09-18 18:24:45 +00:00
* Sat Mar 16 2013 Richard Shaw <hobbes1069@gmail.com> - 3.21.68-1
2013-03-13 19:41:27 +00:00
- Update to latest bugfix release.
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.21.49-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
2012-08-03 05:51:29 +00:00
* Fri Aug 3 2012 Randall J. Berry, N3LRX <dp67@fedoraproject.org> - 3.21.49-1
- Upstream upddate to 3.21.49
2013-03-13 19:41:27 +00:00
* Mon May 14 2012 Randall J. Berry, N3LRX <dp67@fedoraproject.org> - 3.21.41-1
- Upstream upddate to 3.21.41
- Fix deps for F18/Rawhide
2013-03-13 19:41:27 +00:00
* Sat Jan 28 2012 Randall J. Berry, N3LRX <dp67@fedoraproject.org> - 3.21.37-2
- Upstream upddate to 3.21.37
- Remove patches fixed upstream
- Correct source URL
2013-03-13 19:41:27 +00:00
2012-01-29 03:47:37 +00:00
* Sat Jan 28 2012 Randall J. Berry, N3LRX <dp67@fedoraproject.org> - 3.21.37-1
- Upstream upddate to 3.21.37
2013-03-13 19:41:27 +00:00
2012-01-16 15:26:39 +00:00
* Sun Jan 15 2012 Randall J. Berry, N3LRX <dp67@fedoraproject.org> - 3.21.35-2
- Add patches for testing error correction
- Update rawhide builds
2013-03-13 19:41:27 +00:00
2012-01-16 15:26:39 +00:00
* Sun Jan 15 2012 Randall J. Berry, N3LRX <dp67@fedoraproject.org> - 3.21.35-1
- Upstream upddate to 3.21.35
- Rebuild against gcc 4.7
2013-03-13 19:41:27 +00:00
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.21.34-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2013-03-13 19:41:27 +00:00
2012-01-03 06:08:27 +00:00
* Mon Jan 2 2012 Randall J. Berry, N3LRX <dp67@fedoraproject.org> - 3.21.34-2
- Test Build Against FLTK 1.3