lksctp-tools/lksctp-tools.spec

96 lines
2.9 KiB
RPMSpec
Raw Normal View History

Name: lksctp-tools
Version: 1.0.19
Release: 1mamba
Summary: A Linux user space library for accessing SCTP specific application programming interfaces
Group: System/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/sctp/lksctp-tools
Source: https://github.com/sctp/lksctp-tools.git/v%{version}/lksctp-tools-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
Requires: libsctp = %{?epoch:%epoch:}%{version}-%{release}
%description
The lksctp-tools project provides a Linux user space library for SCTP (libsctp) including C language header files (netinet/sctp.h) for accessing SCTP specific application programming interfaces not provided by the standard sockets, and also some helper utilities around SCTP.
%package -n libsctp
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n libsctp
The lksctp-tools project provides a Linux user space library for SCTP (libsctp) including C language header files (netinet/sctp.h) for accessing SCTP specific application programming interfaces not provided by the standard sockets, and also some helper utilities around SCTP.
This package contains shared libraries for %{name}.
%package -n libsctp-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: libsctp = %{?epoch:%epoch:}%{version}-%{release}
%description -n libsctp-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
./bootstrap
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n libsctp -p /sbin/ldconfig
%postun -n libsctp -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/checksctp
%{_bindir}/sctp_darn
%{_bindir}/sctp_status
%{_bindir}/sctp_test
%{_bindir}/withsctp
%dir %{_datadir}/lksctp-tools
%{_datadir}/lksctp-tools/*.c
%{_datadir}/lksctp-tools/*.h
%{_mandir}/man7/sctp.7*
%files -n libsctp
%defattr(-,root,root)
%{_libdir}/libsctp.so.*
%{_libdir}/lksctp-tools/libwithsctp.so.*
%doc AUTHORS COPYING
%files -n libsctp-devel
%defattr(-,root,root)
%{_includedir}/netinet/sctp.h
%{_libdir}/libsctp.a
%{_libdir}/libsctp.la
%{_libdir}/libsctp.so
%{_libdir}/lksctp-tools/libwithsctp.a
%{_libdir}/lksctp-tools/libwithsctp.la
%{_libdir}/lksctp-tools/libwithsctp.so
%{_libdir}/pkgconfig/libsctp.pc
%{_mandir}/man3/sctp_*.3*
%doc ChangeLog NEWS README
%changelog
* Wed May 19 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.19-1mamba
- update to 1.0.19
* Thu Jun 23 2016 Automatic Build System <autodist@mambasoft.it> 1.0.17-1mamba
- automatic version update by autodist
* Wed Nov 18 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.16-1mamba
- package created using the webbuild interface