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