# # spec file for package lksctp-tools # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # 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.10 Release: 2 License: LGPL-2.1+ Group: Productivity/Networking/Other Url: http://lksctp.sourceforge.net Source0: %name-%version.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: libtool %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. %package devel License: LGPL-2.1+ 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. %prep %setup -q -n %name-%version %build autoreconf --force --install CPPFLAGS="-I`pwd`/include" \ %configure --prefix=/usr \ --enable-shared \ --disable-static make %{?jobs:-j%jobs} %install make install DESTDIR=$RPM_BUILD_ROOT rm $RPM_BUILD_ROOT/%{_libdir}/lksctp-tools/*.la rm $RPM_BUILD_ROOT/%{_libdir}/*.la %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/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 %dir %{_libdir}/lksctp-tools %{_libdir}/lksctp-tools/*.so %dir %{_datadir}/lksctp-tools %{_datadir}/lksctp-tools/* %{_mandir}/man3/* %changelog