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