]> git.pld-linux.org Git - packages/twinkle.git/blob - twinkle.spec
Revert "- retired package, same comment as fedora"
[packages/twinkle.git] / twinkle.spec
1 #
2 # Conditional build:
3 %bcond_with     kde             # disable KDE support
4 #
5 Summary:        twinkle - SIP Soft Phone
6 Summary(pl.UTF-8):      twinkle - telefon programowy SIP
7 Name:           twinkle
8 Version:        1.4.2
9 Release:        21
10 License:        GPL v2
11 Group:          Applications/Communications
12 Source0:        http://www.xs4all.nl/~mfnboer/twinkle/download/%{name}-%{version}.tar.gz
13 # Source0-md5:  d70c8972f296ffd998c7fb698774705b
14 Source1:        %{name}.desktop
15 Patch0:         %{name}-nobind.patch
16 Patch1:         %{name}-build.patch
17 Patch2:         %{name}-ucommon.patch
18 Patch3:         %{name}-ilbc.patch
19 URL:            http://www.twinklephone.com/
20 BuildRequires:  alsa-lib-devel
21 BuildRequires:  autoconf
22 BuildRequires:  automake
23 BuildRequires:  boost-devel >= 1.35.0
24 BuildRequires:  ccrtp-devel >= 2.0.0
25 BuildRequires:  commoncpp2-devel >= 1.7.1
26 %{?with_kde:BuildRequires:      kdelibs-devel}
27 BuildRequires:  libgsm-devel >= 1.0.11
28 BuildRequires:  webrtc-libilbc-devel
29 BuildRequires:  libmagic-devel
30 BuildRequires:  libsndfile-devel
31 BuildRequires:  libtool
32 BuildRequires:  libxml2-devel
33 BuildRequires:  libzrtpcpp-devel >= 1.4.3
34 BuildRequires:  pkgconfig
35 BuildRequires:  qmake
36 BuildRequires:  qt-devel >= 6:3.3.0
37 BuildRequires:  qt-linguist
38 BuildRequires:  readline-devel
39 BuildRequires:  speex-devel
40 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41
42 %description
43 Twinkle is a SIP based soft phone for making telephone calls over IP
44 networks.
45
46 %description -l pl.UTF-8
47 Twinkle to oparty na SIP programowy telefon do wykonywania połączeń
48 telefonicznych po sieciach IP.
49
50 %prep
51 %setup -q
52 %patch0 -p1
53 %patch1 -p0
54 %patch2 -p1
55 %patch3 -p1
56
57 %build
58 %{__libtoolize}
59 %{__aclocal}
60 %{__autoconf}
61 %{__automake}
62 export QTDIR=%{_prefix}
63 %configure \
64 %if "%{_lib}" == "lib64"
65         --enable-libsuffix=64 \
66 %endif
67         --%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full} \
68         %{!?with_kde:--without-kde} \
69         --with-qt-libraries=%{_libdir}
70 %{__make}
71
72 %install
73 rm -rf $RPM_BUILD_ROOT
74 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}}
75
76 %{__make} install \
77         DESTDIR=$RPM_BUILD_ROOT
78
79 install src/gui/images/twinkle48.png $RPM_BUILD_ROOT%{_pixmapsdir}/twinkle.png
80 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
81
82 %clean
83 rm -rf $RPM_BUILD_ROOT
84
85 %files
86 %defattr(644,root,root,755)
87 %doc AUTHORS ChangeLog README THANKS
88 %attr(755,root,root) %{_bindir}/*
89 %{_datadir}/twinkle
90 %{_pixmapsdir}/twinkle.png
91 %{_desktopdir}/twinkle.desktop
This page took 0.026948 seconds and 3 git commands to generate.