# # 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-3 %define lname libosptk-3_6_1 Version: 3.6.1 Release: 2.8 %define rversion 3_6_1-20100107 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 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool 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 Conflicts: osp-toolkit-devel %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 -p1 %build autoreconf -fi; %configure --enable-static make %{?_smp_mflags}; %install b="%buildroot"; make install DESTDIR="$b"; find "$b/%_libdir" -type f -name "*.la" -delete; %files -n %lname %defattr(-,root,root) %_libdir/libosptk-*.so %files devel %defattr(-,root,root) %_libdir/libosptk.so %_libdir/libosptk.a %_includedir/osp %changelog * Fri Aug 29 2014 jengelh@inai.de - Provide old osp-toolkit version for old asterisk