3 %bcond_with portaudio # PortAudio instead of PulseAudio (deprecated)
5 Summary: FreeDV Digital Voice
6 Summary(pl.UTF-8): FreeDV Digital Voice - cyfrowy głos
11 Group: X11/Applications/Sound
12 #Source0Download: https://github.com/drowe67/freedv-gui/releases
13 Source0: https://github.com/drowe67/freedv-gui/archive/v%{version}/%{name}-%{version}.tar.gz
14 # Source0-md5: 824ed36ad3762d8b0a70538a4f6fe5d4
15 URL: http://freedv.org/
16 BuildRequires: alsa-lib-devel >= 1.1.8
17 BuildRequires: cmake >= 3.13
18 BuildRequires: codec2-devel >= 1.0.5
19 BuildRequires: hamlib-devel >= 3.3
20 BuildRequires: libsamplerate-devel >= 0.1.9
21 BuildRequires: libsndfile-devel >= 1.0.28
22 BuildRequires: libstdc++-devel >= 6:5
23 BuildRequires: lpcnetfreedv-devel >= 0.3
24 %{?with_portaudio:BuildRequires: portaudio-devel >= 19}
25 %{!?with_portaudio:BuildRequires: pulseaudio-devel}
26 BuildRequires: socket.io-client-cpp-devel >= 3.1.0-2
27 BuildRequires: speexdsp-devel >= 1.2-0.rc3
28 BuildRequires: wxGTK3-unicode-devel >= 3.0.0
29 Requires(post,postun): gtk-update-icon-cache
30 Requires: alsa-lib >= 1.1.8
31 Requires: codec2 >= 1.0.5
32 Requires: hamlib >= 3.3
33 Requires: hicolor-icon-theme
34 Requires: libsamplerate >= 0.1.9
35 Requires: libsndfile >= 1.0.28
36 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39 FreeDV is a GUI application for Windows and Linux that allows any SSB
40 radio to be used for low bit rate digital voice.
42 Speech is compressed down to 1400 bit/s then modulated onto a 1100 Hz
43 wide QPSK signal which is sent to the Mic input of a SSB radio. On
44 receive, the signal is received by the SSB radio, then demodulated and
47 FreeDV was built by an international team of Radio Amateurs working
48 together on coding, design, user interface and testing. FreeDV is open
49 source software, released under the GNU Public License version 2. The
50 FDMDV modem and Codec 2 Speech codec used in FreeDV are also open
53 %description -l pl.UTF-8
54 FreeDV to graficzna aplikacja dla Windows i Linuksa pozwalająca na
55 używanie dowolnego radia SSB do przesyłania cyfrowego głosu z niskimi
56 współczynnikami prędkości.
58 Mowa jest kompresowana nawet do 1400 bitów/s, a następnie modulowana
59 sygnału QPSK o szerokości 1100 Hz, wysyłanego do wejścia mikrofonowego
60 radia SSB. W drugą stronę, sygnał jest odbierany przez radio SSB,
61 następnie demodulowany i dekodowany przez FreeDV.
63 FreeDV zostało stworzone przez międzynarodowy zespół radioamatorów
64 współpracujących przy kodowaniu, projektowaniu, interfejsie
65 użytkownika i testowaniu. Jest to oprogramowanie o otwartych źródłach,
66 wydane na licencji GNU Public License w wersji 2. Modem FDMDV oraz
67 kodek mowy Codec 2, używane we FreeDV, także mają otwarte źródła.
70 %setup -q -n freedv-gui-%{version}
74 %{?with_portaudio:-DUSE_PULSEAUDIO=OFF} \
75 -DWXCONFIG=%{_bindir}/wx-gtk3-unicode-config
80 rm -rf $RPM_BUILD_ROOT
82 %{__make} -C build install \
83 DESTDIR=$RPM_BUILD_ROOT
86 rm -rf $RPM_BUILD_ROOT
89 %update_icon_cache hicolor
92 %update_icon_cache hicolor
95 %defattr(644,root,root,755)
96 %doc CHANGELOG_OLD.md README.md USER_MANUAL.md
97 %attr(755,root,root) %{_bindir}/freedv
98 %{_datadir}/freedv-gui
99 %{_desktopdir}/freedv.desktop
100 %{_iconsdir}/hicolor/*x*/apps/freedv.png