3 %bcond_with kde # enable KDE support
5 Summary: twinkle - SIP Soft Phone
6 Summary(pl): twinkle - telefon programowy SIP
11 Group: Applications/Communications
12 Source0: http://www.xs4all.nl/~mfnboer/twinkle/download/%{name}-%{version}.tar.gz
13 # Source0-md5: cffa1f6a477d1342561ce6be8ea58302
14 URL: http://www.twinklephone.com/
15 BuildRequires: alsa-lib-devel
16 BuildRequires: commoncpp2-devel >= 1.3.0
17 BuildRequires: ccrtp-devel >= 1.3.4
18 %{?with_kde:BuildRequires: kdelibs-devel}
19 BuildRequires: pkgconfig
21 BuildRequires: qt-devel >= 3.3.0
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 Twinkle is a SIP based soft phone for making telephone calls over IP
29 Twinkle to oparty na SIP programowy telefon do wykonywania po³±czeñ
30 telefonicznych po sieciach IP.
36 export QTDIR=%{_prefix}
38 %if "%{_lib}" == "lib64"
39 --enable-libsuffix=64 \
41 --%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full} \
42 %{!?with_kde:--without-kde} \
43 --with-qt-libraries=%{_libdir}
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT%{_pixmapsdir}
51 DESTDIR=$RPM_BUILD_ROOT
53 install src/gui/images/twinkle48.png $RPM_BUILD_ROOT%{_pixmapsdir}/twinkle.png
56 rm -rf $RPM_BUILD_ROOT
59 %defattr(644,root,root,755)
60 %doc AUTHORS ChangeLog README THANKS
61 %attr(755,root,root) %{_bindir}/*
63 %{_pixmapsdir}/twinkle.png