]> git.pld-linux.org Git - packages/twinkle.git/blob - twinkle.spec
- up to 1.3
[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.3
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:  0ccac15beb76c7d97ecd52c269357ad4
14 Source1:        %{name}.desktop
15 Patch0:         %{name}-nobind.patch
16 Patch1:         %{name}-build.patch
17 URL:            http://www.twinklephone.com/
18 BuildRequires:  alsa-lib-devel
19 BuildRequires:  autoconf
20 BuildRequires:  automake
21 BuildRequires:  boost-devel >= 1.35.0
22 BuildRequires:  ccrtp-devel >= 1.5.0
23 BuildRequires:  commoncpp2-devel >= 1.5.0
24 %{?with_kde:BuildRequires:      kdelibs-devel}
25 BuildRequires:  libgsm-devel >= 1.0.11
26 BuildRequires:  libilbc-devel
27 BuildRequires:  libsndfile-devel
28 BuildRequires:  libtool
29 BuildRequires:  libxml2-devel
30 BuildRequires:  libzrtpcpp-devel >= 1.3.0
31 BuildRequires:  pkgconfig
32 BuildRequires:  qmake
33 BuildRequires:  qt-devel >= 6:3.3.0
34 BuildRequires:  qt-linguist
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
51 %build
52 %{__libtoolize}
53 %{__aclocal}
54 %{__autoconf}
55 %{__automake}
56 export QTDIR=%{_prefix}
57 %configure \
58 %if "%{_lib}" == "lib64"
59         --enable-libsuffix=64 \
60 %endif
61         --%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full} \
62         %{!?with_kde:--without-kde} \
63         --with-qt-libraries=%{_libdir}
64 %{__make}
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}}
69
70 %{__make} install \
71         DESTDIR=$RPM_BUILD_ROOT
72
73 install src/gui/images/twinkle48.png $RPM_BUILD_ROOT%{_pixmapsdir}/twinkle.png
74 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %files
80 %defattr(644,root,root,755)
81 %doc AUTHORS ChangeLog README THANKS
82 %attr(755,root,root) %{_bindir}/*
83 %{_datadir}/twinkle
84 %{_pixmapsdir}/twinkle.png
85 %{_desktopdir}/twinkle.desktop
This page took 0.049355 seconds and 4 git commands to generate.