lksctp-tools/lksctp-tools.spec

94 lines
2.1 KiB
RPMSpec
Raw Normal View History

2020-07-15 15:55:43 +08:00
Name: lksctp-tools
2021-12-07 20:58:32 +08:00
Version: 1.0.19
Release: 1
2020-07-15 15:55:43 +08:00
Summary: Linux Kernel Stream Control Transmission Protocol Tools
License: GPLv2 and GPLv2+ and LGPLv2 and MIT
URL: http://lksctp.sourceforge.net
2020-10-16 16:39:50 +08:00
Source0: https://github.com/sctp/lksctp-tools/archive/%{name}-%{version}.tar.gz
2020-07-15 15:55:43 +08:00
BuildRequires: make gcc libtool autoconf automake
2019-12-03 17:16:46 +08:00
2019-11-30 09:52:55 +08:00
%description
2020-07-15 15:55:43 +08:00
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.
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.
2019-11-30 09:52:55 +08:00
2020-07-15 15:55:43 +08:00
%package devel
Summary: Development files for %{name}
Requires: %{name} = %{version}-%{release}
2019-11-30 09:52:55 +08:00
2019-12-03 17:16:46 +08:00
2019-11-30 09:52:55 +08:00
%description devel
2020-07-15 15:55:43 +08:00
Development files for %{name} which include header files and dynamic
libraries.
2019-11-30 09:52:55 +08:00
2019-12-03 17:16:46 +08:00
2020-07-15 15:55:43 +08:00
%package_help
2019-12-03 17:16:46 +08:00
2019-11-30 09:52:55 +08:00
%prep
2020-07-15 15:55:43 +08:00
%autosetup -n %{name}-%{version} -p1
2019-12-03 17:16:46 +08:00
2019-11-30 09:52:55 +08:00
%build
2020-07-15 15:55:43 +08:00
rm -rf configure && sh bootstrap
2019-11-30 09:52:55 +08:00
%configure --disable-static
2020-07-15 15:55:43 +08:00
%disable_rpath
%make_build
2019-11-30 09:52:55 +08:00
2019-12-03 17:16:46 +08:00
2019-11-30 09:52:55 +08:00
%install
2020-07-15 15:55:43 +08:00
%make_install
%delete_la
2019-11-30 09:52:55 +08:00
2019-12-03 17:16:46 +08:00
2020-07-15 15:55:43 +08:00
%pre
%preun
2019-11-30 09:52:55 +08:00
%post -p /sbin/ldconfig
2020-06-30 14:46:54 +08:00
%postun -p /sbin/ldconfig
2019-12-03 17:16:46 +08:00
2020-07-15 15:55:43 +08:00
%files
%defattr(-,root,root)
%license COPYING*
2019-11-30 09:52:55 +08:00
%{_bindir}/*
%{_libdir}/libsctp.so.*
%{_libdir}/lksctp-tools/libwithsctp.so.*
2020-07-15 15:55:43 +08:00
2019-12-03 17:16:46 +08:00
2019-11-30 09:52:55 +08:00
%files devel
%{_includedir}/*
%{_libdir}/libsctp.so
%{_libdir}/lksctp-tools/libwithsctp.so
%{_datadir}/lksctp-tools/
2020-07-15 15:55:43 +08:00
%{_libdir}/pkgconfig/libsctp.pc
%files help
%doc AUTHORS ChangeLog README doc/*.txt
2019-11-30 09:52:55 +08:00
%{_mandir}/man3/*
2020-07-15 15:55:43 +08:00
%{_mandir}/man7/*
2019-11-30 09:52:55 +08:00
2020-06-30 14:46:54 +08:00
%changelog
2021-12-07 20:58:32 +08:00
* Tue Dec 07 2021 zhanzhimin <zhanzhimin@huawei.com> - 1.0.19-1
- update to 1.0.19
2020-10-16 15:34:57 +08:00
* Fri Oct 16 2020 wangye <wangye70@huawei.com> - 1.0.18-2
- update source URL
2020-07-15 15:55:43 +08:00
* Wed Jul 15 2020 hanhui <hanhui@huawei.com> - 1.0.18-1
- update to 1.0.18
2019-12-03 15:12:03 +08:00
* Thu Nov 28 2019 Qianbiao.NG <Qianbiao.NG@turnbig.net> - 1.0.16-11
2020-07-15 15:55:43 +08:00
- Repackage for openEuler OS