fixes: reedit summary and desc

This commit is contained in:
QianBiao.NG 2019-12-03 17:16:46 +08:00
parent a8c5e75c8d
commit 976671b9d3

View File

@ -1,7 +1,7 @@
Name: lksctp-tools Name: lksctp-tools
Version: 1.0.16 Version: 1.0.16
Release: 11 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 License: GPLv2 and GPLv2+ and LGPLv2 and MIT
URL: http://lksctp.sourceforge.net URL: http://lksctp.sourceforge.net
@ -9,47 +9,54 @@ Source0: https://downloads.sourceforge.net/project/lksctp/lksctp-tools/%{
BuildRequires: make gcc libtool autoconf automake BuildRequires: make gcc libtool autoconf automake
%description %description
This is the lksctp-tools package for Linux Kernel SCTP (Stream Control The lksctp-tools project provides a Linux user space library for SCTP (libsctp)
Transmission Protocol) Reference Implementation. 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 For more information on the features and functions currently supported by
Implementation now available in the Linux kernel source tree in lksctp, please refer to the documentation in the Linux kernel resp. in the
versions 2.5.36 and following. For more information on LKSCTP see the lksctp-tools package. The lksctp-tools source contains a set of test programs
package documentation README file, section titled "LKSCTP - Linux which would also serve as example applications.
Kernel SCTP."
This package contains the base run-time library and command-line tools.
%package devel %package devel
Summary: Development files for %{name} Summary: Development files for %{name}
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
%description devel %description devel
Development files for %{name} which include header files and dynamic Development files for %{name} which include header files and dynamic
libraries. libraries.
%package_help %package_help
#Build sections
%prep %prep
%autosetup -n %{name}-%{version} -p1 %autosetup -n %{name}-%{version} -p1
%build %build
rm -rf configure && sh bootstrap rm -rf configure && sh bootstrap
%configure --disable-static %configure --disable-static
%disable_rpath %disable_rpath
%make_build %make_build
%install %install
%make_install %make_install
%delete_la %delete_la
%pre %pre
%preun %preun
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%license COPYING* %license COPYING*
@ -57,17 +64,20 @@ rm -rf configure && sh bootstrap
%{_libdir}/libsctp.so.* %{_libdir}/libsctp.so.*
%{_libdir}/lksctp-tools/libwithsctp.so.* %{_libdir}/lksctp-tools/libwithsctp.so.*
%files devel %files devel
%{_includedir}/* %{_includedir}/*
%{_libdir}/libsctp.so %{_libdir}/libsctp.so
%{_libdir}/lksctp-tools/libwithsctp.so %{_libdir}/lksctp-tools/libwithsctp.so
%{_datadir}/lksctp-tools/ %{_datadir}/lksctp-tools/
%files help %files help
%doc AUTHORS ChangeLog README doc/*.txt %doc AUTHORS ChangeLog README doc/*.txt
%{_mandir}/man3/* %{_mandir}/man3/*
%{_mandir}/man7/* %{_mandir}/man7/*
%changelog %changelog
* Thu Nov 28 2019 Qianbiao.NG <Qianbiao.NG@turnbig.net> - 1.0.16-11 * Thu Nov 28 2019 Qianbiao.NG <Qianbiao.NG@turnbig.net> - 1.0.16-11
- Repackage for openEuler OS - Repackage for openEuler OS