update code
This commit is contained in:
parent
bf491cc2a5
commit
ecb7265026
36
libteam.spec
36
libteam.spec
@ -9,6 +9,8 @@ Source: http://www.libteam.org/files/libteam-%{version}.tar.gz
|
|||||||
BuildRequires: gcc jansson-devel libdaemon-devel libnl3-devel
|
BuildRequires: gcc jansson-devel libdaemon-devel libnl3-devel
|
||||||
BuildRequires: swig python2-devel dbus-devel systemd doxygen
|
BuildRequires: swig python2-devel dbus-devel systemd doxygen
|
||||||
|
|
||||||
|
Provides: teamd = %{version}-%{release}
|
||||||
|
Provides: teamd%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package is the user-space counterpart for the team network
|
This package is the user-space counterpart for the team network
|
||||||
@ -17,24 +19,12 @@ driver, and provides an API to control them.
|
|||||||
%package devel
|
%package devel
|
||||||
Summary : The devel for %{name}
|
Summary : The devel for %{name}
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Provides: teamd-devel = %{version}-%{release}
|
||||||
|
Provides: teamd-devel%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Libraries and header files for libteam development
|
Libraries and header files for libteam development
|
||||||
|
|
||||||
%package -n teamd
|
|
||||||
Summary: Device control daemon for team network
|
|
||||||
Requires: %{name} = %{version}-%{release}
|
|
||||||
|
|
||||||
%description -n teamd
|
|
||||||
Team network device control daemon
|
|
||||||
|
|
||||||
%package -n teamd-devel
|
|
||||||
Summary: The devel for teamd
|
|
||||||
Requires: %{name} = %{version}-%{release}
|
|
||||||
|
|
||||||
%description -n teamd-devel
|
|
||||||
Libraries and header files for teamd development
|
|
||||||
|
|
||||||
%package -n network-scripts-teamd
|
%package -n network-scripts-teamd
|
||||||
Summary: legacy network service support of teamd
|
Summary: legacy network service support of teamd
|
||||||
Requires: network-scripts
|
Requires: network-scripts
|
||||||
@ -104,8 +94,14 @@ popd
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%license COPYING
|
%license COPYING
|
||||||
|
%config(noreplace) %attr(644,root,root) %{_sysconfdir}/dbus-1/system.d/teamd.conf
|
||||||
|
%config(noreplace) %attr(644,root,root) %{_unitdir}/teamd@.service
|
||||||
%{_libdir}/libteam.so.*
|
%{_libdir}/libteam.so.*
|
||||||
%{_bindir}/teamnl
|
%{_bindir}/teamnl
|
||||||
|
%{_libdir}/libteamdctl.so.*
|
||||||
|
%{_bindir}/teamd
|
||||||
|
%{_bindir}/teamdctl
|
||||||
|
%{_bindir}/bond2team
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_includedir}/team.h
|
%{_includedir}/team.h
|
||||||
@ -113,17 +109,6 @@ popd
|
|||||||
%{_libdir}/pkgconfig/libteam.pc
|
%{_libdir}/pkgconfig/libteam.pc
|
||||||
%{_libdir}/*.a
|
%{_libdir}/*.a
|
||||||
%{_libdir}/*.la
|
%{_libdir}/*.la
|
||||||
|
|
||||||
%files -n teamd
|
|
||||||
%doc teamd/example_configs teamd/redhat/example_ifcfgs/
|
|
||||||
%config(noreplace) %attr(644,root,root) %{_sysconfdir}/dbus-1/system.d/teamd.conf
|
|
||||||
%config(noreplace) %attr(644,root,root) %{_unitdir}/teamd@.service
|
|
||||||
%{_libdir}/libteamdctl.so.*
|
|
||||||
%{_bindir}/teamd
|
|
||||||
%{_bindir}/teamdctl
|
|
||||||
%{_bindir}/bond2team
|
|
||||||
|
|
||||||
%files -n teamd-devel
|
|
||||||
%{_includedir}/teamdctl.h
|
%{_includedir}/teamdctl.h
|
||||||
%{_libdir}/libteamdctl.so
|
%{_libdir}/libteamdctl.so
|
||||||
%{_libdir}/pkgconfig/libteamdctl.pc
|
%{_libdir}/pkgconfig/libteamdctl.pc
|
||||||
@ -140,6 +125,7 @@ popd
|
|||||||
%files help
|
%files help
|
||||||
%doc _tmpdoc1/examples
|
%doc _tmpdoc1/examples
|
||||||
%doc doc/api
|
%doc doc/api
|
||||||
|
%doc teamd/example_configs teamd/redhat/example_ifcfgs/
|
||||||
%doc _tmpdoc2/examples
|
%doc _tmpdoc2/examples
|
||||||
%{_mandir}/man1/bond2team.1*
|
%{_mandir}/man1/bond2team.1*
|
||||||
%{_mandir}/man5/teamd.conf.5*
|
%{_mandir}/man5/teamd.conf.5*
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user