commit c9fd5ffbc037c8a551c7ed27a6096aebbeac2961
Author: Jakub Bogusz <qbo...@pld-linux.org>
Date:   Sun Jun 2 21:17:22 2024 +0200

    - updated to 3.7.2

 sipp.spec | 38 +++++++++++++++++++-------------------
 1 file changed, 19 insertions(+), 19 deletions(-)
---
diff --git a/sipp.spec b/sipp.spec
index b69874b..2b436e9 100644
--- a/sipp.spec
+++ b/sipp.spec
@@ -7,24 +7,25 @@
 Summary:       SIPp - a performance testing tool for the SIP protocol
 Summary(pl.UTF-8):     SIPp - narzędzie do testowania wydajności protokołu SIP
 Name:          sipp
-Version:       3.6.0
-Release:       3
+Version:       3.7.2
+Release:       1
 License:       GPL v2+ except two files under BSD
 Group:         Applications/Communications
 #Source0Download: https://github.com/SIPp/sipp/releases/
 Source0:       
https://github.com/SIPp/sipp/releases/download/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 1fd27333d179d786d3f6a67ee451fae9
+# Source0-md5: bd99a023e15b4c9dbdbfe4b95cb9cdf9
 Patch0:                %{name}-OPTIONS_is_ping.patch
-URL:           http://sipp.sourceforge.net/
-BuildRequires: autoconf
-BuildRequires: automake
+URL:           https://sipp.sourceforge.net/
+BuildRequires: cmake >= 3.4
 BuildRequires: gsl-devel
 BuildRequires: help2man
 BuildRequires: libpcap-devel
 BuildRequires: libsctp-devel
-BuildRequires: libstdc++-devel
+BuildRequires: libstdc++-devel >= 6:4.7
 BuildRequires: ncurses-devel
-BuildRequires: openssl-devel
+# or wolfssl-devel >= 3.15.0
+BuildRequires: openssl-devel >= 0.9.8
+BuildRequires: pkgconfig
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -65,24 +66,23 @@ do systemu SIP.
 %{?with_options_is_ping:%patch0 -p1}
 
 %build
-%{__aclocal}
-%{__autoconf}
-%{__automake}
-%configure \
-       --disable-silent-rules \
-       --enable-epoll \
-       --with-openssl \
-       --with-pcap \
-       --with-sctp \
-       --with-gsl
+install -d build
+cd build
+%cmake .. \
+       -DUSE_PCAP=ON \
+       -DUSE_SCTP=ON \
+       -DUSE_SSL=ON
+
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install \
+%{__make} -C build install \
        DESTDIR=$RPM_BUILD_ROOT
 
+install -Dp sipp.1 $RPM_BUILD_ROOT%{_mandir}/man1/sipp.1
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/sipp.git/commitdiff/c9fd5ffbc037c8a551c7ed27a6096aebbeac2961

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to