📄 bridge-utils.spec.in
字号:
Name: @PACKAGE@Version: @VERSION@Release: 1Copyright: GPLGroup: System Environment/BaseUrl: http://bridge.sourceforge.netSummary: Utilities for configuring the linux ethernet bridge.Buildroot: %{_tmppath}/%{name}-%{version}Source: %{name}-%{version}.tar.gz%descriptionThis package contains utilities for configuring the linux ethernetbridge. The linux ethernet bridge can be used for connecting multipleethernet devices together. The connecting is fully transparent: hostsconnected to one ethernet device see hosts connected to the otherethernet devices directly.Install bridge-utils if you want to use the linux ethernet bridge.%package -n bridge-utils-develSummary: Utilities for configuring the linux ethernet bridge.Group: Development/Libraries%description -n bridge-utils-develThe bridge-utils-devel package contains the header and object filesnecessary for developing programs which use 'libbridge.a', theinterface to the linux kernel ethernet bridge. If you are developingprograms which need to configure the linux ethernet bridge, yoursystem needs to have these standard header and object files availablein order to create the executables.Install bridge-utils-devel if you are going to develop programs whichwill use the linux ethernet bridge interface library.%prep%setup -q%buildCFLAGS="${RPM_OPT_FLAGS}" ./configure --prefix=/usr --mandir=%{_mandir}make%installrm -rf %{buildroot}mkdir -p %{buildroot}%{_sbindir}mkdir -p %{buildroot}%{_includedir}mkdir -p %{buildroot}%{_libdir}mkdir -p %{buildroot}%{_mandir}/man8install -m755 brctl/brctl %{buildroot}%{_sbindir}gzip doc/brctl.8install -m 644 doc/brctl.8.gz %{buildroot}%{_mandir}/man8install -m 644 libbridge/libbridge.h %{buildroot}%{_includedir}install -m 644 libbridge/libbridge.a %{buildroot}%{_libdir}%clean[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT%files%defattr (-,root,root)%doc AUTHORS COPYING doc/FAQ doc/HOWTO doc/RPM-GPG-KEY%{_sbindir}/brctl%{_mandir}/man8/brctl.8.gz%files -n bridge-utils-devel%defattr (-,root,root)%{_includedir}/libbridge.h%{_libdir}/libbridge.a%changelog* Tue May 25 2004 Stephen Hemminger <shemminger@osdl.org>- cleanup to work for 1.0 code- add dependency on sysfs* Wed Nov 07 2001 Matthew Galgoci <mgalgoci@redhat.com>- initial cleanup of spec file from net release
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -