# # spec file for package osp-toolkit # # Copyright (c) 2014 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/ # Name: osp-toolkit %define lname libosptk-4_13_0 Version: 4.13.0 Release: 5.12 %define rversion 4_13_0-20161107 Summary: Toolkit for ETSI OSP standard for secure VoIP peering License: BSD-3-Clause Group: Development/Libraries/C and C++ URL: http://sf.net/projects/osp-toolkit Source: http://downloads.sf.net/osp-toolkit/OSPToolkit-%version.tar.gz Patch1: osp-automake.diff Patch2: osp-float.diff # openssl patches from debian Patch100: ospopenssl.c.patch Patch101: ospcryptowrap.c.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} >= 1500 BuildRequires: libopenssl-1_0_0-devel %endif BuildRequires: autoconf BuildRequires: automake >= 1.10 BuildRequires: libtool >= 2 BuildRequires: pkg-config BuildRequires: xz BuildRequires: pkgconfig(libcrypto) BuildRequires: pkgconfig(libssl) %description The OSP Toolkit is a complete development kit for software developers who want to implement the client side of the European Telecommunication Standards Institute's (ETSI) Open Settlement Protocol. The OSP Toolkit includes source code written in ANSI C, test tools and extensive documentation on how to implement OSP. A hosted OSP test server is freely available on the Internet for all developers to test their OSP implementation. %package -n %lname Summary: Library for ETSI OSP standard for secure VoIP peering Group: System/Libraries %description -n %lname The OSP Toolkit is a complete development kit for software developers who want to implement the client side of the European Telecommunication Standards Institute's (ETSI) Open Settlement Protocol. The OSP Toolkit includes source code written in ANSI C, test tools and extensive documentation on how to implement OSP. A hosted OSP test server is freely available on the Internet for all developers to test their OSP implementation. %package devel Summary: Toolkit for ETSI OSP standard for secure VoIP peering Group: Development/Libraries/C and C++ Requires: %lname = %version %description devel The OSP Toolkit is a complete development kit for software developers who want to implement the client side of the European Telecommunication Standards Institute's (ETSI) Open Settlement Protocol. The OSP Toolkit includes source code written in ANSI C, test tools and extensive documentation on how to implement OSP. A hosted OSP test server is freely available on the Internet for all developers to test their OSP implementation. %prep %setup -qn TK-%rversion %patch -P 1 -P 2 -p1 # openssl patches from debian %patch100 -p1 %patch101 -p1 %build autoreconf -fi %configure --disable-static make %{?_smp_mflags} %install %make_install find "%buildroot" -type f -name "*.la" -delete %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig %files -n %lname %defattr(-,root,root) %_libdir/libosptk-*.so %files devel %defattr(-,root,root) %doc LICENSE.txt %_libdir/libosptk.so %_includedir/osp/ %changelog * Fri Jan 13 2017 jengelh@inai.de - Add osp-float.diff to address a compile error, and in fact what seems to be a logic problem. * Fri Dec 9 2016 michael@stroeder.com - Update to new upstream release 4.13.0 * Added RoleInfo State value. * Added RoleInfo values. * Added switch ID and P-Charging-Vector support. * Added TelcoBridges vendor info. * Added REFER state info. * Added destination service provider ID support. * Thu Mar 24 2016 jengelh@inai.de - Update to new upstream release 4.11.1 * Added Identity token support. * Updated SipRequestDate element. * Updated Identity related elements. * Fri Jan 22 2016 jengelh@inai.de - Update to new upstream release 4.10.0 * Added service provider ID and calling party info into AuthReq. * Added build option to disable SSL certificate verify. * Fixed hardcoded receive buffer size issue. * Added call type, call category and network type support. * Added SPID and AltSPID support. * Sun Nov 8 2015 jengelh@inai.de - Update to new upstream release 4.8.2 * Fixed destination media addresses and proxy egress address reporting issue. * Added support for getting service type. * Use TLS 1.0 instead of SSL 3.0. * Added RoleInfo Format fixedwidth and VendorInfo avaya. * Fri Aug 14 2015 jengelh@inai.de - Update to new upstream release 4.7.0 * Added media address, proxy address, provider post dial delay and JIP support, CNAM support * Fixed post dial delay reporting issue. * Extended HTTP module to support GET method. * Added CNAM query service type. * Mon Jun 8 2015 jengelh@inai.de - Update to new upstream release 4.5.0 * Updated to support more OSP server response codes. * Sun Mar 29 2015 jengelh@inai.de - Update to new upstream release 4.4.3 * Updated to support 603 Decline status code. * Sun Jan 4 2015 jengelh@inai.de - Update to new upstream release 4.4.2 * Added support for CDR proxy, total setup attempts and From display name. * Added support for User-Agent. * Added vendor Cisco. * Tue Aug 26 2014 jengelh@inai.de - Update to new upstream release 4.2.4 * Added network translated called number and service provider ID in UsageInd. * Fixed codec buffer size issue. * Added support for video QoS. * Added support for RelatedCallIdReason and SystemId. * Added vendor Kamailio, CUCM, MetaSphere, Sansay, Taqua, Sonus, AudioCodes. * Fri Jan 25 2013 jengelh@inai.de - Update to new upstream release 4.1.3 * Changed setting destination protocol directly in destination structure. * Changed setting destination network ID directly in destination structure. * Removed HTTP timeout 1000ms check. * Fixed OSPPSockWaitTillReady tv_usec bug. * Added call party info elements. * Added local and remote session ID elements. * Changed ReleaseSource element values. * Changed call party info implementation. * Added BroadWorks vendor info. * Added ReleaseSource values. * Added transfer ID and transfer status. * Added XML CDR format. * Added Metaswitch Perimeta vendor type. * Added reporting LNP in UsageInd. * Sun Oct 9 2011 jengelh@medozas.de - Initial package for osp-toolkit (version 4.0.1)