Summary: Library for controlling team network device Summary(pl.UTF-8): Biblioteka do sterowania grupowymi urządzeniami sieciowymi Name: libteam Version: 1.15 Release: 1 License: LGPL v2.1+ Group: Libraries #Source0Download: http://libteam.org/ Source0: http://libteam.org/files/%{name}-%{version}.tar.gz # Source0-md5: 4f563df390b4f11e45c030a9ac38a250 Patch0: %{name}-link.patch URL: http://libteam.org/ BuildRequires: autoconf >= 2.50 BuildRequires: automake BuildRequires: dbus-devel BuildRequires: jansson-devel BuildRequires: libdaemon-devel BuildRequires: libnl-devel >= 3.2 BuildRequires: libtool >= 2:2 BuildRequires: pkgconfig BuildRequires: zeromq-devel >= 3.2.0 Requires: libnl >= 3.2 Requires: zeromq >= 3.2.0 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description The purpose of the Team driver is to provide a mechanism to team multiple NICs (ports) into one logical one (teamdev) at L2 layer. The process is called "channel bonding", "Ethernet bonding", "channel teaming", "link aggregation", etc. This is already implemented in the Linux kernel by the bonding driver. One thing to note is that Team driver project does try to provide the similar functionality as the bonding driver, however architecturally it is quite different from bonding driver. Team driver is modular, userspace driven, very lean and efficient, and it does have some distinct advantages over bonding. The way Team is configured differs dramatically from the way bonding is. %description -l pl.UTF-8 Celem sterownika Team jest dostarczenie mechanizmu do grupowania (team) wielu interfejsów (portów) sieciowych (czyli NIC) w jeden logiczny (teamdev) w warstwie L2. Proces ten jest nazywany "channel bonding", "Ethernet bonding", "channel teaming", "link aggregation" itp. Jest to już zaimplementowane w jądrze Linuksa poprzez sterownik bonding. Należy zauważyć, że projekt sterownika Team próbuje zapewnić podobną funkcjonalność co sterownik bonding, ale architektonicznie różni się od niego. Jest modularny, działa w przestrzeni użytkownika, jest bardzo lekki i wydajny, ma też kilka zalet, których nie ma bonding. Sposób konfiguracji sterownika Team znacząco różni się od konfiguracji sterownika bonding. %package devel Summary: Header files for libteam library Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libteam Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: libnl-devel >= 3.2 %description devel Header files for libteam library. %description devel -l pl.UTF-8 Pliki nagłówkowe biblioteki libteam. %package static Summary: Static libteam library Summary(pl.UTF-8): Statyczna biblioteka libteam Group: Development/Libraries Requires: %{name}-devel = %{version}-%{release} %description static Static libteam library. %description static -l pl.UTF-8 Statyczna biblioteka libteam. %prep %setup -q %patch0 -p1 %build %{__libtoolize} %{__aclocal} -I m4 %{__autoconf} %{__autoheader} %{__automake} %configure \ --disable-silent-rules %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT # obsoleted by pkg-config %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(644,root,root,755) %doc README %attr(755,root,root) %{_bindir}/bond2team %attr(755,root,root) %{_bindir}/teamd %attr(755,root,root) %{_bindir}/teamdctl %attr(755,root,root) %{_bindir}/teamnl %attr(755,root,root) %{_libdir}/libteam.so.*.*.* %attr(755,root,root) %ghost %{_libdir}/libteam.so.5 %attr(755,root,root) %{_libdir}/libteamdctl.so.*.*.* %attr(755,root,root) %ghost %{_libdir}/libteamdctl.so.0 %{_mandir}/man1/bond2team.1* %{_mandir}/man5/teamd.conf.5* %{_mandir}/man8/teamd.8* %{_mandir}/man8/teamdctl.8* %{_mandir}/man8/teamnl.8* %files devel %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/libteam.so %attr(755,root,root) %{_libdir}/libteamdctl.so %{_includedir}/team.h %{_includedir}/teamdctl.h %{_pkgconfigdir}/libteam.pc %{_pkgconfigdir}/libteamdctl.pc %files static %defattr(644,root,root,755) %{_libdir}/libteam.a %{_libdir}/libteamdctl.a