Search
j0ke.net Open Build Service
>
Projects
>
server:telephony
>
openh323
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 9
[-]
[+]
Added
openh323.spec
@@ -0,0 +1,324 @@ +# +# spec file for package openh323 (Version 1.19.0.1) +# +# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. +# This file and all modifications and additions to the pristine +# package are under the same license as the package itself. +# +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# norootforbuild + +Name: openh323 +%define DISTRIBUTABLE 1 +BuildRequires: SDL-devel gcc-c++ libdv libgsm-devel openldap2 openldap2-devel pwlib-devel speex-devel +%if %DISTRIBUTABLE == 0 +BuildRequires: amrnb-devel +%endif +URL: http://openh323.sourceforge.net/ +License: MOZILLA PUBLIC LICENSE (MPL/NPL) +Group: System/Libraries +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Autoreqprov: on +Requires: pwlib +Summary: An Open Source ITU H.323 Library and Sample Application +Version: 1.19.0.1 +Release: 87 +%define _version 1_19_0_1 +Source: openh323-v%{_version}-src-tar.bz2 +Patch: openh323_v1_19_0_1.diff +Patch1: openh323-system-amrnb.diff +Patch2: openh323-incl.diff +Patch3: openh323-SHAREDLIBEXT.diff +Patch4: openh323-OPTCCFLAGS.patch +Patch5: patches/openh323-nonat_ptrace +Patch6: openh323.linux-compiler.patch + +%description +The OpenH323 project aims to create a full featured, interoperable, and +open source implementation of the ITU H.323 teleconferencing protocol +that can be used by personal developers and commercial users without +charge. + +OpenH323 development is coordinated by an Australian company, +Equivalence Pty Ltd (http://www.equival.com), but is open to any +interested party. Commercial and private use of the OpenH323 code, +including use in commercial products and resale, is encouraged through +use of the MPL (Mozilla Public license). + + + +%package devel +Summary: OpenH323 Library for developers +Group: Development/Libraries/C and C++ +Requires: openh323 = %{version} + +%description devel +This package contains header and script files of the openh323 library +for developers + + + +%prep +%setup -q -n openh323_v%{_version} +%patch +%if %DISTRIBUTABLE == 0 +%patch1 +%endif +%patch2 +%patch3 +%patch4 +%patch5 -p1 +%patch6 -p1 + +%build +#autoreconf --force --install +autoconf --force +aclocal +cd plugins +autoconf --force +aclocal +cd .. +%{?suse_update_config:%{suse_update_config -f}} +export CPPFLAGS="-I/usr/include/gsm" +# PWlib versioncheck does not work properly +# Can support Transnexus OSP Toolkit +./configure --prefix=/usr --libdir=%{_libdir} --mandir=%{_mandir}\ + --disable-versioncheck +make CCFLAGS="$RPM_OPT_FLAGS" OPTCCFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fstack-protector" %{?jobs:-j%jobs} + +%install +make install DESTDIR=$RPM_BUILD_ROOT OPTCCFLAGS="$RPM_OPT_FLAGS" %{?jobs:-j%jobs} + +%post +%run_ldconfig + +%postun +%run_ldconfig + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +%doc ChangeLog VoIPBlaster.txt mpl-1.0.htm videonotes.rtf +%{_libdir}/libh323_linux_* +%dir %{_libdir}/pwlib/codecs +%dir %{_libdir}/pwlib/codecs/audio +%{_libdir}/pwlib/codecs/audio/* + +%files devel +%defattr(-,root,root) +%doc ReadMe.txt +%dir /usr/include/openh323 +/usr/include/openh323/* +%dir /usr/share/openh323 +/usr/share/openh323/* +%{_libdir}/libopenh323.so + +%changelog +* Sun Aug 05 2007 - olh@suse.de +- remove inclusion of linux/compiler.h +* Sat May 12 2007 - olh@suse.de +- remove unused libavc1394-devel libdc1394-devel from Buildrequires +* Mon Feb 26 2007 - kkeil@suse.de +- disable PTRACING for GetPreferedNatMethod +* Sat Oct 28 2006 - meissner@suse.de +- compile speex codec with RPM_OPT_FLAGS +* Thu Sep 14 2006 - sbrabec@suse.cz +- Disabled AMR-NB support in distributable build (#204767). +* Tue Aug 08 2006 - sbrabec@suse.cz +- Updated to version 1.11.1: + * More codecs. + * Improved NAT and ToS support. + * Compilation warning fixes. +- Fixed GSM support. +- Added system AMR-NB support. +- Disabled PWlib version check, which does not work properly. +- Enabled parallel build. +* Thu Mar 09 2006 - bk@suse.de +- Use explicit gcc-c++ in BuildRequires (was implicit by SDL-devel) +* Wed Jan 25 2006 - mls@suse.de +- converted neededforbuild to BuildRequires +* Wed Jan 11 2006 - kkaempf@suse.de +- build with '-fstack-protector' to catch stack overflows +* Wed Dec 14 2005 - ro@suse.de +- fix extra qualification in ixjlid.h +- make it build on 64bit +- move real library to main package (filename ends in .so ...) +* Tue Dec 06 2005 - kkaempf@suse.de +- fix gcc4.1'undefined operation' warning (#136906) +* Tue Nov 22 2005 - kkaempf@suse.de +- add -fno-strict-aliasing to make. +* Wed Oct 19 2005 - kkaempf@suse.de +- remove 'extra qualification' for GCC 4.1. +* Mon Sep 26 2005 - mls@suse.de +- make devel package require base package +* Tue Aug 02 2005 - kkaempf@suse.de +- fix shared library installation symlinks. +* Mon Aug 01 2005 - kkaempf@suse.de +- move the .so files to the -devel subpackage. +* Tue Jul 26 2005 - kkaempf@suse.de +- update to 1.17.2 with lots of little fixes. +* Fri Apr 08 2005 - kkaempf@suse.de +- update to 1.17.1 +- some more GCC4 fixes. +* Sun Apr 03 2005 - aj@suse.de +- Fix to build with GCC4. +* Tue Dec 21 2004 - kkaempf@suse.de +- update to 1.15.2 (for gnomemeeting 1.2) +* Tue Aug 17 2004 - kkaempf@suse.de +- update to 1.15.0 +* Mon Mar 22 2004 - kkaempf@suse.de +- update to 1.13.4, dropping all SUSE patches + (they're included now !) +- fix typo in src/Makefile +* Mon Mar 08 2004 - ro@suse.de +- added libdc1394-devel to neededforbuild +* Thu Mar 04 2004 - kkaempf@suse.de +- update to final 1.13.2 +* Wed Feb 25 2004 - kkaempf@suse.de +- better fix for the "-fPIC" problem +* Wed Feb 25 2004 - ro@suse.de +- re-add fPIC where needed +* Sun Feb 22 2004 - kkaempf@suse.de +- fix lib64 in build environment +* Sun Feb 22 2004 - kkaempf@suse.de +- update to 1.13.2pre1 +- use speex package, not builtin code +* Fri Jan 09 2004 - adrian@suse.de +- add %%run_ldconfig +* Fri Jul 18 2003 - kkaempf@suse.de +- update to 1.12.2 (from CVS, as advised on openh323 mailing list) +- fix %%build in specfile, openh323 uses autoconf/automake now +- install libraries to %%libdir, + install includes to /usr/include/openh323, + install shared files to /usr/share/openh323 +- added support for ieee1394 (Firewire) cameras +- enable IPv6 (untested)