Sun, 08 May 2011 15:46:25 +0200
Import package vendor original specs for necessary manipulations.
1 Summary: A SIP Soft Phone
2 Name: twinkle
3 Version: 1.4.2
4 Release: 1
5 License: GPL
6 Group: Productivity/Telephony/SIP/Clients
7 Source: %{name}-%{version}.tar.gz
8 Prefix: %{_prefix}
9 #BuildArch: i586
10 BuildArch: x86_64
11 BuildRoot: %{_tmppath}/making_of_%{name}_%{version}
12 Packager: Michael Schloh von Bennewitz
13 URL: http://www.twinklephone.com/
14 Requires: alsa
15 Requires: commoncpp2 >= 1.6.0
16 Requires: libccrtp >= 1.6.0
17 Requires: libzrtpcpp >= 1.3.0
18 Requires: kdelibs3 >= 3.2.0
19 Requires: libsndfile
20 Requires: libspeex
21 Requires: libxml2
22 Requires: file
23 Requires: readline
24 BuildRequires: alsa-devel
25 BuildRequires: qt3-devel
26 BuildRequires: qt3-devel-tools
27 BuildRequires: update-desktop-files
28 BuildRequires: commoncpp2-devel
29 BuildRequires: libccrtp-devel
30 BuildRequires: libzrtpcpp-devel
31 BuildRequires: kdelibs3-devel
32 BuildRequires: libsndfile-devel
33 BuildRequires: speex-devel
34 BuildRequires: boost-devel
35 BuildRequires: libxml2-devel
36 BuildRequires: file-devel
37 BuildRequires: readline-devel
39 %description
40 Twinkle is a SIP based softphone for making telephone calls
41 and instant messaging over IP networks.
43 %prep
45 %setup -q
47 %build
48 #autoreconf -fi
49 QTDIR=/usr/lib/qt3 \
50 %configure --without-ilbc --enable-libsuffix=64
51 %{__make} %{?_smp_mflags} %{?mflags}
53 %install
54 rm -rf %{buildroot}
55 %makeinstall
56 strip %{buildroot}%{_bindir}/%{name}
57 install -d 755 %{buildroot}%{_datadir}/pixmaps
58 install -m 644 src/gui/images/twinkle48.png %{buildroot}%{_datadir}/pixmaps/twinkle.png
59 %suse_update_desktop_file -c twinkle Twinkle "A SIP softphone" twinkle twinkle Network Telephony
61 %clean
62 rm -rf %{buildroot}
64 %files
65 %defattr(-, root, root)
66 %doc AUTHORS COPYING README ChangeLog
67 %{_bindir}/%{name}
68 %{_datadir}/%{name}
69 %{_datadir}/pixmaps/twinkle.png
70 %{_datadir}/applications/twinkle.desktop