1 Summary: Library for controlling team network device
2 Summary(pl.UTF-8): Biblioteka do sterowania grupowymi urządzeniami sieciowymi
8 #Source0Download: http://libteam.org/
9 Source0: http://libteam.org/files/%{name}-%{version}.tar.gz
10 # Source0-md5: 4f563df390b4f11e45c030a9ac38a250
11 Patch0: %{name}-link.patch
12 URL: http://libteam.org/
13 BuildRequires: autoconf >= 2.50
14 BuildRequires: automake
15 BuildRequires: dbus-devel
16 BuildRequires: jansson-devel
17 BuildRequires: libdaemon-devel
18 BuildRequires: libnl-devel >= 3.2
19 BuildRequires: libtool >= 2:2
20 BuildRequires: pkgconfig
21 BuildRequires: zeromq-devel >= 3.2.0
22 Requires: libnl >= 3.2
23 Requires: zeromq >= 3.2.0
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 The purpose of the Team driver is to provide a mechanism to team
28 multiple NICs (ports) into one logical one (teamdev) at L2 layer. The
29 process is called "channel bonding", "Ethernet bonding", "channel
30 teaming", "link aggregation", etc. This is already implemented in the
31 Linux kernel by the bonding driver.
33 One thing to note is that Team driver project does try to provide the
34 similar functionality as the bonding driver, however architecturally
35 it is quite different from bonding driver. Team driver is modular,
36 userspace driven, very lean and efficient, and it does have some
37 distinct advantages over bonding. The way Team is configured differs
38 dramatically from the way bonding is.
40 %description -l pl.UTF-8
41 Celem sterownika Team jest dostarczenie mechanizmu do grupowania
42 (team) wielu interfejsów (portów) sieciowych (czyli NIC) w jeden
43 logiczny (teamdev) w warstwie L2. Proces ten jest nazywany
44 "channel bonding", "Ethernet bonding", "channel teaming", "link
45 aggregation" itp. Jest to już zaimplementowane w jądrze Linuksa
46 poprzez sterownik bonding.
48 Należy zauważyć, że projekt sterownika Team próbuje zapewnić
49 podobną funkcjonalność co sterownik bonding, ale architektonicznie
50 różni się od niego. Jest modularny, działa w przestrzeni użytkownika,
51 jest bardzo lekki i wydajny, ma też kilka zalet, których nie ma
52 bonding. Sposób konfiguracji sterownika Team znacząco różni się od
53 konfiguracji sterownika bonding.
56 Summary: Header files for libteam library
57 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libteam
58 Group: Development/Libraries
59 Requires: %{name} = %{version}-%{release}
60 Requires: libnl-devel >= 3.2
63 Header files for libteam library.
65 %description devel -l pl.UTF-8
66 Pliki nagłówkowe biblioteki libteam.
69 Summary: Static libteam library
70 Summary(pl.UTF-8): Statyczna biblioteka libteam
71 Group: Development/Libraries
72 Requires: %{name}-devel = %{version}-%{release}
75 Static libteam library.
77 %description static -l pl.UTF-8
78 Statyczna biblioteka libteam.
91 --disable-silent-rules
96 rm -rf $RPM_BUILD_ROOT
99 DESTDIR=$RPM_BUILD_ROOT
101 # obsoleted by pkg-config
102 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
105 rm -rf $RPM_BUILD_ROOT
107 %post -p /sbin/ldconfig
108 %postun -p /sbin/ldconfig
111 %defattr(644,root,root,755)
113 %attr(755,root,root) %{_bindir}/bond2team
114 %attr(755,root,root) %{_bindir}/teamd
115 %attr(755,root,root) %{_bindir}/teamdctl
116 %attr(755,root,root) %{_bindir}/teamnl
117 %attr(755,root,root) %{_libdir}/libteam.so.*.*.*
118 %attr(755,root,root) %ghost %{_libdir}/libteam.so.5
119 %attr(755,root,root) %{_libdir}/libteamdctl.so.*.*.*
120 %attr(755,root,root) %ghost %{_libdir}/libteamdctl.so.0
121 %{_mandir}/man1/bond2team.1*
122 %{_mandir}/man5/teamd.conf.5*
123 %{_mandir}/man8/teamd.8*
124 %{_mandir}/man8/teamdctl.8*
125 %{_mandir}/man8/teamnl.8*
128 %defattr(644,root,root,755)
129 %attr(755,root,root) %{_libdir}/libteam.so
130 %attr(755,root,root) %{_libdir}/libteamdctl.so
131 %{_includedir}/team.h
132 %{_includedir}/teamdctl.h
133 %{_pkgconfigdir}/libteam.pc
134 %{_pkgconfigdir}/libteamdctl.pc
137 %defattr(644,root,root,755)
139 %{_libdir}/libteamdctl.a