2019-11-30 09:52:55 +08:00
|
|
|
Name: lksctp-tools
|
|
|
|
|
Version: 1.0.16
|
|
|
|
|
Release: 13
|
|
|
|
|
Summary: User-space access to Linux Kernel SCTP
|
|
|
|
|
|
|
|
|
|
License: GPLv2 and GPLv2+ and LGPLv2 and MIT
|
|
|
|
|
URL: http://lksctp.sourceforge.net
|
|
|
|
|
Source0: https://downloads.sourceforge.net/project/lksctp/lksctp-tools/%{name}-%{version}.tar.gz
|
|
|
|
|
|
2019-11-30 22:44:43 +08:00
|
|
|
BuildRequires: make gcc libtool autoconf automake
|
2019-11-30 09:52:55 +08:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
This is the lksctp-tools package for Linux Kernel SCTP (Stream Control
|
|
|
|
|
Transmission Protocol) Reference Implementation.
|
|
|
|
|
|
|
|
|
|
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."
|
|
|
|
|
|
|
|
|
|
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*
|
|
|
|
|
%{_bindir}/*
|
|
|
|
|
%{_libdir}/libsctp.so.*
|
|
|
|
|
%{_libdir}/lksctp-tools/libwithsctp.so.*
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_includedir}/*
|
|
|
|
|
%{_libdir}/libsctp.so
|
|
|
|
|
%{_libdir}/lksctp-tools/libwithsctp.so
|
|
|
|
|
%{_datadir}/lksctp-tools/
|
|
|
|
|
|
2019-11-30 22:44:43 +08:00
|
|
|
%files help
|
|
|
|
|
%doc AUTHORS ChangeLog README
|
2019-11-30 09:52:55 +08:00
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
%{_mandir}/man7/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Nov 28 2019 Qianbiao.NG <Qianbiao.NG@turnbig.net> - 1.0.16-13
|
|
|
|
|
- Repackage for openEuler OS
|