Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37536172
en ru br
ALT Linux repositórios
S:1.6.3-alt4

Group :: Sistema/Bibliotecas
RPM: libbelle-sip

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: libbelle-sip
Version: 1.6.3
Release: alt4

Summary: Linphone SIP stack
License: GPL
Group: System/Libraries

Url: http://www.belle-sip.org
Source: %name-%version.tar
Patch: %name-%version-%release.patch
Packager: Alexei Takaseev <taf at altlinux.ru>

# Automatically added by buildreq on Thu Mar 02 2017

# optimized out: antlr3-C bcunit gnu-config java-1.8.0-openjdk-headless libstdc++-devel perl pkg-config python-base python3
BuildRequires: antlr3-C-devel java-devel libmbedtls-devel libbctoolbox-devel gcc8-c++ zlib-devel

BuildRequires: /proc rpm-build-java

%description
Belle-sip is an object oriented c written SIP stack used by Linphone.

%package devel
Summary: Development libraries for belle-sip
Group: Development/Other
Requires: %name = %version-%release

%description devel
Libraries and headers required to develop software with belle-sip

%prep
%setup
%patch -p1
%ifarch %e2k
%add_optflags -std=c11
# -Werror => 'unrecognized character escape sequence' gets fatal
# NB: src/grammars/belle_sip_message.g is *not* to be changed
sed -r -i 's,\\(%%[dsu]),\1,g' src/belle_sip_utils.c src/parserutils.h
# as of lcc-1.23.12; looks like author knows of getTokenNames/freeScope warning
sed -i 's,-fms-extensions,-Wno-error=unused-function -Wno-error=unused-variable -Wno-error=ignored-qualifiers,' configure*
%endif

%build
%ifnarch %e2k
%set_gcc_version 8
export CC="gcc-%{_gcc_version}"
export CXX="g++-%{_gcc_version}"
%endif
%autoreconf
%configure \
--disable-static \
--with-antlr=%_builddir/%name-%version \
--enable-strict=no

sed -ri 's/^(hardcode_libdir_flag_spec|runpath_var)=.*/\1=/' libtool
%make_build

%install

%makeinstall

%files
%doc AUTHORS ChangeLog COPYING NEWS README.md
%_libdir/*.so.*

%files devel
%_includedir/belle-sip
%_libdir/libbellesip.so
%_libdir/pkgconfig/belle-sip.pc

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009