2 # - g729 support: https://github.com/LubosD/twinkle/issues/104
4 Summary: twinkle - SIP Soft Phone
5 Summary(pl.UTF-8): twinkle - telefon programowy SIP
10 Group: Applications/Communications
11 Source0: https://github.com/LubosD/twinkle/archive/v%{version}.tar.gz
12 # Source0-md5: ca6884f9834a25e89fc945b48a91c7a2
14 Patch1: webrtc-libilbc3.patch
15 URL: http://twinkle.dolezel.info/
16 BuildRequires: Qt5Quick-devel
17 BuildRequires: Qt5Widgets-devel
18 BuildRequires: alsa-lib-devel
19 #BuildRequires: bcg729-devel
21 BuildRequires: boost-devel >= 1.35.0
22 BuildRequires: ccrtp-devel >= 2.0.0
25 BuildRequires: libgsm-devel >= 1.0.11
26 BuildRequires: libmagic-devel
27 BuildRequires: libsndfile-devel
28 BuildRequires: libtool
29 BuildRequires: libxml2-devel
30 BuildRequires: libzrtpcpp-devel >= 1.4.3
31 BuildRequires: pkgconfig
32 BuildRequires: readline-devel
33 BuildRequires: speex-devel
34 BuildRequires: ucommon-devel
35 BuildRequires: webrtc-libilbc-devel
36 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39 Twinkle is a SIP based soft phone for making telephone calls over IP
42 %description -l pl.UTF-8
43 Twinkle to oparty na SIP programowy telefon do wykonywania połączeń
44 telefonicznych po sieciach IP.
61 -DWITH_DIAMONDCARD=OFF \
67 rm -rf $RPM_BUILD_ROOT
68 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}}
70 %{__make} -C build install \
71 DESTDIR=$RPM_BUILD_ROOT
74 rm -rf $RPM_BUILD_ROOT
77 %defattr(644,root,root,755)
78 %doc AUTHORS README.md THANKS
79 %attr(755,root,root) %{_bindir}/twinkle
80 %attr(755,root,root) %{_bindir}/twinkle-console
82 %{_pixmapsdir}/twinkle.png
83 %{_desktopdir}/twinkle.desktop
84 %{_iconsdir}/*/*/apps/twinkle.png
85 %{_iconsdir}/*/*/apps/twinkle.svg
86 %{_mandir}/man1/twinkle.1*