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