]> git.pld-linux.org Git - packages/libteam.git/blame - libteam.spec
- updated to 1.15
[packages/libteam.git] / libteam.spec
CommitLineData
40d088c8
JB
1Summary: Library for controlling team network device
2Summary(pl.UTF-8): Biblioteka do sterowania grupowymi urządzeniami sieciowymi
3Name: libteam
2419f546 4Version: 1.15
40d088c8
JB
5Release: 1
6License: LGPL v2.1+
7Group: Libraries
8#Source0Download: http://libteam.org/
9Source0: http://libteam.org/files/%{name}-%{version}.tar.gz
2419f546
JB
10# Source0-md5: 4f563df390b4f11e45c030a9ac38a250
11Patch0: %{name}-link.patch
40d088c8
JB
12URL: http://libteam.org/
13BuildRequires: autoconf >= 2.50
14BuildRequires: automake
15BuildRequires: dbus-devel
16BuildRequires: jansson-devel
17BuildRequires: libdaemon-devel
18BuildRequires: libnl-devel >= 3.2
19BuildRequires: libtool >= 2:2
20BuildRequires: pkgconfig
21BuildRequires: zeromq-devel >= 3.2.0
22Requires: libnl >= 3.2
23Requires: zeromq >= 3.2.0
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27The purpose of the Team driver is to provide a mechanism to team
28multiple NICs (ports) into one logical one (teamdev) at L2 layer. The
29process is called "channel bonding", "Ethernet bonding", "channel
30teaming", "link aggregation", etc. This is already implemented in the
31Linux kernel by the bonding driver.
32
33One thing to note is that Team driver project does try to provide the
34similar functionality as the bonding driver, however architecturally
35it is quite different from bonding driver. Team driver is modular,
36userspace driven, very lean and efficient, and it does have some
37distinct advantages over bonding. The way Team is configured differs
38dramatically from the way bonding is.
39
40%description -l pl.UTF-8
41Celem sterownika Team jest dostarczenie mechanizmu do grupowania
42(team) wielu interfejsów (portów) sieciowych (czyli NIC) w jeden
43logiczny (teamdev) w warstwie L2. Proces ten jest nazywany
44"channel bonding", "Ethernet bonding", "channel teaming", "link
45aggregation" itp. Jest to już zaimplementowane w jądrze Linuksa
46poprzez sterownik bonding.
47
48Należy zauważyć, że projekt sterownika Team próbuje zapewnić
49podobną funkcjonalność co sterownik bonding, ale architektonicznie
50różni się od niego. Jest modularny, działa w przestrzeni użytkownika,
51jest bardzo lekki i wydajny, ma też kilka zalet, których nie ma
52bonding. Sposób konfiguracji sterownika Team znacząco różni się od
53konfiguracji sterownika bonding.
54
55%package devel
56Summary: Header files for libteam library
57Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libteam
58Group: Development/Libraries
59Requires: %{name} = %{version}-%{release}
60Requires: libnl-devel >= 3.2
61
62%description devel
63Header files for libteam library.
64
65%description devel -l pl.UTF-8
66Pliki nagłówkowe biblioteki libteam.
67
68%package static
69Summary: Static libteam library
70Summary(pl.UTF-8): Statyczna biblioteka libteam
71Group: Development/Libraries
72Requires: %{name}-devel = %{version}-%{release}
73
74%description static
75Static libteam library.
76
77%description static -l pl.UTF-8
78Statyczna biblioteka libteam.
79
80%prep
81%setup -q
82%patch0 -p1
40d088c8
JB
83
84%build
85%{__libtoolize}
86%{__aclocal} -I m4
87%{__autoconf}
88%{__autoheader}
89%{__automake}
90%configure \
91 --disable-silent-rules
92
93%{__make}
94
95%install
96rm -rf $RPM_BUILD_ROOT
97
98%{__make} install \
99 DESTDIR=$RPM_BUILD_ROOT
100
101# obsoleted by pkg-config
102%{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
103
104%clean
105rm -rf $RPM_BUILD_ROOT
106
107%post -p /sbin/ldconfig
108%postun -p /sbin/ldconfig
109
110%files
111%defattr(644,root,root,755)
112%doc README
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*
126
127%files devel
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
135
136%files static
137%defattr(644,root,root,755)
138%{_libdir}/libteam.a
139%{_libdir}/libteamdctl.a
This page took 0.119802 seconds and 4 git commands to generate.