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: 9e51c42b08ff8e80561e0b1cd5af266f
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 # if non-root --with-group or --with-user
18 #BuildRequires: libcap-devel
19 BuildRequires: libdaemon-devel
20 BuildRequires: libnl-devel >= 3.2
21 BuildRequires: libtool >= 2:2
22 BuildRequires: pkgconfig
23 BuildRequires: zeromq-devel >= 3.2.0
24 Requires: libnl >= 3.2
25 Requires: zeromq >= 3.2.0
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 The purpose of the Team driver is to provide a mechanism to team
30 multiple NICs (ports) into one logical one (teamdev) at L2 layer. The
31 process is called "channel bonding", "Ethernet bonding", "channel
32 teaming", "link aggregation", etc. This is already implemented in the
33 Linux kernel by the bonding driver.
35 One thing to note is that Team driver project does try to provide the
36 similar functionality as the bonding driver, however architecturally
37 it is quite different from bonding driver. Team driver is modular,
38 userspace driven, very lean and efficient, and it does have some
39 distinct advantages over bonding. The way Team is configured differs
40 dramatically from the way bonding is.
42 %description -l pl.UTF-8
43 Celem sterownika Team jest dostarczenie mechanizmu do grupowania
44 (team) wielu interfejsów (portów) sieciowych (czyli NIC) w jeden
45 logiczny (teamdev) w warstwie L2. Proces ten jest nazywany
46 "channel bonding", "Ethernet bonding", "channel teaming", "link
47 aggregation" itp. Jest to już zaimplementowane w jądrze Linuksa
48 poprzez sterownik bonding.
50 Należy zauważyć, że projekt sterownika Team próbuje zapewnić
51 podobną funkcjonalność co sterownik bonding, ale architektonicznie
52 różni się od niego. Jest modularny, działa w przestrzeni użytkownika,
53 jest bardzo lekki i wydajny, ma też kilka zalet, których nie ma
54 bonding. Sposób konfiguracji sterownika Team znacząco różni się od
55 konfiguracji sterownika bonding.
58 Summary: Header files for libteam library
59 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libteam
60 Group: Development/Libraries
61 Requires: %{name} = %{version}-%{release}
62 Requires: libnl-devel >= 3.2
65 Header files for libteam library.
67 %description devel -l pl.UTF-8
68 Pliki nagłówkowe biblioteki libteam.
71 Summary: Static libteam library
72 Summary(pl.UTF-8): Statyczna biblioteka libteam
73 Group: Development/Libraries
74 Requires: %{name}-devel = %{version}-%{release}
77 Static libteam library.
79 %description static -l pl.UTF-8
80 Statyczna biblioteka libteam.
93 --disable-silent-rules
98 rm -rf $RPM_BUILD_ROOT
101 DESTDIR=$RPM_BUILD_ROOT
103 # obsoleted by pkg-config
104 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
107 rm -rf $RPM_BUILD_ROOT
109 %post -p /sbin/ldconfig
110 %postun -p /sbin/ldconfig
113 %defattr(644,root,root,755)
115 %attr(755,root,root) %{_bindir}/bond2team
116 %attr(755,root,root) %{_bindir}/teamd
117 %attr(755,root,root) %{_bindir}/teamdctl
118 %attr(755,root,root) %{_bindir}/teamnl
119 %attr(755,root,root) %{_libdir}/libteam.so.*.*.*
120 %attr(755,root,root) %ghost %{_libdir}/libteam.so.5
121 %attr(755,root,root) %{_libdir}/libteamdctl.so.*.*.*
122 %attr(755,root,root) %ghost %{_libdir}/libteamdctl.so.0
123 %{_mandir}/man1/bond2team.1*
124 %{_mandir}/man5/teamd.conf.5*
125 %{_mandir}/man8/teamd.8*
126 %{_mandir}/man8/teamdctl.8*
127 %{_mandir}/man8/teamnl.8*
130 %defattr(644,root,root,755)
131 %attr(755,root,root) %{_libdir}/libteam.so
132 %attr(755,root,root) %{_libdir}/libteamdctl.so
133 %{_includedir}/team.h
134 %{_includedir}/teamdctl.h
135 %{_pkgconfigdir}/libteam.pc
136 %{_pkgconfigdir}/libteamdctl.pc
139 %defattr(644,root,root,755)
141 %{_libdir}/libteamdctl.a