]> git.pld-linux.org Git - packages/twinkle.git/blob - twinkle.spec
- overflow fix, release 3.1.
[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.6.2
9 Release:        3.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:  9a57f8a2cc24db1f8eb6afdf46e122ff
14 Patch0:         %{name}-gcc4.patch
15 URL:            http://www.twinklephone.com/
16 BuildRequires:  alsa-lib-devel
17 BuildRequires:  commoncpp2-devel >= 1.3.0
18 BuildRequires:  ccrtp-devel >= 1.3.4
19 %{?with_kde:BuildRequires:      kdelibs-devel}
20 BuildRequires:  libsndfile-devel
21 BuildRequires:  pkgconfig
22 BuildRequires:  qmake
23 BuildRequires:  qt-devel >= 6:3.3.0
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 Twinkle is a SIP based soft phone for making telephone calls over IP
28 networks.
29
30 %description -l pl
31 Twinkle to oparty na SIP programowy telefon do wykonywania po³±czeñ
32 telefonicznych po sieciach IP.
33
34 %prep
35 %setup -q
36 %patch0 -p1
37
38 %build
39 export QTDIR=%{_prefix}
40 %configure \
41 %if "%{_lib}" == "lib64"
42         --enable-libsuffix=64 \
43 %endif
44         --%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full} \
45         %{!?with_kde:--without-kde} \
46         --with-qt-libraries=%{_libdir}
47 %{__make}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51 install -d $RPM_BUILD_ROOT%{_pixmapsdir}
52
53 %{__make} install \
54         DESTDIR=$RPM_BUILD_ROOT
55
56 install src/gui/images/twinkle48.png $RPM_BUILD_ROOT%{_pixmapsdir}/twinkle.png
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %doc AUTHORS ChangeLog README THANKS
64 %attr(755,root,root) %{_bindir}/*
65 %{_datadir}/twinkle
66 %{_pixmapsdir}/twinkle.png
This page took 0.030798 seconds and 4 git commands to generate.