lksctp-tools/lksctp-tools.spec

74 lines
1.8 KiB
RPMSpec
Raw Normal View History

2019-11-30 09:52:55 +08:00
Name: lksctp-tools
Version: 1.0.16
2019-12-03 15:12:03 +08:00
Release: 11
2019-11-30 09:52:55 +08:00
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
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/
%files help
2019-12-03 15:12:03 +08:00
%doc AUTHORS ChangeLog README doc/*.txt
2019-11-30 09:52:55 +08:00
%{_mandir}/man3/*
%{_mandir}/man7/*
%changelog
2019-12-03 15:12:03 +08:00
* Thu Nov 28 2019 Qianbiao.NG <Qianbiao.NG@turnbig.net> - 1.0.16-11
2019-11-30 09:52:55 +08:00
- Repackage for openEuler OS