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