fldigi/fldigi.spec

241 lines
7.7 KiB
RPMSpec
Raw Normal View History

2014-05-07 13:19:52 +00:00
#global prerel AM
2014-04-04 19:57:00 +00:00
2009-01-20 01:59:55 +00:00
Name: fldigi
2015-06-11 15:00:21 +00:00
Version: 3.22.10
Release: 2%{?prerel:.%{prerel}}%{?dist}
2009-01-20 01:59:55 +00:00
Summary: Digital modem program for Linux
Group: Applications/Communications
License: GPLv3+
2013-03-13 19:41:27 +00:00
2010-05-24 03:55:19 +00:00
URL: http://www.w1hkj.com/Fldigi.html
2014-04-04 19:57:00 +00:00
Source0: http://www.w1hkj.com/downloads/%{name}/%{name}-%{version}%{?prerel}.tar.gz
2014-10-16 18:31:47 +00:00
Source1: http://www.w1hkj.com/downloads/fldigi/FLDigi_3.22_Users_Manual.pdf
BuildRequires: hamlib-devel
2014-07-02 16:18:25 +00:00
BuildRequires: fltk-devel >= 1.3
%if 0%{?rhel}
BuildRequires: fltk-static libXcursor-devel
%endif
BuildRequires: libjpeg-devel
BuildRequires: libpng-devel
BuildRequires: portaudio-devel >= 19-4
BuildRequires: libsndfile-devel
BuildRequires: desktop-file-utils
2008-12-13 09:14:30 +00:00
BuildRequires: libsamplerate-devel
BuildRequires: pulseaudio-libs-devel
2010-05-24 03:55:19 +00:00
BuildRequires: gettext
BuildRequires: libXinerama-devel
BuildRequires: flxmlrpc-devel >= 0.1.0
2011-06-12 04:45:11 +00:00
Provides: flarq
Provides: %{name}-shell
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
2014-04-04 19:57:00 +00:00
%setup -q -n %{name}-%{version}%{?prerel}
2008-02-16 03:58:28 +00:00
2015-06-11 15:00:21 +00:00
# Remove bundled xmlrpc library
rm -rf src/xmlrpcpp
# Fix header references to xmlrpcpp
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
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
desktop-file-validate %{buildroot}%{_datadir}/applications/flarq.desktop
2010-05-24 03:55:19 +00:00
# Remove fldigi-shell as it will no longer be installed by default in future
# versions.
rm -f %{buildroot}%{_bindir}/fldigi-shell
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}/
%if 0%{?fedora}
# Merge applications into one software center item
mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata
cat > $RPM_BUILD_ROOT%{_datadir}/appdata/flarq.appdata.xml <<EOF
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2014 Richard Hughes <richard@hughsie.com> -->
<component type="desktop">
<metadata_license>CC0-1.0</metadata_license>
<id>flarq.desktop</id>
<metadata>
<value key="X-Merge-With-Parent">fldigi.desktop</value>
</metadata>
</component>
EOF
%endif
2012-01-03 06:08:27 +00:00
2009-01-20 01:59:55 +00:00
%files -f %{name}.lang
2015-06-11 15:00:21 +00:00
%if 0%{?rhel} < 7 || 0%{?fedora} < 21
%doc COPYING
%else
2015-04-02 13:33:41 +00:00
%license COPYING
%endif
2015-04-02 13:33:41 +00:00
%doc AUTHORS ChangeLog README NEWS
2008-02-16 03:58:28 +00:00
%{_bindir}/*
2010-05-24 03:55:19 +00:00
%{_datadir}/pixmaps/%{name}.xpm
%{_datadir}/pixmaps/flarq.xpm
%{_mandir}/man1/%{name}.1.gz
%{_mandir}/man1/flarq.1.gz
2015-04-05 21:28:52 +00:00
%{?fedora:%{_datadir}/appdata/flarq.appdata.xml}
2013-08-27 13:52:30 +00:00
%{_datadir}/applications/%{name}.desktop
%{_datadir}/applications/flarq.desktop
%{_datadir}/%{name}/
2014-12-25 12:43:26 +00:00
%exclude %{_docdir}/%{name}/FLDigi_3.22_Users_Manual.pdf
2013-03-13 19:41:27 +00:00
%files doc
2014-12-25 12:43:26 +00:00
%{_docdir}/%{name}/FLDigi_3.22_Users_Manual.pdf
2013-03-13 19:41:27 +00:00
2012-08-03 05:51:29 +00:00
%changelog
* 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