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