File osp-toolkit.spec of Package osp-toolkit
#
# spec file for package osp-toolkit
#
# Copyright (c) 2020 SUSE LLC
#
# 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: 0
%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
BuildRequires: libopenssl-1_0_0-devel
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
%autosetup -p1 -n TK-%rversion
%build
autoreconf -fi
%configure --disable-static
%make_build
%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
%_libdir/libosptk-*.so
%files devel
%license LICENSE.txt
%_libdir/libosptk.so
%_includedir/osp/
%changelog