Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
No build reason found for images:local
openSUSE:Maintenance:2103
openh323.openSUSE_12.2_Update
openh323.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openh323.spec of Package openh323.openSUSE_12.2_Update
# # spec file for package openh323 # # Copyright (c) 2013 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/ # # %define DISTRIBUTABLE 1 # %ifarch %ix86 %define arch x86 %else %define arch %{_target_cpu} %endif Name: openh323 Summary: An Open Source ITU H.323 Library and Sample Application License: MPL-1.0 Group: System/Libraries Version: 1.19.0.1 Release: 0 %define _version 1_19_0_1 Url: http://openh323.sourceforge.net/ 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 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: SDL-devel BuildRequires: automake BuildRequires: 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 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: %{name} = %{version} Requires: pwlib-devel = 1.11.0 # Suggest debugsource file, as it provides OH323_SRCDIR from openh323u.mak, which may be needed to compile some applications: Suggests: openh323-debugsource %description devel This package contains header and script files of the openh323 library for developers. To compile some third party projects that use files in OH323_SRCDIR, you may need to install also openh323-debugsource package. %prep %setup -q -n %{name}_v%{_version} %patch %if %DISTRIBUTABLE == 0 %patch1 %endif %patch2 %patch3 %patch4 %patch5 -p1 %patch6 -p1 chmod 0644 videonotes.rtf %build #autoreconf --force --install autoconf --force aclocal cd plugins autoconf --force aclocal cd .. 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 \ --disable-versioncheck make %{?_smp_mflags} %install %makeinstall # Now edit openh323u.mak to not refer to build directories: sed -i ' # Set prefix /^H323_AVCODEC/i \ PREFIX\t\t = %{_prefix} # Do not point to build directory s:^\(OPENH323DIR[[:space:]]*=[[:space:]]*\).*:\1%{_prefix}: # Fix libdir s:/lib$:/%{_lib}:g s:/lib/:/%{_lib}/:g # Set source reference to location, where openh323-debugsource install its data s:\$(OPENH323DIR)/src:/usr/src/debug/%{name}_v%{_version}: ' %{buildroot}%{_datadir}/openh323/openh323u.mak %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %doc ChangeLog VoIPBlaster.txt mpl-1.0.htm videonotes.rtf %{_libdir}/libh323_linux_%{arch}_r.so.* %dir %{_libdir}/pwlib/codecs %dir %{_libdir}/pwlib/codecs/audio %{_libdir}/pwlib/codecs/audio/* %files devel %defattr(-,root,root) %doc ReadMe.txt %dir %{_includedir}/openh323 %{_includedir}/openh323/* %dir %{_datadir}/openh323 %{_datadir}/openh323/* %{_libdir}/libopenh323.so %{_libdir}/libh323_linux_%{arch}_r.so %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor