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