5 # default is to build with video support & without truespeech support
6 %define video %{?_without_video:0}%{!?_without_video:1}
8 # Linphone requires an old osip version, sometimes (e.g. fc6)
9 # delivered as "compat-"
10 %define _without_old_osip 0
14 Release: %(git describe --tags --abbrev=40 | sed -rn 's/^.*-([0-9]+)-g[a-z0-9]{40}$/\1/p' || echo '1')%{?dist}
15 Summary: Phone anywhere in the whole world by using the Internet
17 Group: Applications/Communications
19 URL: http://www.linphone.org
20 Source0: http://download.savannah.gnu.org/releases/linphone/stable/source/%{name}-%{version}.tar.gz
21 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
26 BuildRequires: gtk2-devel
27 BuildRequires: libeXosip2-devel speex-devel gettext
28 BuildRequires: intltool gettext-devel
30 BuildRequires: ffmpeg-devel SDL-devel
34 Linphone is a SIP compliant audio & video phone. It can be used to run calls
35 over the internet. It has a gtk+ and console interface.
38 Summary: Development libraries for linphone
39 Group: Development/Libraries
40 Requires: %{name} = %{version}-%{release}
41 Requires: ortp-devel = @ORTP_VERSION@
42 Requires: mediastreamer-devel = @MS2_VERSION@
46 Libraries and headers required to develop software with linphone.
50 #%patch -p 1 -b .pkgconfig
51 #%patch1 -p 1 -b .Werror
59 --docdir=%{_docdir} --enable-ipv6 --enable-static --enable-external-mediastreamer --enable-external-ortp
60 %__make %{?_smp_mflags}
64 rm -rf $RPM_BUILD_ROOT
65 make install DESTDIR=$RPM_BUILD_ROOT
66 install -p -m 0644 pixmaps/linphone.png $RPM_BUILD_ROOT%{_datadir}/pixmaps
68 desktop-file-install \
70 --dir $RPM_BUILD_ROOT%{_datadir}/applications \
71 --add-category X-Fedora \
72 --add-category Telephony \
74 $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
77 rm -rf $RPM_BUILD_ROOT
79 %post -p /sbin/ldconfig
81 %postun -p /sbin/ldconfig
84 %files -f %{name}.lang
86 %doc AUTHORS ChangeLog COPYING NEWS README TODO
88 %{_libdir}/liblinphone.so.*
90 %{_datadir}/applications/%{name}.desktop
91 %{_datadir}/pixmaps/linphone
93 %{_datadir}/pixmaps/linphone.png
94 %{_datadir}/sounds/linphone
98 %{_includedir}/linphone
99 %{_libdir}/liblinphone.a
100 %{_libdir}/liblinphone.la
101 %{_libdir}/liblinphone.so
102 %{_libdir}/pkgconfig/linphone.pc
106 * Wed Sep 28 2005 Francois-Xavier 'FiX' KOWALSKI <francois-xavier.kowalski@hp.com> - 1.2.0pre3
107 - Updated to latests Simon's work
109 * Fri May 27 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.0.1-3
110 - Fix multiple menu entry and missing icon (#158975)
113 * Fri May 6 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.0.1-2
114 - Fix libosip2-devel BR
116 * Wed May 4 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.0.1-1
118 - Port patches from devel
120 * Wed Mar 23 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.12.2-7
121 - pkgconfig and -devel fixes
123 * Wed Mar 23 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.12.2-6
124 - Fix build on x86_64
126 * Sat Mar 19 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.12.2-5
129 * Sat Mar 19 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.12.2-4
131 - Tightened up %%files
132 - Streamlined spec file
134 * Thu Mar 17 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.12.2-3
135 - Broke %%description at 80 columns
137 * Wed Mar 16 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.12.2-2
138 - Removed explicit Requires
140 * Tue Mar 15 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.12.2-1
142 - Cleaned up the -docs and -speex patches
144 * Fri Jan 21 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0:0.12.2-0.iva.1
145 - Fixed a silly spec error
147 * Fri Jan 21 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0:0.12.2-0.iva.0
148 - Initial RPM release.