7ad6d6
Summary: User-space access to Linux Kernel SCTP
7ad6d6
Name: lksctp-tools
7ad6d6
Version: 1.0.13
7ad6d6
Release: 1%{?dist}
7ad6d6
# src/apps/bindx_test.C is GPLv2, I've asked upstream for clarification
7ad6d6
License: GPLv2 and GPLv2+ and LGPLv2 and MIT
7ad6d6
Group: System Environment/Libraries
7ad6d6
URL: http://lksctp.org
7ad6d6
Source0:  http://downloads.sourceforge.net/lksctp/%{name}-%{version}.tar.gz
7ad6d6
Patch0: lksctp-tools-1.0.6-libdir.patch
7ad6d6
BuildRequires: libtool, automake, autoconf
7ad6d6
7ad6d6
%description
7ad6d6
This is the lksctp-tools package for Linux Kernel SCTP (Stream Control
7ad6d6
Transmission Protocol) Reference Implementation.
7ad6d6
7ad6d6
This package is intended to supplement the Linux Kernel SCTP Reference
7ad6d6
Implementation now available in the Linux kernel source tree in
7ad6d6
versions 2.5.36 and following.  For more information on LKSCTP see the
7ad6d6
package documentation README file, section titled "LKSCTP - Linux
7ad6d6
Kernel SCTP."
7ad6d6
7ad6d6
This package contains the base run-time library and command-line tools.
7ad6d6
7ad6d6
%package devel
7ad6d6
Summary: Development files for lksctp-tools
7ad6d6
Group: Development/Libraries
7ad6d6
Requires: %{name} = %{version}-%{release}
7ad6d6
7ad6d6
%description devel
7ad6d6
Development files for lksctp-tools which include man pages, header files,
7ad6d6
static libraries, symlinks to dynamic libraries and some tutorial source code.
7ad6d6
7ad6d6
%package doc
7ad6d6
Summary: Documents pertaining to SCTP
7ad6d6
Group: System Environment/Libraries
7ad6d6
Requires: %{name} = %{version}-%{release}
7ad6d6
7ad6d6
%description doc
7ad6d6
Documents pertaining to LKSCTP & SCTP in general (IETF RFC's & Internet
7ad6d6
Drafts).
7ad6d6
7ad6d6
%prep
7ad6d6
%setup -q
7ad6d6
%patch0 -p1
7ad6d6
7ad6d6
%build
7ad6d6
[ ! -x ./configure ] && sh bootstrap
7ad6d6
%configure --disable-static
7ad6d6
# remove rpath from libtool
7ad6d6
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
7ad6d6
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
7ad6d6
7ad6d6
make %{?_smp_mflags}
7ad6d6
7ad6d6
%install
7ad6d6
rm -f doc/rfc2960.txt doc/states.txt
7ad6d6
make install DESTDIR="$RPM_BUILD_ROOT" INSTALL="install -p"
7ad6d6
7ad6d6
find $RPM_BUILD_ROOT/%{_libdir}/ -name "*.la"  | xargs rm -f
7ad6d6
7ad6d6
%post -p /sbin/ldconfig
7ad6d6
7ad6d6
%postun -p /sbin/ldconfig
7ad6d6
7ad6d6
%files
7ad6d6
%defattr(-,root,root,-)
7ad6d6
%doc AUTHORS ChangeLog COPYING* README
7ad6d6
%{_bindir}/*
7ad6d6
%{_libdir}/libsctp.so.*
7ad6d6
%dir %{_libdir}/lksctp-tools/
7ad6d6
%{_libdir}/lksctp-tools/libwithsctp.so.*
7ad6d6
%{_mandir}/man7/*
7ad6d6
7ad6d6
%files devel
7ad6d6
%defattr(-,root,root,-)
7ad6d6
%{_includedir}/*
7ad6d6
%{_libdir}/libsctp.so
7ad6d6
%{_libdir}/lksctp-tools/libwithsctp.so
7ad6d6
%{_datadir}/lksctp-tools/
7ad6d6
%{_mandir}/man3/*
7ad6d6
7ad6d6
%files doc
7ad6d6
%defattr(-,root,root,-)
7ad6d6
%doc doc/*.txt
7ad6d6
7ad6d6
%changelog
7ad6d6
* Wed Mar  6 2013 Daniel Borkmann <dborkman@redhat.com> 1.0.13-1
7ad6d6
- Update to 1.0.13
7ad6d6
- Upstream URL is lksctp.org
7ad6d6
7ad6d6
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.11-5
7ad6d6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
7ad6d6
7ad6d6
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.11-4
7ad6d6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
7ad6d6
7ad6d6
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.11-3
7ad6d6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
7ad6d6
7ad6d6
* Tue Oct 05 2010 Parag Nemade <paragn AT fedoraproject.org> - 1.0.11-2
7ad6d6
- Merge-review cleanup (#226100)
7ad6d6
7ad6d6
* Tue Dec  1 2009 Jan Safranek <jsafrane@redhat.com> 1.0.11-1
7ad6d6
- Update to 1.0.11
7ad6d6
- Remove rpath from compiled binaries
7ad6d6
- Remove static libraries
7ad6d6
7ad6d6
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.10-2
7ad6d6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
7ad6d6
7ad6d6
* Tue Apr 14 2009 Zdenek Prikryl <zprikryl@redhat.com> 1.0.10-1
7ad6d6
- added release tag to Requires of devel and doc packages (#492531)
7ad6d6
- Update to 1.0.10
7ad6d6
7ad6d6
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.9-2
7ad6d6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
7ad6d6
7ad6d6
* Wed Aug 06 2008 Zdenek Prikryl <zprikryl@redhat.com> 1.0.9-1
7ad6d6
- Update to 1.0.9
7ad6d6
7ad6d6
* Wed Jul 16 2008 Zdenek Prikryl <zprikryl@redhat.com> 1.0.8-1
7ad6d6
- Update to 1.0.8
7ad6d6
7ad6d6
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.7-3
7ad6d6
- Autorebuild for GCC 4.3
7ad6d6
7ad6d6
* Wed Aug 29 2007 Karsten Hopp <karsten@redhat.com> 1.0.7-2
7ad6d6
- rebuild for buildid
7ad6d6
7ad6d6
* Wed Aug 08 2007 Karsten Hopp <karsten@redhat.com> 1.0.7-1
7ad6d6
- update to 1.0.7
7ad6d6
- update license tag
7ad6d6
7ad6d6
* Wed Feb 21 2007 Karsten Hopp <karsten@redhat.com> 1.0.6-3
7ad6d6
- add post/postun requirements
7ad6d6
- review fixes
7ad6d6
7ad6d6
* Tue Sep 19 2006 Karsten Hopp <karsten@redhat.de> 1.0.6-2
7ad6d6
- fix fileconflict (#205225)
7ad6d6
7ad6d6
* Tue Jul 25 2006 Karsten Hopp <karsten@redhat.de> 1.0.6-1
7ad6d6
- update to 1.0.6
7ad6d6
7ad6d6
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.0.5-1.fc5.2.1
7ad6d6
- rebuild
7ad6d6
7ad6d6
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.5-1.fc5.2
7ad6d6
- bump again for double-long bug on ppc(64)
7ad6d6
7ad6d6
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.5-1.fc5.1
7ad6d6
- rebuilt for new gcc4.1 snapshot and glibc changes
7ad6d6
7ad6d6
* Tue Jan 24 2006 Warren Togami <wtogami@redhat.com> 1.0.5-1
7ad6d6
- 1.0.5
7ad6d6
7ad6d6
* Fri Nov 11 2005 Matthias Saou <http://freshrpms.net/> 1.0.4-1
7ad6d6
- Update to 1.0.4.
7ad6d6
- Update syntax patch.
7ad6d6
- Execute bootstrap if no configure script is found.
7ad6d6
- Don't own entire man? directories.
7ad6d6
- Own data and lib lksctp-tools directories.
7ad6d6
- Move devel libs in _libdir/lksctp-tools/ to devel package.
7ad6d6
- Exclude .la files.
7ad6d6
- Minor spec file cleanups.
7ad6d6
7ad6d6
* Wed Mar 02 2005 Karsten Hopp <karsten@redhat.de> 1.0.2-5
7ad6d6
- build with gcc-4
7ad6d6
7ad6d6
* Mon Feb 07 2005 Karsten Hopp <karsten@redhat.de> 1.0.2-4
7ad6d6
- initialize variable before use
7ad6d6
- fix subscript out of range bug (#147286)
7ad6d6
7ad6d6
* Mon Jan 24 2005 Karsten Hopp <karsten@redhat.de> 1.0.2-3
7ad6d6
- build for FC
7ad6d6
7ad6d6
* Mon Jan 24 2005 Karsten Hopp <karsten@redhat.de> 1.0.2-2.40E.1
7ad6d6
- initial RH version based on sourceforge rpm
7ad6d6
7ad6d6
* Thu Dec 30 2004 Sridhar Samudrala <sri@us.ibm.com> 1.0.2-1
7ad6d6
- 1.0.2 Release
7ad6d6
7ad6d6
* Tue May 11 2004 Sridhar Samudrala <sri@us.ibm.com> 1.0.1-1
7ad6d6
- 1.0.1 Release
7ad6d6
7ad6d6
* Thu Feb 26 2004 Sridhar Samudrala <sri@us.ibm.com> 1.0.0-1
7ad6d6
- 1.0.0 Release
7ad6d6
7ad6d6
* Fri Feb  6 2004 Francois-Xavier Kowalski <francois-xavier.kowalski@hp.com> 0.9.0-1
7ad6d6
- package only .txt doc files
7ad6d6
7ad6d6
* Wed Feb  4 2004 Francois-Xavier Kowalski <francois-xavier.kowalski@hp.com> 0.7.5-1
7ad6d6
- badly placed & undelivered files
7ad6d6
- simplified delivery list
7ad6d6
7ad6d6
* Tue Jan 27 2004 Francois-Xavier Kowalski <francois-xavier.kowalski@hp.com> 0.7.5-1
7ad6d6
- Integrate comment from project team
7ad6d6
7ad6d6
* Sat Jan 10 2004 Francois-Xavier Kowalski <francois-xavier.kowalski@hp.com> 2.6.0_test7_0.7.4-1
7ad6d6
- Creation