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