diff --git a/.cvsignore b/.cvsignore index e69de29..4ae37c9 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +linphone-0.12.2.tar.gz diff --git a/linphone-0.12.2-docs.patch b/linphone-0.12.2-docs.patch new file mode 100644 index 0000000..545d76b --- /dev/null +++ b/linphone-0.12.2-docs.patch @@ -0,0 +1,78 @@ +--- linphone-0.12.2/oRTP/configure.orig 2005-01-21 11:24:48.993986731 -0500 ++++ linphone-0.12.2/oRTP/configure 2005-01-21 11:25:08.144473681 -0500 +@@ -20640,7 +20640,7 @@ + + + +- ac_config_files="$ac_config_files Makefile src/Makefile docs/Makefile build/Makefile build/win32/Makefile" ++ ac_config_files="$ac_config_files Makefile src/Makefile build/Makefile build/win32/Makefile" + cat >confcache <<\_ACEOF + # This file is a shell script that caches the results of configure + # tests run on this system so they can be shared between configure +@@ -21206,7 +21206,6 @@ + # Handling of arguments. + "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; + "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; +- "docs/Makefile" ) CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;; + "build/Makefile" ) CONFIG_FILES="$CONFIG_FILES build/Makefile" ;; + "build/win32/Makefile" ) CONFIG_FILES="$CONFIG_FILES build/win32/Makefile" ;; + "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; +--- linphone-0.12.2/oRTP/Makefile.am.orig 2005-01-21 11:28:40.834457361 -0500 ++++ linphone-0.12.2/oRTP/Makefile.am 2005-01-21 11:28:46.102490995 -0500 +@@ -6,7 +6,7 @@ + EXTRA_DIST=oRTP.prj ortp-config.h.in TODO + + +-SUBDIRS=src docs build ++SUBDIRS=src build + + mod-dist: + mkdir oRTP-bin +--- linphone-0.12.2/osipua/configure.orig 2005-01-21 11:33:56.904478419 -0500 ++++ linphone-0.12.2/osipua/configure 2005-01-21 11:34:22.628759708 -0500 +@@ -22300,7 +22300,7 @@ + + + +- ac_config_files="$ac_config_files Makefile src/Makefile docs/Makefile" ++ ac_config_files="$ac_config_files Makefile src/Makefile" + cat >confcache <<\_ACEOF + # This file is a shell script that caches the results of configure + # tests run on this system so they can be shared between configure +@@ -22852,7 +22852,6 @@ + # Handling of arguments. + "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; + "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; +- "docs/Makefile" ) CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;; + "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; + "osipua-config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS osipua-config.h" ;; + *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 +--- linphone-0.12.2/osipua/Makefile.am.orig 2005-01-21 11:34:02.887380950 -0500 ++++ linphone-0.12.2/osipua/Makefile.am 2005-01-21 11:34:29.713460135 -0500 +@@ -1,3 +1,3 @@ + EXTRA_DIST= osipua-config.h.in + +-SUBDIRS=src docs ++SUBDIRS=src +--- linphone-0.12.2/oRTP/Makefile.in.orig 2005-03-15 21:27:48.740665660 -0500 ++++ linphone-0.12.2/oRTP/Makefile.in 2005-03-15 21:27:55.102342712 -0500 +@@ -110,7 +110,7 @@ + #dist... + EXTRA_DIST = oRTP.prj ortp-config.h.in TODO + +-SUBDIRS = src docs build ++SUBDIRS = src build + subdir = . + ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 + mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs +--- linphone-0.12.2/osipua/Makefile.in.orig 2005-03-15 21:43:26.476524155 -0500 ++++ linphone-0.12.2/osipua/Makefile.in 2005-03-15 21:43:31.467515812 -0500 +@@ -102,7 +102,7 @@ + osip_prefix = @osip_prefix@ + EXTRA_DIST = osipua-config.h.in + +-SUBDIRS = src docs ++SUBDIRS = src + subdir = . + ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 + mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs diff --git a/linphone-0.12.2-speex.patch b/linphone-0.12.2-speex.patch new file mode 100644 index 0000000..0061619 --- /dev/null +++ b/linphone-0.12.2-speex.patch @@ -0,0 +1,32 @@ +--- linphone-0.12.2/Makefile.am.speex 2004-03-31 15:40:14.000000000 -0500 ++++ linphone-0.12.2/Makefile.am 2005-01-21 11:46:24.109386492 -0500 +@@ -6,11 +6,11 @@ + + if BUILD_SPEEX + SUBDIRS = support pixmaps ffmpeg po debian ipkg oRTP gsmlib lpc10-1.5 \ +- $(WIN32ACM_DIR) speex mediastreamer \ ++ $(WIN32ACM_DIR) mediastreamer \ + media_api osipua coreapi console gnome share developer-docs + else + SUBDIRS = support pixmaps ffmpeg po debian ipkg oRTP gsmlib lpc10-1.5 \ +- $(WIN32ACM_DIR) speex mediastreamer \ ++ $(WIN32ACM_DIR) mediastreamer \ + media_api osipua coreapi console gnome share developer-docs + endif + +--- linphone-0.12.2/Makefile.in.orig 2005-03-15 21:37:06.508714564 -0500 ++++ linphone-0.12.2/Makefile.in 2005-03-15 21:37:41.282614403 -0500 +@@ -157,11 +157,11 @@ + @BUILD_TRUESPEECH_TRUE@WIN32ACM_DIR = win32acm + + @BUILD_SPEEX_TRUE@SUBDIRS = support pixmaps ffmpeg po debian ipkg oRTP gsmlib lpc10-1.5 \ +-@BUILD_SPEEX_TRUE@ $(WIN32ACM_DIR) speex mediastreamer \ ++@BUILD_SPEEX_TRUE@ $(WIN32ACM_DIR) mediastreamer \ + @BUILD_SPEEX_TRUE@ media_api osipua coreapi console gnome share developer-docs + + @BUILD_SPEEX_FALSE@SUBDIRS = support pixmaps ffmpeg po debian ipkg oRTP gsmlib lpc10-1.5 \ +-@BUILD_SPEEX_FALSE@ $(WIN32ACM_DIR) speex mediastreamer \ ++@BUILD_SPEEX_FALSE@ $(WIN32ACM_DIR) mediastreamer \ + @BUILD_SPEEX_FALSE@ media_api osipua coreapi console gnome share developer-docs + + diff --git a/linphone.spec b/linphone.spec new file mode 100644 index 0000000..38dea6d --- /dev/null +++ b/linphone.spec @@ -0,0 +1,95 @@ +Name: linphone +Version: 0.12.2 +Release: 1 +Summary: Phone anywhere in the whole world by using the Internet + +Group: Applications/Communications +License: GPL +URL: http://www.linphone.org/?lang=us&rubrique=1 +Source0: http://simon.morlat.free.fr/download/0.12.2/source/linphone-0.12.2.tar.gz +Patch: linphone-0.12.2-docs.patch +Patch1: linphone-0.12.2-speex.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: gnome-panel-devel libgnomeui-devel glib2-devel alsa-lib-devel +BuildRequires: libosip-devel speex-devel gettext +Requires: gnome-panel libgnomeui glib2 alsa-lib libosip speex +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig + +%description +Linphone is mostly sip compliant. It works successfully with these implementations: + * eStara softphone (commercial software for windows) + * Pingtel phones (with DNS enabled and VLAN QOS support disabled). + * Hotsip, a free of charge phone for Windows. + * Vocal, an open source SIP stack from Vovida that includes a SIP proxy that works with linphone since version 0.7.1. + * Siproxd is a free sip proxy being developped by Thomas Ries because he 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. + +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 +Requires: %{name} = %{version}-%{release} + +%description devel +Libraries required to develop software with linphone + +%prep +%setup -q +%patch -p 1 -b .docs +%patch1 -p 1 -b .speex +rm -r $RPM_BUILD_DIR/linphone-0.12.2/oRTP/docs +rm -r $RPM_BUILD_DIR/linphone-0.12.2/speex + +%build +%configure +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +/sbin/ldconfig + +%postun +/sbin/ldconfig + +%files +%defattr(-,root,root) +%{_bindir}/* +%{_libdir}/bonobo +%{_libdir}/*.so.* +%{_libexecdir}/* +%{_mandir}/man1/* +%{_datadir}/gnome +%{_datadir}/gnome-2.0 +%{_datadir}/gtk-doc +%{_datadir}/linphonec/linphonec +%{_datadir}/locale/*/* +%{_datadir}/pixmaps +%{_datadir}/sounds + +%files devel +%defattr(-,root,root) +%{_includedir}/*/*.h +%{_libdir}/*.a +%{_libdir}/*.la +%{_libdir}/*.so +%{_libdir}/pkgconfig/* + +%changelog +* Tue Mar 15 2005 Ignacio Vazquez-Abrams 0.12.2-1 +- Bump release to 1 +- Cleaned up the -docs and -speex patches + +* Fri Jan 21 2005 Ignacio Vazquez-Abrams 0:0.12.2-0.iva.1 +- Fixed a silly spec error + +* Fri Jan 21 2005 Ignacio Vazquez-Abrams 0:0.12.2-0.iva.0 +- Initial RPM release. diff --git a/sources b/sources index e69de29..f056067 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +86c01dbbcdb41786229f51ec0994ff67 linphone-0.12.2.tar.gz