# # spec file for package lksctp-tools (Version 1.0.4) # # Copyright (c) 2007 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.4 Release: 44 License: GNU Library General Public License v. 2.0 and 2.1 (LGPL) Group: Productivity/Networking/Other URL: http://lksctp.sourceforge.net Source0: %name-%version.tar.gz 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: Productivity/Networking/Other 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 * 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