File opal.spec of Package opal
#
# spec file for package opal (Version 3.4.2)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: opal
BuildRequires: gcc-c++ libpt2-devel libstdc++-devel speex-devel
Summary: Open Phone Abstraction Library
Url: http://openh323.sourceforge.net/
License: MOZILLA PUBLIC LICENSE (MPL/NPL)
Group: System/Libraries
Version: 3.4.2
Release: 2
Source0: %{name}-%{version}.tar.bz2
Patch0: %{name}-%{version}.diff
#Patch1: opal-C-fix.diff
#Patch2: opal-make.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
AutoReqProv: on
%description
Open Phone Abstraction Library, implementation of the ITU H.323
teleconferencing protocol, and successor of the openh323 library. It
supports the H.323 protocol as well as SIP and IAX2.
%package devel
License: MOZILLA PUBLIC LICENSE (MPL/NPL)
Summary: Development package for opal
Group: Development/Libraries/C and C++
Requires: opal = %{version} libpt2-devel
%description devel
Static libraries and header files for development with opal.
%prep
%setup -q
%patch -p1
#%patch1 -p1
#%patch2 -p1
# this subdir contains GPL - to avoid license issues delete it before build
rm -rf plugins/LID/VPB
%build
cp include/opal/buildopts.h.in include/opal/buildopts.h.in.save
autoreconf --force --install
cd plugins
autoreconf --force --install
cd ..
mv include/opal/buildopts.h.in.save include/opal/buildopts.h.in
%{?suse_update_config:%{suse_update_config -f}}
# PWlib versioncheck does not work properly
# Can support Voicetronix vpb
OPTCCFLAGS="$RPM_OPT_FLAGS"
./configure \
--prefix=/usr\
--libdir=%{_libdir}\
--mandir=%{_mandir}
make %{?jobs:-j%jobs}
%install
make install DESTDIR=$RPM_BUILD_ROOT
%post -n opal -p /sbin/ldconfig
%postun -n opal -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc mpl-1.0.htm Change*
%{_libdir}/*.so.*
%dir %{_libdir}/%{name}-%{version}
%dir %{_libdir}/%{name}-%{version}/codecs
%{_libdir}/%{name}-%{version}/codecs/audio
%{_libdir}/%{name}-%{version}/codecs/video
#%{_libdir}/%{name}-%{version}/lid
%files devel
%defattr(-,root,root)
%{_includedir}/opal
%{_libdir}/*.so
%attr(644,root,root) %{_libdir}/*.a
%{_libdir}/pkgconfig/opal.pc
%changelog
* Thu Nov 06 2008 kkeil@suse.de
- do not create include/opal/buildopts.h.in from scratch
This caused configuration errors in ekiga (bnc#440869)
* Sun Oct 26 2008 kkeil@suse.de
- update to bugfix release 3.4.2
* Fix system speex detection
* Simplify setting of LIBS and CFLAGS
* Fix H.261 on solaris
* Fixed line endings
* Fixed inclusion of RFC2833 (DTMF) capability in H.323 calls
* Fixed bug in "C" API when message callback function is used
* Fixed SIP INVITE loop detection, forked INVITE request arriving
over multiple paths
* Removed last vestiges of numerical media types
* Fixed release of the call when audio channel ends
* Fix static x264 compilation
* Fixed several SIP compliance issues
* Fixed incorrect LID caller line ID field being used for display
name
* Adapt to libavcodec's new interface 52
* Also trigger the presence callback when the NOTIFY body is empty
* Update wxWidgets version in OpenPhone ReadMe.txt instructions
* Fixed interoperability issues with Cisco call manager, working
around an annoying bug with the Cisco
* Fixed OpenPhone about box
* Fix H.264 flags to request I-frames thanks to Mauro Davi
* Improved LID logging so indicates reason why line was not
selected
* Added some H.261 and H.263 annexes to H.263
* Added OpenPhone menu and dialog to do transmit video control, in
particular, changing the target bit rate
* Fixed issue with propagating changes to media options to
transcoders and streams in a patch
* Added video frame rate to OpenPhone statistics
* Fixed incorrect line type (pots/pstn) selection
* Changed ring detect so increments count on "rising edge" of ring
cadence
* Fixed numerous retries using the same authentication credentials
* Fixed listening interfaces port when mapped by STUN being
included as first interface in the listener list
* Fixed problem in forked INVITE
* Change error for a SIP BYE on a call already destroyed
* Added user defined tone in LIDs
* Deal with endpoints that use spaces and ; as seperators
* Fixed being able to specify socket re-use address mode
* Fix second case where simpleopal tries to use SDL for both output
and preview video
* Fixed race condition where if reply from SIP server is so fast
that it gets in before the second PDU of a forked query
* Fixed printing of new LID tone
* Fixed missing party B address when originating PSTN call
* Mon Oct 13 2008 kkeil@suse.de
- update to version 3.4.1 needed by ekiga 3.0 (bnc#428117)
* for detailed changes see Change* in the package
* Fri Oct 05 2007 kkeil@suse.de
- readd opal-C-fix.diff it was only partly upstream
* Wed Sep 19 2007 mauro@suse.de
- Update to 2.2.11 to make ekiga (for gnome 2.20) happy.
* Mon Jul 09 2007 kkeil@suse.de
- change library name to make rpmlint happy (#290347)
* Sat May 05 2007 kkeil@suse.de
- removed additional "-fstack-protector" from OPTCCFLAGS it is
already in RPM_OPT_FLAGS
* Tue Apr 24 2007 maw@suse.de
- Update to version 2.2.8
- bugfix release
* Wed Feb 14 2007 kkeil@suse.de
- downgrade to stable 2.2.5 version
* Mon Oct 23 2006 kkeil@suse.de
- clean up undefined C code (#213075)
* Wed Oct 11 2006 sbrabec@suse.cz
- Fixed invalid SIP header response quotation. Fixes problems with
registration on certain servers.
* Fri Sep 29 2006 kkeil@suse.de
- fix double response frames (patch from sbrabec@suse.cz)
- updates from current stable to handle reinvites better
* Wed Sep 06 2006 kkeil@suse.de
- delete optional GPL file before build to avoid license issues
(#202829)
* Thu Aug 10 2006 sbrabec@suse.cz
- Reduced BuildRequires.
* Thu Aug 10 2006 kkeil@suse.de
- first version (2.3.1) for autobuild