Hello community, here is the log from the commit of package openh323 for openSUSE:Factory checked in at Mon Mar 8 18:18:59 CET 2010. -------- --- openh323/openh323.changes 2007-08-05 23:16:19.000000000 +0200 +++ /mounts/work_src_done/STABLE/openh323/openh323.changes 2010-01-14 23:31:14.000000000 +0100 @@ -1,0 +2,14 @@ +Thu Jan 14 22:31:25 UTC 2010 - chris@computersalat.de + +- cleanup spec + o sort TAGS + o fix Builddeps + pwlib-devel = 1.11.0 + o macros +- rpmlint + o spurious executable permission + o run_ldconfig > /sbin/ldconfig + o devel-file-in-non-devel-package + {_libdir}/libh323_linux_x86_64_r.so + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openh323.spec ++++++ --- /var/tmp/diff_new_pack.joZepl/_old 2010-03-08 18:18:29.000000000 +0100 +++ /var/tmp/diff_new_pack.joZepl/_new 2010-03-08 18:18:29.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package openh323 (Version 1.19.0.1) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 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 @@ -17,23 +17,23 @@ # 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 +# +%ifarch %ix86 +%define arch x86 +%else +%define arch %{_arch} %endif -Url: http://openh323.sourceforge.net/ -License: MOZILLA PUBLIC LICENSE (MPL/NPL) -Group: System/Libraries -BuildRoot: %{_tmppath}/%{name}-%{version}-build -AutoReqProv: on -Requires: pwlib + +Name: openh323 Summary: An Open Source ITU H.323 Library and Sample Application Version: 1.19.0.1 -Release: 232 +Release: 233 %define _version 1_19_0_1 +License: MPL .. +Group: System/Libraries +AutoReqProv: on +Url: http://openh323.sourceforge.net/ Source: openh323-v%{_version}-src-tar.bz2 Patch: openh323_v1_19_0_1.diff Patch1: openh323-system-amrnb.diff @@ -42,6 +42,16 @@ Patch4: openh323-OPTCCFLAGS.patch Patch5: patches/openh323-nonat_ptrace Patch6: openh323.linux-compiler.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: SDL-devel gcc-c++ +BuildRequires: libdv +BuildRequires: libgsm-devel +BuildRequires: openldap2-devel +BuildRequires: pwlib-devel = 1.11.0 +BuildRequires: speex-devel +%if %DISTRIBUTABLE == 0 +BuildRequires: amrnb-devel +%endif %description The OpenH323 project aims to create a full featured, interoperable, and @@ -56,21 +66,20 @@ use of the MPL (Mozilla Public license). - %package devel -License: MOZILLA PUBLIC LICENSE (MPL/NPL) +License: MPL .. Summary: OpenH323 Library for developers Group: Development/Libraries/C and C++ -Requires: openh323 = %{version} +Requires: %{name} = %{version} +Requires: pwlib-devel = 1.11.0 %description devel This package contains header and script files of the openh323 library for developers - %prep -%setup -q -n openh323_v%{_version} +%setup -q -n %{name}_v%{_version} %patch %if %DISTRIBUTABLE == 0 %patch1 @@ -80,6 +89,7 @@ %patch4 %patch5 -p1 %patch6 -p1 +chmod 0644 videonotes.rtf %build #autoreconf --force --install @@ -91,28 +101,29 @@ cd .. %{?suse_update_config:%{suse_update_config -f}} export CPPFLAGS="-I/usr/include/gsm" +export CCFLAGS="$RPM_OPT_FLAGS" +export OPTCCFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fstack-protector" # PWlib versioncheck does not work properly # Can support Transnexus OSP Toolkit -./configure --prefix=/usr --libdir=%{_libdir} --mandir=%{_mandir}\ +%configure \ --disable-versioncheck -make CCFLAGS="$RPM_OPT_FLAGS" OPTCCFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fstack-protector" %{?jobs:-j%jobs} + +%{__make} %{?jobs:-j%jobs} %install -make install DESTDIR=$RPM_BUILD_ROOT OPTCCFLAGS="$RPM_OPT_FLAGS" %{?jobs:-j%jobs} +%makeinstall -%post -%run_ldconfig +%post -p /sbin/ldconfig -%postun -%run_ldconfig +%postun -p /sbin/ldconfig %clean -rm -rf $RPM_BUILD_ROOT +%{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc ChangeLog VoIPBlaster.txt mpl-1.0.htm videonotes.rtf -%{_libdir}/libh323_linux_* +%{_libdir}/libh323_linux_%{arch}_r.so.* %dir %{_libdir}/pwlib/codecs %dir %{_libdir}/pwlib/codecs/audio %{_libdir}/pwlib/codecs/audio/* @@ -120,10 +131,11 @@ %files devel %defattr(-,root,root) %doc ReadMe.txt -%dir /usr/include/openh323 -/usr/include/openh323/* -%dir /usr/share/openh323 -/usr/share/openh323/* +%dir %{_includedir}/openh323 +%{_includedir}/openh323/* +%dir %{_datadir}/openh323 +%{_datadir}/openh323/* %{_libdir}/libopenh323.so +%{_libdir}/libh323_linux_%{arch}_r.so %changelog ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org