9c2663
Name:    lksctp-tools
9c2663
Summary: User-space access to Linux Kernel SCTP
9c2663
Version: 1.0.18
9c2663
Release: 11%{?dist}
9c2663
# src/apps/bindx_test.C is GPLv2, I've asked upstream for clarification
9c2663
License: GPLv2 and GPLv2+ and LGPLv2 and MIT
9c2663
Group:   System Environment/Libraries
9c2663
URL:     http://lksctp.sourceforge.net
9c2663
9c2663
Source0: https://github.com/sctp/lksctp-tools/archive/%{name}-%{version}.tar.gz
9c2663
Patch0: lksctp-tools-1.0.16-libdir.patch
9c2663
Patch1: lksctp-tools-1.0.18-withsctp-use-PACKAGE_VERSION-in-withsctp.h.patch
9c2663
Patch2: lksctp-tools-1.0.18-configure.ac-add-CURRENT-REVISION-and-AGE-for-libsct.patch
9c2663
Patch3: lksctp-tools-1.0.18-build-fix-netinet-sctp.h-not-to-be-installed.patch
9c2663
Patch4: lksctp-tools-1.0.18-build-remove-v4.12-secondary-defines-in-favor-of-HAV.patch
9c2663
Patch5: lksctp-tools-1.0.18-build-fix-probing-for-HAVE_SCTP_SENDV.patch
9c2663
Patch6: lksctp-tools-1.0.18-build-0b0dce7a36fb-actually-belongs-to-v4.19.patch
9c2663
Patch7: lksctp-tools-symver.patch
9c2663
BuildRequires: libtool, automake, autoconf, make
9c2663
9c2663
%description
9c2663
This is the lksctp-tools package for Linux Kernel SCTP (Stream Control
9c2663
Transmission Protocol) Reference Implementation.
9c2663
9c2663
This package is intended to supplement the Linux Kernel SCTP Reference
9c2663
Implementation now available in the Linux kernel source tree in
9c2663
versions 2.5.36 and following.  For more information on LKSCTP see the
9c2663
package documentation README file, section titled "LKSCTP - Linux
9c2663
Kernel SCTP."
9c2663
9c2663
This package contains the base run-time library and command-line tools.
9c2663
9c2663
%package devel
9c2663
Summary: Development files for lksctp-tools
9c2663
Group: Development/Libraries
9c2663
Requires: %{name}%{?_isa} = %{version}-%{release}
9c2663
9c2663
%description devel
9c2663
Development files for lksctp-tools which include man pages, header files,
9c2663
static libraries, symlinks to dynamic libraries and some tutorial source code.
9c2663
9c2663
%package doc
9c2663
Summary: Documents pertaining to SCTP
9c2663
Group: System Environment/Libraries
9c2663
Requires: %{name}%{?_isa} = %{version}-%{release}
9c2663
9c2663
%description doc
9c2663
Documents pertaining to LKSCTP & SCTP in general (IETF RFC's & Internet
9c2663
Drafts).
9c2663
9c2663
%prep
9c2663
%setup -q -n %{name}-%{name}-%{version}
9c2663
%patch0 -p1
9c2663
%patch1 -p1
9c2663
%patch2 -p1
9c2663
%patch3 -p1
9c2663
%patch4 -p1
9c2663
%patch5 -p1
9c2663
%patch6 -p1
9c2663
%patch7 -p1
9c2663
9c2663
%build
9c2663
[ ! -x ./configure ] && sh bootstrap
9c2663
%configure --disable-static
9c2663
# remove rpath from libtool
9c2663
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
9c2663
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
9c2663
9c2663
%make_build
9c2663
9c2663
%install
9c2663
rm -f doc/rfc2960.txt doc/states.txt
9c2663
%make_install
9c2663
9c2663
find $RPM_BUILD_ROOT -type f -name "*.la" -delete
9c2663
9c2663
%files
9c2663
%doc AUTHORS ChangeLog COPYING* README
9c2663
%{_bindir}/*
9c2663
%{_libdir}/libsctp.so.1*
9c2663
%dir %{_libdir}/lksctp-tools/
9c2663
%{_libdir}/lksctp-tools/libwithsctp.so.1*
9c2663
%{_mandir}/man7/*
9c2663
9c2663
%files devel
9c2663
%{_includedir}/*
9c2663
%{_libdir}/libsctp.so
9c2663
%{_libdir}/pkgconfig/libsctp.pc
9c2663
%{_libdir}/lksctp-tools/libwithsctp.so
9c2663
%{_datadir}/lksctp-tools/
9c2663
%{_mandir}/man3/*
9c2663
9c2663
%files doc
9c2663
%doc doc/*.txt
9c2663
9c2663
%changelog
9c2663
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.18-11
9c2663
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
9c2663
  Related: rhbz#1991688
9c2663
9c2663
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.18-10
9c2663
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
9c2663
9c2663
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.18-9
9c2663
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
9c2663
9c2663
* Wed Sep 09 2020 Jeff Law <law@redhat.com> - 1.0.18-8
9c2663
- Use symver attribute for symbol versioning.  Re-enable LTO
9c2663
9c2663
* Wed Aug 19 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.0.18-7
9c2663
- Drop useless ldconfig scriptlets
9c2663
9c2663
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.18-6
9c2663
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
9c2663
9c2663
* Wed Jul 01 2020 Jeff Law <law@redhat.com> - 1.0.18-5
9c2663
- Disable LTO
9c2663
9c2663
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.18-4
9c2663
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
9c2663
9c2663
* Fri Oct 18 2019 Vit Mojzis <vmojzis@redhat.com> - 1.0.18-3
9c2663
- Added a patch to fix netinet/sctp.h not to be installed.
9c2663
- Added some fixes for kernel feature detection.
9c2663
- Updated to 1.0.18. [1568622]
9c2663
9c2663
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.16-12
9c2663
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
9c2663
9c2663
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.16-11
9c2663
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
9c2663
9c2663
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.16-10
9c2663
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
9c2663
9c2663
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.16-9
9c2663
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
9c2663
9c2663
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.16-8
9c2663
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
9c2663
9c2663
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.16-7
9c2663
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
9c2663
9c2663
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.16-6
9c2663
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
9c2663
9c2663
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.16-5
9c2663
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
9c2663
9c2663
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.16-4
9c2663
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
9c2663
9c2663
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.16-3
9c2663
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
9c2663
9c2663
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.16-2
9c2663
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
9c2663
9c2663
* Tue May  6 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.16-1
9c2663
- Update to 1.0.16
9c2663
- Spec cleanups
9c2663
9c2663
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.15-2
9c2663
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
9c2663
9c2663
* Sun May 12 2013 Daniel Borkmann <dborkman@redhat.com> - 1.0.15-1
9c2663
- Update to 1.0.15
9c2663
9c2663
* Tue Apr 09 2013 Daniel Borkmann <dborkman@redhat.com> - 1.0.14-1
9c2663
- Update to 1.0.14
9c2663
9c2663
* Fri Jan 25 2013 Daniel Borkmann <dborkman@redhat.com> - 1.0.13-1
9c2663
- Update to 1.0.13
9c2663
9c2663
* Mon Jan 21 2013 Jan Safranek <jsafrane@redhat.com> - 1.0.12-1
9c2663
- Update to 1.0.12
9c2663
9c2663
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.11-5
9c2663
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
9c2663
9c2663
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.11-4
9c2663
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
9c2663
9c2663
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.11-3
9c2663
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
9c2663
9c2663
* Tue Oct 05 2010 Parag Nemade <paragn AT fedoraproject.org> - 1.0.11-2
9c2663
- Merge-review cleanup (#226100)
9c2663
9c2663
* Tue Dec  1 2009 Jan Safranek <jsafrane@redhat.com> 1.0.11-1
9c2663
- Update to 1.0.11
9c2663
- Remove rpath from compiled binaries
9c2663
- Remove static libraries
9c2663
9c2663
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.10-2
9c2663
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
9c2663
9c2663
* Tue Apr 14 2009 Zdenek Prikryl <zprikryl@redhat.com> 1.0.10-1
9c2663
- added release tag to Requires of devel and doc packages (#492531)
9c2663
- Update to 1.0.10
9c2663
9c2663
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.9-2
9c2663
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
9c2663
9c2663
* Wed Aug 06 2008 Zdenek Prikryl <zprikryl@redhat.com> 1.0.9-1
9c2663
- Update to 1.0.9
9c2663
9c2663
* Wed Jul 16 2008 Zdenek Prikryl <zprikryl@redhat.com> 1.0.8-1
9c2663
- Update to 1.0.8
9c2663
9c2663
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.7-3
9c2663
- Autorebuild for GCC 4.3
9c2663
9c2663
* Wed Aug 29 2007 Karsten Hopp <karsten@redhat.com> 1.0.7-2
9c2663
- rebuild for buildid
9c2663
9c2663
* Wed Aug 08 2007 Karsten Hopp <karsten@redhat.com> 1.0.7-1
9c2663
- update to 1.0.7
9c2663
- update license tag
9c2663
9c2663
* Wed Feb 21 2007 Karsten Hopp <karsten@redhat.com> 1.0.6-3
9c2663
- add post/postun requirements
9c2663
- review fixes
9c2663
9c2663
* Tue Sep 19 2006 Karsten Hopp <karsten@redhat.de> 1.0.6-2
9c2663
- fix fileconflict (#205225)
9c2663
9c2663
* Tue Jul 25 2006 Karsten Hopp <karsten@redhat.de> 1.0.6-1
9c2663
- update to 1.0.6
9c2663
9c2663
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.0.5-1.fc5.2.1
9c2663
- rebuild
9c2663
9c2663
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.5-1.fc5.2
9c2663
- bump again for double-long bug on ppc(64)
9c2663
9c2663
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.5-1.fc5.1
9c2663
- rebuilt for new gcc4.1 snapshot and glibc changes
9c2663
9c2663
* Tue Jan 24 2006 Warren Togami <wtogami@redhat.com> 1.0.5-1
9c2663
- 1.0.5
9c2663
9c2663
* Fri Nov 11 2005 Matthias Saou <http://freshrpms.net/> 1.0.4-1
9c2663
- Update to 1.0.4.
9c2663
- Update syntax patch.
9c2663
- Execute bootstrap if no configure script is found.
9c2663
- Don't own entire man? directories.
9c2663
- Own data and lib lksctp-tools directories.
9c2663
- Move devel libs in _libdir/lksctp-tools/ to devel package.
9c2663
- Exclude .la files.
9c2663
- Minor spec file cleanups.
9c2663
9c2663
* Wed Mar 02 2005 Karsten Hopp <karsten@redhat.de> 1.0.2-5
9c2663
- build with gcc-4
9c2663
9c2663
* Mon Feb 07 2005 Karsten Hopp <karsten@redhat.de> 1.0.2-4
9c2663
- initialize variable before use
9c2663
- fix subscript out of range bug (#147286)
9c2663
9c2663
* Mon Jan 24 2005 Karsten Hopp <karsten@redhat.de> 1.0.2-3
9c2663
- build for FC
9c2663
9c2663
* Mon Jan 24 2005 Karsten Hopp <karsten@redhat.de> 1.0.2-2.40E.1
9c2663
- initial RH version based on sourceforge rpm
9c2663
9c2663
* Thu Dec 30 2004 Sridhar Samudrala <sri@us.ibm.com> 1.0.2-1
9c2663
- 1.0.2 Release
9c2663
9c2663
* Tue May 11 2004 Sridhar Samudrala <sri@us.ibm.com> 1.0.1-1
9c2663
- 1.0.1 Release
9c2663
9c2663
* Thu Feb 26 2004 Sridhar Samudrala <sri@us.ibm.com> 1.0.0-1
9c2663
- 1.0.0 Release
9c2663
9c2663
* Fri Feb  6 2004 Francois-Xavier Kowalski <francois-xavier.kowalski@hp.com> 0.9.0-1
9c2663
- package only .txt doc files
9c2663
9c2663
* Wed Feb  4 2004 Francois-Xavier Kowalski <francois-xavier.kowalski@hp.com> 0.7.5-1
9c2663
- badly placed & undelivered files
9c2663
- simplified delivery list
9c2663
9c2663
* Tue Jan 27 2004 Francois-Xavier Kowalski <francois-xavier.kowalski@hp.com> 0.7.5-1
9c2663
- Integrate comment from project team
9c2663
9c2663
* Sat Jan 10 2004 Francois-Xavier Kowalski <francois-xavier.kowalski@hp.com> 2.6.0_test7_0.7.4-1
9c2663
- Creation