]> git.pld-linux.org Git - packages/freedv.git/blob - freedv.spec
7edadeea366b8471b9982f29d3061c3303426b17
[packages/freedv.git] / freedv.spec
1 Summary:        FreeDV Digital Voice
2 Summary(pl.UTF-8):      FreeDV Digital Voice - cyfrowy głos
3 Name:           freedv
4 Version:        1.4
5 Release:        1
6 License:        GPL v2+
7 Group:          X11/Applications/Sound
8 Source0:        https://github.com/drowe67/freedv-gui/archive/v%{version}/%{name}-%{version}.tar.gz
9 # Source0-md5:  88e16f3e158b8f48d05da7d68c8d8449
10 URL:            http://freedv.org/
11 BuildRequires:  alsa-lib-devel
12 BuildRequires:  cmake >= 2.8
13 BuildRequires:  codec2-devel >= 0.8.1
14 BuildRequires:  hamlib-devel >= 1.2.15.3
15 BuildRequires:  libsamplerate-devel >= 0.1.8
16 BuildRequires:  libsndfile-devel >= 1.0.25
17 BuildRequires:  libstdc++-devel
18 BuildRequires:  lpcnetfreedv-devel
19 BuildRequires:  portaudio-devel >= 19
20 BuildRequires:  speexdsp-devel >= 1.2-0.rc3
21 BuildRequires:  wxGTK3-unicode-devel >= 3.0.0
22 Requires(post,postun):  gtk-update-icon-cache
23 Requires:       codec2 >= 0.8.1
24 Requires:       hicolor-icon-theme
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 FreeDV is a GUI application for Windows and Linux that allows any SSB
29 radio to be used for low bit rate digital voice.
30
31 Speech is compressed down to 1400 bit/s then modulated onto a 1100 Hz
32 wide QPSK signal which is sent to the Mic input of a SSB radio. On
33 receive, the signal is received by the SSB radio, then demodulated and
34 decoded by FreeDV.
35
36 FreeDV was built by an international team of Radio Amateurs working
37 together on coding, design, user interface and testing. FreeDV is open
38 source software, released under the GNU Public License version 2.
39 The FDMDV modem and Codec 2 Speech codec used in FreeDV are also open
40 source.
41
42 %description -l pl.UTF-8
43 FreeDV to graficzna aplikacja dla Windows i Linuksa pozwalająca na
44 używanie dowolnego radia SSB do przesyłania cyfrowego głosu z niskimi
45 współczynnikami prędkości.
46
47 Mowa jest kompresowana nawet do 1400 bitów/s, a następnie modulowana
48 sygnału QPSK o szerokości 1100 Hz, wysyłanego do wejścia mikrofonowego
49 radia SSB. W drugą stronę, sygnał jest odbierany przez radio SSB,
50 następnie demodulowany i dekodowany przez FreeDV.
51
52 FreeDV zostało stworzone przez międzynarodowy zespół radioamatorów
53 współpracujących przy kodowaniu, projektowaniu, interfejsie
54 użytkownika i testowaniu. Jest to oprogramowanie o otwartych źródłach,
55 wydane na licencji GNU Public License w wersji 2. Modem FDMDV oraz
56 kodek mowy Codec 2, używane we FreeDV, także mają otwarte źródła.
57
58 %prep
59 %setup -q -n freedv-gui-%{version}
60
61 %build
62 install -d build
63 cd build
64 %cmake .. \
65         -DWXCONFIG=%{_bindir}/wx-gtk3-unicode-config \
66         -DUSE_STATIC_CODEC2=OFF
67
68 %{__make}
69
70 %install
71 rm -rf $RPM_BUILD_ROOT
72
73 %{__make} -C build install \
74         DESTDIR=$RPM_BUILD_ROOT
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %post
80 %update_icon_cache hicolor
81
82 %postun
83 %update_icon_cache hicolor
84
85 %files
86 %defattr(644,root,root,755)
87 %doc COPYING README.md USER_MANUAL.md
88 %attr(755,root,root) %{_bindir}/freedv
89 %{_desktopdir}/freedv.desktop
90 %{_iconsdir}/hicolor/*x*/apps/freedv.png
This page took 0.056078 seconds and 2 git commands to generate.