linphone/linphone.spec

279 lines
8.2 KiB
RPMSpec
Raw Normal View History

Name: linphone
2008-02-05 14:15:25 +00:00
Version: 2.1.0
Release: 1%{?dist}
Summary: Phone anywhere in the whole world by using the Internet
Group: Applications/Communications
2007-08-29 05:23:07 +00:00
License: GPLv2+
URL: http://www.linphone.org/
2008-02-05 14:15:25 +00:00
Source0: http://download.savannah.nongnu.org/releases/linphone/2.1.x/sources/%{name}-%{version}.tar.gz
Patch0: linphone-2.1.0-imagedir.patch
Patch1: linphone-2.1.0-novideo.patch
Patch2: linphone-2.1.0-ni_maxhost_hack.patch
Patch3: linphone-2.1.0-no_werror.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
2008-02-05 14:15:25 +00:00
BuildRequires: libosip2-devel >= 3.0.3-2
BuildRequires: libeXosip2-devel >= 3.0.3-2
BuildRequires: ortp-devel >= 0.14.1
BuildRequires: readline-devel
BuildRequires: ncurses-devel
2007-04-23 16:36:34 +00:00
BuildRequires: gtk2-devel
BuildRequires: alsa-lib-devel
BuildRequires: speex-devel >= 1.2
2007-05-15 20:43:30 +00:00
BuildRequires: gsm-devel
BuildRequires: desktop-file-utils
2006-08-30 15:49:22 +00:00
BuildRequires: perl(XML::Parser)
2007-04-23 16:36:34 +00:00
BuildRequires: docbook-utils
BuildRequires: automake
BuildRequires: autoconf
BuildRequires: libtool
BuildRequires: intltool
BuildRequires: gettext
2008-02-05 14:15:25 +00:00
#BuildRequires: popt-devel
2007-08-29 05:33:06 +00:00
%description
2005-03-17 22:53:01 +00:00
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.
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.
* 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.
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
%description devel
2005-03-24 19:32:18 +00:00
Libraries and headers required to develop software with linphone.
%prep
2006-11-22 04:50:55 +00:00
%setup0 -q
2008-02-05 14:15:25 +00:00
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
2008-02-05 14:15:25 +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
2007-03-16 16:03:54 +00:00
2006-11-22 04:50:55 +00:00
%build
2007-04-23 16:36:34 +00:00
libtoolize --copy --force
aclocal -I m4
autoheader
automake --force-missing --add-missing --copy
autoconf
rm -rf config.cache
pushd mediastreamer2
libtoolize --copy --force
2008-02-05 14:15:25 +00:00
aclocal -I ../m4
autoheader
automake --force-missing --add-missing --copy
autoconf
popd
2008-02-05 14:15:25 +00:00
%configure --disable-static \
--disable-rpath \
--enable-console_ui=yes \
--enable-gtk_ui=yes \
--enable-ipv6 \
--enable-truespeech \
--disable-video \
--enable-alsa \
--enable-strict \
--enable-external-ortp
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
install -p -m 0644 pixmaps/linphone2.png $RPM_BUILD_ROOT%{_datadir}/pixmaps
2005-03-19 15:57:41 +00:00
%find_lang %{name}
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 \
--remove-category Application \
2005-03-24 19:32:18 +00:00
--add-category Telephony \
--add-category GTK \
$RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
rm -f %{buildroot}%{_libdir}/*.la
%clean
rm -rf $RPM_BUILD_ROOT
2005-03-19 15:57:41 +00:00
%post -p /sbin/ldconfig
2005-03-19 15:57:41 +00:00
%postun -p /sbin/ldconfig
2005-03-19 15:57:41 +00:00
%files -f %{name}.lang
%defattr(-,root,root)
2005-03-24 19:32:18 +00:00
%doc AUTHORS ChangeLog COPYING NEWS README TODO
%{_bindir}/*
2005-03-24 19:32:18 +00:00
%{_libdir}/liblinphone.so.*
%{_libdir}/libmediastreamer.so.*
%{_libexecdir}/*
%{_mandir}/man1/*
%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
%{_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
%files devel
%defattr(-,root,root)
2005-03-24 19:32:18 +00:00
%{_includedir}/linphone
%{_includedir}/mediastreamer2
2005-03-24 19:32:18 +00:00
%{_libdir}/liblinphone.so
%{_libdir}/libmediastreamer.so
%{_libdir}/pkgconfig/*
%changelog
2008-02-05 14:15:25 +00:00
* Fri Feb 1 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.1.0-1
- Update to 2.1.0
2007-08-29 05:33:06 +00:00
* Wed Aug 29 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.7.1-4
- Update license tag.
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
* 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
* 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
* 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!
* 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
* Wed Feb 8 2006 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.2.0-1
- Added version for speex-devel BR (#179879)
* 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
* 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
* 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.