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