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 URL: http://twinkle.dolezel.info/
15 BuildRequires: Qt5Quick-devel
16 BuildRequires: Qt5Widgets-devel
17 BuildRequires: alsa-lib-devel
18 #BuildRequires: bcg729-devel
20 BuildRequires: boost-devel >= 1.35.0
21 BuildRequires: ccrtp-devel >= 2.0.0
24 BuildRequires: libgsm-devel >= 1.0.11
25 BuildRequires: libmagic-devel
26 BuildRequires: libsndfile-devel
27 BuildRequires: libtool
28 BuildRequires: libxml2-devel
29 BuildRequires: libzrtpcpp-devel >= 1.4.3
30 BuildRequires: pkgconfig
31 BuildRequires: readline-devel
32 BuildRequires: speex-devel
33 BuildRequires: ucommon-devel
34 BuildRequires: webrtc-libilbc-devel
35 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38 Twinkle is a SIP based soft phone for making telephone calls over IP
41 %description -l pl.UTF-8
42 Twinkle to oparty na SIP programowy telefon do wykonywania połączeń
43 telefonicznych po sieciach IP.
59 -DWITH_DIAMONDCARD=OFF \
65 rm -rf $RPM_BUILD_ROOT
66 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}}
68 %{__make} -C build install \
69 DESTDIR=$RPM_BUILD_ROOT
72 rm -rf $RPM_BUILD_ROOT
75 %defattr(644,root,root,755)
76 %doc AUTHORS README.md THANKS
77 %attr(755,root,root) %{_bindir}/twinkle
78 %attr(755,root,root) %{_bindir}/twinkle-console
80 %{_pixmapsdir}/twinkle.png
81 %{_desktopdir}/twinkle.desktop
82 %{_iconsdir}/*/*/apps/twinkle.png
83 %{_iconsdir}/*/*/apps/twinkle.svg
84 %{_mandir}/man1/twinkle.1*