2007-01-16 00:24:03 +01:00
|
|
|
#
|
2011-11-25 11:12:20 +01:00
|
|
|
# spec file for package lksctp-tools
|
2007-01-16 00:24:03 +01:00
|
|
|
#
|
2013-01-21 13:28:33 +01:00
|
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:24:03 +01:00
|
|
|
#
|
2008-09-01 15:25:40 +02:00
|
|
|
# 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.
|
|
|
|
|
2007-04-26 01:15:54 +02:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2007-01-16 00:24:03 +01:00
|
|
|
#
|
|
|
|
|
2012-06-20 08:35:32 +02:00
|
|
|
|
2007-04-26 01:15:54 +02:00
|
|
|
Name: lksctp-tools
|
|
|
|
Summary: Utilities for SCTP (Stream Control Transmission Protocol)
|
2011-12-06 18:26:50 +01:00
|
|
|
License: LGPL-2.1+
|
2007-04-26 01:15:54 +02:00
|
|
|
Group: Productivity/Networking/Other
|
2013-01-21 13:28:33 +01:00
|
|
|
Version: 1.0.12
|
2012-02-20 12:42:40 +01:00
|
|
|
Release: 0
|
2008-02-26 02:13:44 +01:00
|
|
|
Url: http://lksctp.sourceforge.net
|
2013-01-21 13:28:33 +01:00
|
|
|
Source0: http://downloads.sourceforge.net/project/lksctp/lksctp-tools/%{name}-%{version}.tar.gz
|
2007-04-26 01:15:54 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2011-11-25 11:12:20 +01:00
|
|
|
BuildRequires: libtool
|
2007-01-16 00:24:03 +01:00
|
|
|
|
|
|
|
%description
|
2007-04-26 01:15:54 +02:00
|
|
|
This package contains the SCTP base runtime library and command line
|
2007-01-16 00:24:03 +01:00
|
|
|
tools.
|
|
|
|
|
2007-04-26 01:15:54 +02:00
|
|
|
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.
|
2007-01-16 00:24:03 +01:00
|
|
|
|
|
|
|
%package devel
|
2007-04-26 01:15:54 +02:00
|
|
|
Summary: Development files for SCTP (Stream Control Transmission Protocol)
|
2007-07-18 21:55:23 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2007-04-26 01:15:54 +02:00
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: glibc-devel
|
2007-01-16 00:24:03 +01:00
|
|
|
|
|
|
|
%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
|
2012-02-20 12:42:40 +01:00
|
|
|
%setup -q
|
2007-01-16 00:24:03 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
autoreconf --force --install
|
|
|
|
CPPFLAGS="-I`pwd`/include" \
|
|
|
|
%configure --prefix=/usr \
|
|
|
|
--enable-shared \
|
2008-09-01 15:25:40 +02:00
|
|
|
--disable-static
|
2012-02-20 12:42:40 +01:00
|
|
|
make %{?_smp_mflags}
|
2007-01-16 00:24:03 +01:00
|
|
|
|
|
|
|
%install
|
2008-09-01 15:25:40 +02:00
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
rm $RPM_BUILD_ROOT/%{_libdir}/lksctp-tools/*.la
|
|
|
|
rm $RPM_BUILD_ROOT/%{_libdir}/*.la
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
2007-01-16 00:24:03 +01:00
|
|
|
|
2008-09-01 15:25:40 +02:00
|
|
|
%postun -p /sbin/ldconfig
|
2007-01-16 00:24:03 +01:00
|
|
|
|
|
|
|
%files
|
2007-04-26 01:15:54 +02:00
|
|
|
%defattr(-,root,root,-)
|
2007-01-16 00:24:03 +01:00
|
|
|
%doc AUTHORS COPYING ChangeLog COPYING.lib
|
|
|
|
%doc doc/*.txt
|
2007-04-26 01:15:54 +02:00
|
|
|
%{_bindir}/*
|
|
|
|
%{_libdir}/libsctp.so.*
|
|
|
|
%dir %{_libdir}/lksctp-tools
|
|
|
|
%{_libdir}/lksctp-tools/*.so.*
|
|
|
|
%{_mandir}/man7/*
|
2007-01-16 00:24:03 +01:00
|
|
|
|
|
|
|
%files devel
|
2007-04-26 01:15:54 +02:00
|
|
|
%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
|