146 lines
4.1 KiB
RPMSpec
146 lines
4.1 KiB
RPMSpec
#
|
|
# spec file for package lksctp-tools (Version 1.0.9)
|
|
#
|
|
# Copyright (c) 2008 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.9
|
|
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 <piggy@acm.org>
|
|
Jon Grimm <jgrimm@us.ibm.com>
|
|
Sridhar Samudrala <sri@us.ibm.com>
|
|
|
|
%package devel
|
|
License: LGPL v2.1 or later
|
|
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 <piggy@acm.org>
|
|
Jon Grimm <jgrimm@us.ibm.com>
|
|
Sridhar Samudrala <sri@us.ibm.com>
|
|
|
|
%prep
|
|
%setup -q -n %name-%version
|
|
%patch0 -p1
|
|
|
|
%build
|
|
autoreconf --force --install
|
|
CPPFLAGS="-I`pwd`/include" \
|
|
%configure --prefix=/usr \
|
|
--enable-shared \
|
|
--disable-static
|
|
make
|
|
|
|
%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
|
|
* Mon Sep 01 2008 meissner@suse.de
|
|
- upgraded to 1.0.9
|
|
- adjusted to 2.6.26
|
|
- Implement and export SCTP-AUTH API extensions based on sctpsocket-16 draft
|
|
- lots of bugfixes
|
|
- disable shared libraries and .la files
|
|
* Tue Feb 26 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)
|
|
* Thu Nov 03 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
|