|
@@ -1,7 +1,9 @@
|
|
|
+%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
|
|
|
+
|
|
|
Name: lksctp-tools
|
|
|
Summary: User-space access to Linux Kernel SCTP
|
|
|
-Version: 1.0.16
|
|
|
-Release: 5%{?_dist_release}
|
|
|
+Version: 1.0.17
|
|
|
+Release: 1%{?_dist_release}
|
|
|
# src/apps/bindx_test.C is GPLv2, I've asked upstream for clarification
|
|
|
License: GPLv2 and GPLv2+ and LGPLv2 and MIT
|
|
|
Group: System Environment/Libraries
|
|
@@ -31,6 +33,7 @@ This package contains the base run-time library and command-line tools.
|
|
|
Summary: Development files for lksctp-tools
|
|
|
Group: Development/Libraries
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
+Requires: pkgconfig
|
|
|
|
|
|
%description devel
|
|
|
Development files for lksctp-tools which include man pages, header files,
|
|
@@ -45,6 +48,22 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
Documents pertaining to LKSCTP & SCTP in general (IETF RFC's & Internet
|
|
|
Drafts).
|
|
|
|
|
|
+%package -n compat32-%{name}
|
|
|
+Summary: User-space access to Linux Kernel SCTP
|
|
|
+Group: System Environment/Libraries
|
|
|
+Requires: %{name}-%{version}-%{release}
|
|
|
+
|
|
|
+%description -n compat32-%{name}
|
|
|
+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."
|
|
|
+
|
|
|
+
|
|
|
%prep
|
|
|
%setup -q
|
|
|
%patch0 -p1
|
|
@@ -80,13 +99,23 @@ find $RPM_BUILD_ROOT -type f -name "*.la" -delete
|
|
|
%{_includedir}/*
|
|
|
%{_libdir}/libsctp.so
|
|
|
%{_libdir}/lksctp-tools/libwithsctp.so
|
|
|
+%{_libdir}/pkgconfig/libsctp.pc
|
|
|
%{_datadir}/lksctp-tools/
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
%files doc
|
|
|
%doc doc/*.txt
|
|
|
|
|
|
+%if %{build_compat32}
|
|
|
+%files -n compat32-%{name}
|
|
|
+%{_libdir}/libsctp.so.1*
|
|
|
+%{_libdir}/lksctp-tools/libwithsctp.so.1*
|
|
|
+%endif
|
|
|
+
|
|
|
%changelog
|
|
|
+* Wed Oct 31 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.0.17-1
|
|
|
+- new upstream release.
|
|
|
+
|
|
|
* Tue Nov 17 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.0.16-5
|
|
|
- initial build for Vine Linux.
|
|
|
|