# # spec file for package lksctp-tools (Version 1.0.8) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: lksctp-tools Summary: Utilities for SCTP (Stream Control Transmission Protocol) Version: 1.0.8 Release: 1 License: LGPL v2.1 or later Group: Productivity/Networking/Other Url: http://lksctp.sourceforge.net Source0: %name-%version.tar.bz2 Patch0: lksctp-tools-%{version}-warnings.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This package contains the SCTP base runtime library and command line tools. SCTP (Stream Control Transmission Protocol) is a message-oriented, reliable transport protocol with congestion control, support for transparent multihoming, and multiple ordered streams of messages. Authors: -------- La Monte H.P. Yarroll Jon Grimm Sridhar Samudrala %package devel Summary: Development files for SCTP (Stream Control Transmission Protocol) Group: Development/Libraries/C and C++ Requires: %{name} = %{version} Requires: glibc-devel %description devel This package contains the SCTP development libraries and C header files. SCTP (Stream Control Transmission Protocol) is a message oriented, reliable transport protocol, with congestion control, support for transparent multi-homing, and multiple ordered streams of messages. Authors: -------- La Monte H.P. Yarroll Jon Grimm Sridhar Samudrala %prep %setup -q -n %name-%version %patch0 -p1 %build autoreconf --force --install CPPFLAGS="-I`pwd`/include" \ %configure --prefix=/usr \ --enable-shared \ --enable-static make %install test -n "$RPM_BUILD_ROOT" && DESTDIR=$RPM_BUILD_ROOT && rm -rf $DESTDIR make install DESTDIR=$DESTDIR %post %run_ldconfig %postun %run_ldconfig %files %defattr(-,root,root,-) %doc AUTHORS COPYING ChangeLog COPYING.lib %doc doc/*.txt %{_bindir}/* %{_libdir}/libsctp.so.* %dir %{_libdir}/lksctp-tools %{_libdir}/lksctp-tools/*.so.* %{_mandir}/man7/* %files devel %defattr(-,root,root,-) %{_includedir}/netinet/sctp.h %{_libdir}/libsctp.so %{_libdir}/libsctp.a %{_libdir}/libsctp.la %dir %{_libdir}/lksctp-tools %{_libdir}/lksctp-tools/*.so %{_libdir}/lksctp-tools/*.a %{_libdir}/lksctp-tools/*.la %dir %{_datadir}/lksctp-tools %{_datadir}/lksctp-tools/* %{_mandir}/man3/* %changelog * Mon Feb 25 2008 meissner@suse.de - upgraded to 1.0.8 - added various new features - adjusted to 2.6.24 - bugfixes * Tue Jul 17 2007 meissner@suse.de - upgraded to 1.0.7 - lots of fixes - adjusted to 2.6.22 kernel * Wed Apr 25 2007 meissner@suse.de - fixed some rpmlint problems. Changed permissions to 755/644, moved some development libraries. * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Mon Dec 12 2005 okir@suse.de - Updated to latest upstream version (1.0.4) * Wed Nov 02 2005 dmueller@suse.de - don't build as root * Fri Jan 21 2005 okir@suse.de - Updated to latest upstream version (1.0.2) * Wed May 12 2004 okir@suse.de - Updated to lksctp-tools to 1.0.1 per request from IBM * Tue Mar 16 2004 okir@suse.de - Built initial package