Name: flmsg
Version: 4.0.5
Release: 1%{?dist}
Summary: Fast Light Message Amateur Radio Forms Manager
# Embedded mongoose is GPLv2
License: GPLv3+ and GPLv2
URL: http://www.w1hkj.com/
Source0: http://downloads.sourceforge.net/fldigi/%{name}-%{version}.tar.gz
Source100: flmsg.appdata.xml
BuildRequires: gcc-c++
BuildRequires: fltk-devel >= 1.3.0
BuildRequires: flxmlrpc-devel >= 0.1.0
# Will not build against system mongoose
#BuildRequires: mongoose-devel
BuildRequires: desktop-file-utils
BuildRequires: libappstream-glib
# While mongoose does make official releases, it is also designed as a copylib
# The copy in flmsg is heavily modified and will not work with any upstream
# version.
# https://github.com/cesanta/mongoose
Provides: bundled(mongoose)
%description
flmsg is a editor / file management tool for ics213 forms which form the
basis for emergency communications data transfers.
%prep
%autosetup
# Remove bundled xmlrpc library.
rm -rf src/xmlrpcpp
%build
%configure
%make_build
%install
%make_install
mkdir -p %{buildroot}%{_datadir}/metainfo
install -p %{SOURCE100} %{buildroot}%{_datadir}/metainfo/
%check
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
appstream-util validate-relax --nonet \
%{buildroot}%{_datadir}/metainfo/*.appdata.xml
%files
%license COPYING
%doc README
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/metainfo/*.xml
%{_datadir}/pixmaps/%{name}.xpm
%changelog
* Wed Jan 17 2018 Richard Shaw <hobbes1069@gmail.com> - 4.0.5-1
- Update to latest upstream release.
* Wed Jan 10 2018 Richard Shaw <hobbes1069@gmail.com> - 4.0.4-1
- Update to latest upstream release.
- Add appdata file.
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Mon Jul 24 2017 Richard Shaw <hobbes1069@gmail.com> - 4.0.3-1
- Update to latest upstream release.
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Tue Nov 15 2016 Richard Shaw <hobbes1069@gmail.com> - 4.0.0-1
- Update to latest upstream release.
* Mon Aug 8 2016 Richard Shaw <hobbes1069@gmail.com> - 3.00.02-1
- Update to latest upstream release.
* Mon Jun 27 2016 Richard Shaw <hobbes1069@gmail.com> - 3.00.01-1
- Update to latest upstream release.
* Wed Jun 8 2016 Richard Shaw <hobbes1069@gmail.com> - 3.00.00-1
- Update to latest upstream release.
- Update license tag to include GPLv2 (embedded mongoose server).
* Fri Apr 1 2016 Richard Shaw <hobbes1069@gmail.com> - 2.0.17-1
- Update to latest upstream release.
* Mon Jan 4 2016 Richard Shaw <hobbes1069@gmail.com> - 2.0.14-1
- Update to latest upstream release.
* Mon Dec 28 2015 Richard Shaw <hobbes1069@gmail.com> - 2.0.13-1
- Update to latest upstream release.
* Fri Oct 9 2015 Richard Shaw <hobbes1069@gmail.com> - 2.0.12-2
- Add virtual provides and comments for the bundled mongoose library.
* Sun Jul 26 2015 Richard Shaw <hobbes1069@gmail.com> - 2.0.12-1
- Update to latest upstream release.
* Tue May 5 2015 Richard Shaw <hobbes1069@gmail.com> - 2.0.10-1
- Update to latest upstream release.
- Build with external xmlrpc library.
- Use %%license macro where appropriate.
* Wed Mar 11 2015 Richard Shaw <hobbes1069@gmail.com> - 2.0.9-1
- Update to latest upstream release.
* Tue Jan 13 2015 Richard Shaw <hobbes1069@gmail.com> - 2.0.7-1
- Update to latest upstream release.
* Thu Oct 16 2014 Richard Shaw <hobbes1069@gmail.com> - 2.0.5-1
- Update to latest upstream release.
* Wed Mar 5 2014 Richard Shaw <hobbes1069@gmail.com> - 2.0.3-1
- Initial packaging.