]> git.pld-linux.org Git - packages/twinkle.git/blob - twinkle.spec
35511f7a6999fac25971555939a733098b622905
[packages/twinkle.git] / twinkle.spec
1 # TODO:
2 # - g729 support: https://github.com/LubosD/twinkle/issues/104
3 #
4 Summary:        twinkle - SIP Soft Phone
5 Summary(pl.UTF-8):      twinkle - telefon programowy SIP
6 Name:           twinkle
7 Version:        1.10.2
8 Release:        1
9 License:        GPL v2
10 Group:          Applications/Communications
11 Source0:        https://github.com/LubosD/twinkle/archive/v%{version}.tar.gz
12 # Source0-md5:  ca6884f9834a25e89fc945b48a91c7a2
13 Patch0:         ilbc.patch
14 URL:            http://twinkle.dolezel.info/
15 BuildRequires:  Qt5Quick-devel
16 BuildRequires:  Qt5Widgets-devel
17 BuildRequires:  alsa-lib-devel
18 #BuildRequires: bcg729-devel
19 BuildRequires:  bison
20 BuildRequires:  boost-devel >= 1.35.0
21 BuildRequires:  ccrtp-devel >= 2.0.0
22 BuildRequires:  cmake
23 BuildRequires:  flex
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)
36
37 %description
38 Twinkle is a SIP based soft phone for making telephone calls over IP
39 networks.
40
41 %description -l pl.UTF-8
42 Twinkle to oparty na SIP programowy telefon do wykonywania połączeń
43 telefonicznych po sieciach IP.
44
45 %prep
46 %setup -q
47 %patch0 -p1
48
49 %build
50 install -d build
51 cd build
52 %cmake \
53         -DWITH_ALSA=ON \
54         -DWITH_SPEEX=ON \
55         -DWITH_ILBC=ON \
56         -DWITH_ZRTP=ON \
57         -DWITH_G729=OFF \
58         -DWITH_QT5=ON \
59         -DWITH_DIAMONDCARD=OFF \
60         ..
61
62 %{__make}
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}}
67
68 %{__make} -C build install \
69         DESTDIR=$RPM_BUILD_ROOT
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %files
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
79 %{_datadir}/twinkle
80 %{_pixmapsdir}/twinkle.png
81 %{_desktopdir}/twinkle.desktop
82 %{_iconsdir}/*/*/apps/twinkle.png
83 %{_iconsdir}/*/*/apps/twinkle.svg
84 %{_mandir}/man1/twinkle.1*
This page took 0.078322 seconds and 2 git commands to generate.