]> git.pld-linux.org Git - packages/twinkle.git/blame - twinkle.spec
- release 18 (by relup.sh)
[packages/twinkle.git] / twinkle.spec
CommitLineData
c2640489
KK
1#
2# Conditional build:
585cc44e 3%bcond_with kde # disable KDE support
c2640489
KK
4#
5Summary: twinkle - SIP Soft Phone
6d76a556 6Summary(pl.UTF-8): twinkle - telefon programowy SIP
c2640489 7Name: twinkle
bad3cabb 8Version: 1.4.2
84967845 9Release: 18
c2640489
KK
10License: GPL v2
11Group: Applications/Communications
12Source0: http://www.xs4all.nl/~mfnboer/twinkle/download/%{name}-%{version}.tar.gz
bad3cabb 13# Source0-md5: d70c8972f296ffd998c7fb698774705b
90efb207 14Source1: %{name}.desktop
5a22eb00 15Patch0: %{name}-nobind.patch
2413bcde 16Patch1: %{name}-build.patch
7efbe1a1 17Patch2: %{name}-ucommon.patch
3db1ecb0 18Patch3: %{name}-ilbc.patch
c2640489 19URL: http://www.twinklephone.com/
5a22eb00 20BuildRequires: alsa-lib-devel
173f36c7
AM
21BuildRequires: autoconf
22BuildRequires: automake
bebd0d01 23BuildRequires: boost-devel >= 1.35.0
466c7a71 24BuildRequires: ccrtp-devel >= 2.0.0
bad3cabb 25BuildRequires: commoncpp2-devel >= 1.7.1
c2640489 26%{?with_kde:BuildRequires: kdelibs-devel}
92f38a76 27BuildRequires: libgsm-devel >= 1.0.11
3db1ecb0 28BuildRequires: webrtc-libilbc-devel
0039bee3 29BuildRequires: libmagic-devel
308dad23 30BuildRequires: libsndfile-devel
5a22eb00
AM
31BuildRequires: libtool
32BuildRequires: libxml2-devel
bad3cabb 33BuildRequires: libzrtpcpp-devel >= 1.4.3
c2640489
KK
34BuildRequires: pkgconfig
35BuildRequires: qmake
308dad23 36BuildRequires: qt-devel >= 6:3.3.0
bf59c302 37BuildRequires: qt-linguist
8d6f69a7 38BuildRequires: readline-devel
70b24120 39BuildRequires: speex-devel
c2640489
KK
40BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41
42%description
43Twinkle is a SIP based soft phone for making telephone calls over IP
44networks.
45
29d03b0f
JR
46%description -l pl.UTF-8
47Twinkle to oparty na SIP programowy telefon do wykonywania połączeń
e4a9205c
JB
48telefonicznych po sieciach IP.
49
c2640489
KK
50%prep
51%setup -q
83b87de6 52%patch0 -p1
2413bcde 53%patch1 -p0
7efbe1a1 54%patch2 -p1
3db1ecb0 55%patch3 -p1
c2640489
KK
56
57%build
173f36c7
AM
58%{__libtoolize}
59%{__aclocal}
60%{__autoconf}
61%{__automake}
c2640489
KK
62export QTDIR=%{_prefix}
63%configure \
64%if "%{_lib}" == "lib64"
65 --enable-libsuffix=64 \
66%endif
67 --%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full} \
68 %{!?with_kde:--without-kde} \
69 --with-qt-libraries=%{_libdir}
70%{__make}
71
72%install
73rm -rf $RPM_BUILD_ROOT
90efb207 74install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}}
c2640489
KK
75
76%{__make} install \
77 DESTDIR=$RPM_BUILD_ROOT
78
79install src/gui/images/twinkle48.png $RPM_BUILD_ROOT%{_pixmapsdir}/twinkle.png
90efb207 80install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
c2640489
KK
81
82%clean
83rm -rf $RPM_BUILD_ROOT
84
85%files
86%defattr(644,root,root,755)
87%doc AUTHORS ChangeLog README THANKS
88%attr(755,root,root) %{_bindir}/*
89%{_datadir}/twinkle
90%{_pixmapsdir}/twinkle.png
90efb207 91%{_desktopdir}/twinkle.desktop
This page took 0.071069 seconds and 4 git commands to generate.