]> git.pld-linux.org Git - packages/freedv.git/blob - freedv.spec
- updated to 1.9.8
[packages/freedv.git] / freedv.spec
1 #
2 # Conditional build:
3 %bcond_with     portaudio       # PortAudio instead of PulseAudio (deprecated)
4
5 Summary:        FreeDV Digital Voice
6 Summary(pl.UTF-8):      FreeDV Digital Voice - cyfrowy głos
7 Name:           freedv
8 Version:        1.9.8
9 Release:        1
10 License:        GPL v2+
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)
37
38 %description
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.
41
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
45 decoded by FreeDV.
46
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
51 source.
52
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.
57
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.
62
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.
68
69 %prep
70 %setup -q -n freedv-gui-%{version}
71
72 %build
73 %cmake -B build \
74         %{?with_portaudio:-DUSE_PULSEAUDIO=OFF} \
75         -DWXCONFIG=%{_bindir}/wx-gtk3-unicode-config
76
77 %{__make} -C build
78
79 %install
80 rm -rf $RPM_BUILD_ROOT
81
82 %{__make} -C build install \
83         DESTDIR=$RPM_BUILD_ROOT
84
85 %clean
86 rm -rf $RPM_BUILD_ROOT
87
88 %post
89 %update_icon_cache hicolor
90
91 %postun
92 %update_icon_cache hicolor
93
94 %files
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
This page took 0.137995 seconds and 4 git commands to generate.