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: 9d8c4ceca35a27163468f7dd42334459
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: libsndfile-devel
20 BuildRequires: pkgconfig
22 BuildRequires: qt-devel >= 6:3.3.0
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 Twinkle is a SIP based soft phone for making telephone calls over IP
30 Twinkle to oparty na SIP programowy telefon do wykonywania po³±czeñ
31 telefonicznych po sieciach IP.
37 export QTDIR=%{_prefix}
39 %if "%{_lib}" == "lib64"
40 --enable-libsuffix=64 \
42 --%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full} \
43 %{!?with_kde:--without-kde} \
44 --with-qt-libraries=%{_libdir}
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT%{_pixmapsdir}
52 DESTDIR=$RPM_BUILD_ROOT
54 install src/gui/images/twinkle48.png $RPM_BUILD_ROOT%{_pixmapsdir}/twinkle.png
57 rm -rf $RPM_BUILD_ROOT
60 %defattr(644,root,root,755)
61 %doc AUTHORS ChangeLog README THANKS
62 %attr(755,root,root) %{_bindir}/*
64 %{_pixmapsdir}/twinkle.png