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