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