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