From de0eba21aefd4f3d86a485803b7049a745effd18 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 05:54:26 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.12-1mamba;Thu Oct 16 2014] --- README.md | 2 ++ libteam.spec | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 96 insertions(+) create mode 100644 libteam.spec diff --git a/README.md b/README.md index 2c3eb88..8777883 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libteam +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. + diff --git a/libteam.spec b/libteam.spec new file mode 100644 index 0000000..b43587e --- /dev/null +++ b/libteam.spec @@ -0,0 +1,94 @@ +Name: libteam +Version: 1.12 +Release: 1mamba +Summary: A mechanism to team multiple NICs (ports) into one logical one (teamdev) at L2 layer +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://libteam.org/ +Source: http://libteam.org/files/libteam-%{version}.tar.gz +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libdaemon-devel +BuildRequires: libdbus-devel +BuildRequires: libjansson-devel +BuildRequires: libnl-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%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. + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + +%package tools +Group: Applications/Networking +Summary: Utility applications for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description tools +This package contains utility applications for %{name}. + +%debug_package + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libteam.so.* +%{_libdir}/libteamdctl.so.* +%doc COPYING + +%files devel +%defattr(-,root,root) +%{_includedir}/team.h +%{_includedir}/teamdctl.h +%{_libdir}/libteam.a +%{_libdir}/libteam.la +%{_libdir}/libteam.so +%{_libdir}/libteamdctl.a +%{_libdir}/libteamdctl.la +%{_libdir}/libteamdctl.so +%{_libdir}/pkgconfig/libteam.pc +%{_libdir}/pkgconfig/libteamdctl.pc +%doc README + +%files tools +%defattr(-,root,root) +%{_bindir}/bond2team +%{_bindir}/teamd +%{_bindir}/teamdctl +%{_bindir}/teamnl +%{_mandir}/man1/bond2team.1* +%{_mandir}/man5/teamd.conf.5* +%{_mandir}/man8/teamd.8* +%{_mandir}/man8/teamdctl.8* +%{_mandir}/man8/teamnl.8* + +%changelog +* Thu Oct 16 2014 Silvan Calarco 1.12-1mamba +- package created using the webbuild interface