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