From 976671b9d33fad72d904d717ad207e6cbfdf8756 Mon Sep 17 00:00:00 2001 From: "QianBiao.NG" Date: Tue, 3 Dec 2019 17:16:46 +0800 Subject: [PATCH] fixes: reedit summary and desc --- lksctp-tools.spec | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/lksctp-tools.spec b/lksctp-tools.spec index ce8483c..fba3d1a 100644 --- a/lksctp-tools.spec +++ b/lksctp-tools.spec @@ -1,7 +1,7 @@ Name: lksctp-tools Version: 1.0.16 Release: 11 -Summary: User-space access to Linux Kernel SCTP +Summary: Linux Kernel Stream Control Transmission Protocol Tools License: GPLv2 and GPLv2+ and LGPLv2 and MIT URL: http://lksctp.sourceforge.net @@ -9,47 +9,54 @@ Source0: https://downloads.sourceforge.net/project/lksctp/lksctp-tools/%{ BuildRequires: make gcc libtool autoconf automake + %description -This is the lksctp-tools package for Linux Kernel SCTP (Stream Control -Transmission Protocol) Reference Implementation. +The lksctp-tools project provides a Linux user space library for SCTP (libsctp) +including C language header files (netinet/sctp.h) for accessing SCTP specific +application programming interfaces not provided by the standard sockets, +and also some helper utilities around SCTP. -This package is intended to supplement the Linux Kernel SCTP Reference -Implementation now available in the Linux kernel source tree in -versions 2.5.36 and following. For more information on LKSCTP see the -package documentation README file, section titled "LKSCTP - Linux -Kernel SCTP." +For more information on the features and functions currently supported by +lksctp, please refer to the documentation in the Linux kernel resp. in the +lksctp-tools package. The lksctp-tools source contains a set of test programs +which would also serve as example applications. -This package contains the base run-time library and command-line tools. %package devel Summary: Development files for %{name} Requires: %{name} = %{version}-%{release} + %description devel Development files for %{name} which include header files and dynamic libraries. + %package_help -#Build sections + %prep %autosetup -n %{name}-%{version} -p1 + %build rm -rf configure && sh bootstrap %configure --disable-static %disable_rpath %make_build + %install %make_install %delete_la + %pre %preun %post -p /sbin/ldconfig %postun -p /sbin/ldconfig + %files %defattr(-,root,root) %license COPYING* @@ -57,17 +64,20 @@ rm -rf configure && sh bootstrap %{_libdir}/libsctp.so.* %{_libdir}/lksctp-tools/libwithsctp.so.* + %files devel %{_includedir}/* %{_libdir}/libsctp.so %{_libdir}/lksctp-tools/libwithsctp.so %{_datadir}/lksctp-tools/ + %files help %doc AUTHORS ChangeLog README doc/*.txt %{_mandir}/man3/* %{_mandir}/man7/* + %changelog * Thu Nov 28 2019 Qianbiao.NG - 1.0.16-11 - Repackage for openEuler OS