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