2005-03-16 17:12:25 +00:00
|
|
|
Name: linphone
|
2007-04-23 16:36:34 +00:00
|
|
|
Version: 1.7.1
|
2007-08-29 05:23:07 +00:00
|
|
|
Release: 3%{?dist}
|
2005-03-16 17:12:25 +00:00
|
|
|
Summary: Phone anywhere in the whole world by using the Internet
|
|
|
|
|
|
|
|
Group: Applications/Communications
|
2007-08-29 05:23:07 +00:00
|
|
|
License: GPLv2+
|
2006-10-26 13:30:25 +00:00
|
|
|
URL: http://www.linphone.org/
|
2007-04-23 16:36:34 +00:00
|
|
|
Source0: http://download.savannah.nongnu.org/releases/linphone/1.7.x/sources/%{name}-%{version}.tar.gz
|
|
|
|
Patch0: linphone-1.7.1-ortpm4.patch
|
|
|
|
Patch1: linphone-1.7.1-imagedir.patch
|
|
|
|
Patch2: linphone-1.7.1-gtkosip.patch
|
2007-05-15 20:43:30 +00:00
|
|
|
Patch3: linphone-1.7.1-extgsm.patch
|
2005-03-16 17:12:25 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
2007-01-30 01:49:53 +00:00
|
|
|
BuildRequires: compat-libosip2-devel
|
2007-04-23 16:36:34 +00:00
|
|
|
BuildRequires: ortp-devel >= 0.13.1
|
2006-10-26 13:30:25 +00:00
|
|
|
|
|
|
|
BuildRequires: readline-devel
|
|
|
|
BuildRequires: ncurses-devel
|
|
|
|
|
2007-04-23 16:36:34 +00:00
|
|
|
BuildRequires: gtk2-devel
|
2006-10-26 13:30:25 +00:00
|
|
|
BuildRequires: alsa-lib-devel
|
|
|
|
|
|
|
|
BuildRequires: speex-devel >= 1.2
|
2007-05-15 20:43:30 +00:00
|
|
|
BuildRequires: gsm-devel
|
2006-10-26 13:30:25 +00:00
|
|
|
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
|
2006-08-30 15:49:22 +00:00
|
|
|
BuildRequires: perl(XML::Parser)
|
2005-03-16 17:12:25 +00:00
|
|
|
|
2007-04-23 16:36:34 +00:00
|
|
|
BuildRequires: docbook-utils
|
|
|
|
|
2006-10-26 13:30:25 +00:00
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: gettext
|
|
|
|
|
2005-03-16 17:12:25 +00:00
|
|
|
%description
|
2005-03-17 22:53:01 +00:00
|
|
|
Linphone is mostly sip compliant. It works successfully with these
|
|
|
|
implementations:
|
2005-03-16 17:12:25 +00:00
|
|
|
* eStara softphone (commercial software for windows)
|
|
|
|
* Pingtel phones (with DNS enabled and VLAN QOS support disabled).
|
|
|
|
* Hotsip, a free of charge phone for Windows.
|
2005-03-17 22:53:01 +00:00
|
|
|
* Vocal, an open source SIP stack from Vovida that includes a SIP proxy
|
|
|
|
that works with linphone since version 0.7.1.
|
2006-10-26 13:30:25 +00:00
|
|
|
* Siproxd is a free sip proxy being developed by Thomas Ries because he
|
2005-03-17 22:53:01 +00:00
|
|
|
would like to have linphone working behind his firewall. Siproxd is
|
|
|
|
simple to setup and works perfectly with linphone.
|
|
|
|
* Partysip aims at being a generic and fully functionnal SIP proxy. Visit
|
|
|
|
the web page for more details on its functionalities.
|
2005-03-16 17:12:25 +00:00
|
|
|
|
|
|
|
Linphone may work also with other sip phones, but this has not been tested yet.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development libraries for linphone
|
|
|
|
Group: Development/Libraries
|
2005-03-24 02:17:47 +00:00
|
|
|
Requires: %{name} = %{version}-%{release} glib2-devel
|
2005-03-16 17:12:25 +00:00
|
|
|
|
|
|
|
%description devel
|
2005-03-24 19:32:18 +00:00
|
|
|
Libraries and headers required to develop software with linphone.
|
|
|
|
|
2005-03-16 17:12:25 +00:00
|
|
|
%prep
|
2006-11-22 04:50:55 +00:00
|
|
|
%setup0 -q
|
2007-04-23 16:36:34 +00:00
|
|
|
%patch0 -p1 -b .ortpm4
|
|
|
|
%patch1 -p1 -b .imagedir
|
|
|
|
%patch2 -p1 -b .gtkosip
|
2007-05-15 20:43:30 +00:00
|
|
|
%patch3 -p1 -b .extgsm
|
2005-03-16 17:12:25 +00:00
|
|
|
|
2007-03-16 16:03:54 +00:00
|
|
|
pushd share/cs
|
|
|
|
for f in *.1
|
|
|
|
do
|
|
|
|
/usr/bin/iconv --from-code iso-8859-2 --to-code utf-8 --output $f.new $f && sed -i -e 's/Encoding: ISO-8859-2/Encoding: UTF-8/' $f.new && mv $f.new $f
|
|
|
|
done
|
|
|
|
popd
|
|
|
|
|
2006-11-22 04:50:55 +00:00
|
|
|
%build
|
2007-04-23 16:36:34 +00:00
|
|
|
|
2006-10-26 13:30:25 +00:00
|
|
|
libtoolize --copy --force
|
|
|
|
aclocal -I m4
|
2007-03-16 14:01:53 +00:00
|
|
|
autoheader
|
2006-10-26 13:30:25 +00:00
|
|
|
automake --force-missing --add-missing --copy
|
|
|
|
autoconf
|
|
|
|
rm -rf config.cache
|
|
|
|
|
|
|
|
pushd mediastreamer2
|
|
|
|
libtoolize --copy --force
|
2007-05-15 20:43:30 +00:00
|
|
|
aclocal -I m4
|
2007-03-16 14:01:53 +00:00
|
|
|
autoheader
|
2006-10-26 13:30:25 +00:00
|
|
|
automake --force-missing --add-missing --copy
|
|
|
|
autoconf
|
|
|
|
popd
|
|
|
|
|
2007-05-15 20:43:30 +00:00
|
|
|
%configure --disable-static --disable-rpath --disable-video --enable-alsa --enable-strict --enable-external-ortp --with-osip-version=2.2.2 --enable-external-gsm
|
2005-03-16 17:12:25 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
2005-05-27 20:26:30 +00:00
|
|
|
install -p -m 0644 pixmaps/linphone2.png $RPM_BUILD_ROOT%{_datadir}/pixmaps
|
2005-03-19 15:57:41 +00:00
|
|
|
%find_lang %{name}
|
2005-05-27 20:26:30 +00:00
|
|
|
rm $RPM_BUILD_ROOT%{_datadir}/gnome/apps/Internet/linphone.desktop
|
2005-03-24 19:32:18 +00:00
|
|
|
desktop-file-install --vendor=fedora \
|
|
|
|
--delete-original \
|
|
|
|
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
|
2006-10-26 13:30:25 +00:00
|
|
|
--remove-category Application \
|
2005-03-24 19:32:18 +00:00
|
|
|
--add-category Telephony \
|
|
|
|
--add-category GTK \
|
|
|
|
$RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
|
2006-10-26 13:30:25 +00:00
|
|
|
rm -f %{buildroot}%{_libdir}/*.la
|
2005-03-16 17:12:25 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2005-03-19 15:57:41 +00:00
|
|
|
%post -p /sbin/ldconfig
|
2005-03-16 17:12:25 +00:00
|
|
|
|
2005-03-19 15:57:41 +00:00
|
|
|
%postun -p /sbin/ldconfig
|
2005-03-16 17:12:25 +00:00
|
|
|
|
2005-03-19 15:57:41 +00:00
|
|
|
%files -f %{name}.lang
|
2005-03-16 17:12:25 +00:00
|
|
|
%defattr(-,root,root)
|
2005-03-24 19:32:18 +00:00
|
|
|
%doc AUTHORS ChangeLog COPYING NEWS README TODO
|
2005-03-16 17:12:25 +00:00
|
|
|
%{_bindir}/*
|
2005-03-24 19:32:18 +00:00
|
|
|
%{_libdir}/liblinphone.so.*
|
2006-10-26 13:30:25 +00:00
|
|
|
%{_libdir}/libmediastreamer.so.*
|
|
|
|
%{_libdir}/libquickstream.so.*
|
2005-03-16 17:12:25 +00:00
|
|
|
%{_libexecdir}/*
|
|
|
|
%{_mandir}/man1/*
|
2006-11-23 04:12:47 +00:00
|
|
|
%lang(cs) %{_mandir}/cs/man1/*
|
2005-03-24 19:32:18 +00:00
|
|
|
%{_datadir}/applications/*%{name}.desktop
|
2005-03-19 15:57:41 +00:00
|
|
|
%{_datadir}/gnome/help/linphone
|
|
|
|
%{_datadir}/pixmaps/linphone
|
2005-05-27 20:26:30 +00:00
|
|
|
%{_datadir}/pixmaps/linphone2.png
|
2005-03-19 15:57:41 +00:00
|
|
|
%{_datadir}/sounds/linphone
|
2007-04-23 16:36:34 +00:00
|
|
|
%{_datadir}/images/linphone
|
2005-03-16 17:12:25 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2005-03-24 19:32:18 +00:00
|
|
|
%{_includedir}/linphone
|
2006-10-26 13:30:25 +00:00
|
|
|
%{_includedir}/mediastreamer2
|
2005-03-24 19:32:18 +00:00
|
|
|
%{_libdir}/liblinphone.so
|
2006-10-26 13:30:25 +00:00
|
|
|
%{_libdir}/libmediastreamer.so
|
|
|
|
%{_libdir}/libquickstream.so
|
2005-03-16 17:12:25 +00:00
|
|
|
%{_libdir}/pkgconfig/*
|
|
|
|
|
|
|
|
%changelog
|
2007-08-29 05:23:07 +00:00
|
|
|
* Wed Aug 29 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.7.1-3
|
|
|
|
- Update license tag.
|
|
|
|
|
2007-05-15 20:43:30 +00:00
|
|
|
* Mon May 14 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.7.1-2
|
|
|
|
- Add patch for compiling against external GSM library.
|
|
|
|
|
2007-04-23 16:36:34 +00:00
|
|
|
* Tue Apr 17 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.7.1-1
|
|
|
|
- Update to 1.7.1
|
|
|
|
- Drop linphone-1.0.1-desktop.patch, linphone-1.4.1-libs.patch and
|
|
|
|
linphone-1.5.1-osipcompat.patch
|
|
|
|
|
2007-03-16 16:03:54 +00:00
|
|
|
* Fri Mar 16 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.6.0-4
|
|
|
|
- Fix up encodings in Czech manpages
|
|
|
|
|
2007-03-16 14:01:53 +00:00
|
|
|
* Fri Mar 16 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.6.0-3
|
|
|
|
- Move autoheader after aclocal, fixes 232592
|
|
|
|
|
2007-01-30 01:49:53 +00:00
|
|
|
* Mon Jan 29 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.6.0-2
|
|
|
|
- Fix buildrequires
|
|
|
|
|
2007-01-30 01:39:10 +00:00
|
|
|
* Mon Jan 29 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.6.0-1
|
|
|
|
- Update to 1.6.0
|
|
|
|
|
2006-11-23 04:12:47 +00:00
|
|
|
* Wed Nov 22 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.5.1-2
|
|
|
|
- Mark translated man pages with lang macro
|
|
|
|
|
2006-11-22 04:50:55 +00:00
|
|
|
* Tue Nov 21 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.5.1-1
|
|
|
|
- Update to 1.5.1
|
|
|
|
|
2006-10-26 13:46:59 +00:00
|
|
|
* Thu Oct 26 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.5.0-2
|
|
|
|
- Don't forget to add new files and remove old ones!
|
|
|
|
|
2006-10-26 13:30:25 +00:00
|
|
|
* Thu Oct 26 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.5.0-1
|
|
|
|
- Update to 1.5.0
|
|
|
|
- Fix spelling error in description.
|
|
|
|
- Remove invalid categories on desktop file.
|
|
|
|
|
2006-08-30 15:50:47 +00:00
|
|
|
* Wed Aug 30 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.2.0-7
|
|
|
|
- Bump release so that I can "make tag"
|
|
|
|
|
2006-08-30 15:49:22 +00:00
|
|
|
* Wed Aug 30 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.2.0-6
|
|
|
|
- Add BR for perl(XML::Parser) so that intltool will work.
|
|
|
|
|
|
|
|
* Wed Aug 30 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.2.0-5
|
2006-08-30 14:58:13 +00:00
|
|
|
- Bump release and rebuild.
|
|
|
|
|
2006-02-14 05:01:51 +00:00
|
|
|
* Mon Feb 13 2006 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.2.0-2
|
|
|
|
- Rebuild for Fedora Extras 5
|
|
|
|
|
2006-02-08 06:17:38 +00:00
|
|
|
* Wed Feb 8 2006 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.2.0-1
|
|
|
|
- Added version for speex-devel BR (#179879)
|
|
|
|
|
2006-01-25 02:08:00 +00:00
|
|
|
* Tue Jan 24 2006 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.2.0-2
|
|
|
|
- Fixed selecting entry from address book (#177189)
|
|
|
|
|
2006-01-03 12:05:15 +00:00
|
|
|
* Tue Jan 3 2006 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.2.0-1
|
|
|
|
- Upstream update
|
|
|
|
|
2005-12-06 00:36:09 +00:00
|
|
|
* Mon Dec 5 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.1.0-2
|
|
|
|
- Added version on ortp-devel
|
|
|
|
|
2005-12-06 00:17:38 +00:00
|
|
|
* Mon Dec 5 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.1.0-1
|
|
|
|
- Upstream update
|
|
|
|
|
2005-11-30 15:13:33 +00:00
|
|
|
* Wed Nov 30 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.0.1-5
|
|
|
|
- Remove ortp documentation for -devel
|
|
|
|
|
2005-11-30 14:03:17 +00:00
|
|
|
* Wed Nov 30 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.0.1-4
|
|
|
|
- Split out ortp
|
|
|
|
|
2005-05-27 20:26:30 +00:00
|
|
|
* Fri May 27 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.0.1-3
|
|
|
|
- Fix multiple menu entry and missing icon (#158975)
|
|
|
|
- Clean up spec file
|
|
|
|
|
|
|
|
* Fri May 6 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.0.1-2
|
2005-05-06 15:42:48 +00:00
|
|
|
- Add disttag to Release
|
|
|
|
|
2005-04-08 20:38:17 +00:00
|
|
|
* Fri Apr 8 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.0.1-2
|
|
|
|
- Remove -Werror from configure for now
|
|
|
|
- Fix .desktop file to have Terminal=false instead of 0
|
|
|
|
|
2005-03-24 19:32:18 +00:00
|
|
|
* Thu Mar 24 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.0.1-1
|
|
|
|
- Upstream update
|
|
|
|
- Separated ortp
|
|
|
|
- Added %%doc
|
|
|
|
|
2005-03-24 02:17:47 +00:00
|
|
|
* Wed Mar 23 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.12.2-7
|
|
|
|
- pkgconfig and -devel fixes
|
|
|
|
|
2005-03-23 21:35:47 +00:00
|
|
|
* Wed Mar 23 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.12.2-6
|
|
|
|
- Fix build on x86_64
|
|
|
|
|
2005-03-19 17:52:45 +00:00
|
|
|
* Sat Mar 19 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.12.2-5
|
|
|
|
- %%
|
|
|
|
|
2005-03-19 15:57:41 +00:00
|
|
|
* Sat Mar 19 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.12.2-4
|
2005-03-19 17:52:45 +00:00
|
|
|
- Used %%find_lang
|
|
|
|
- Tightened up %%files
|
2005-03-19 15:57:41 +00:00
|
|
|
- Streamlined spec file
|
|
|
|
|
2005-03-17 22:53:01 +00:00
|
|
|
* Thu Mar 17 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.12.2-3
|
2005-03-19 17:52:45 +00:00
|
|
|
- Broke %%description at 80 columns
|
2005-03-17 22:53:01 +00:00
|
|
|
|
2005-03-16 18:54:45 +00:00
|
|
|
* Wed Mar 16 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.12.2-2
|
|
|
|
- Removed explicit Requires
|
|
|
|
|
2005-03-16 17:12:25 +00:00
|
|
|
* Tue Mar 15 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.12.2-1
|
|
|
|
- Bump release to 1
|
|
|
|
- Cleaned up the -docs and -speex patches
|
|
|
|
|
|
|
|
* Fri Jan 21 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0:0.12.2-0.iva.1
|
|
|
|
- Fixed a silly spec error
|
|
|
|
|
|
|
|
* Fri Jan 21 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0:0.12.2-0.iva.0
|
|
|
|
- Initial RPM release.
|