diff options
author | shemminger <shemminger> | 2004-05-27 16:50:56 +0000 |
---|---|---|
committer | shemminger <shemminger> | 2004-05-27 16:50:56 +0000 |
commit | 9c6f7c3bed7fa9e42ec2ae4b00d3f6a6ba22d072 (patch) | |
tree | ec8bdc8b74f7ac95a15514005aa3acfb35b9d955 /bridge-utils.spec.in | |
parent | a5916bc7d089f194febd28fe1d0592314ef1ffc7 (diff) | |
download | android_external_brctl-9c6f7c3bed7fa9e42ec2ae4b00d3f6a6ba22d072.tar.gz android_external_brctl-9c6f7c3bed7fa9e42ec2ae4b00d3f6a6ba22d072.tar.bz2 android_external_brctl-9c6f7c3bed7fa9e42ec2ae4b00d3f6a6ba22d072.zip |
Fix issues found testing on earlier 2.6 systems
Diffstat (limited to 'bridge-utils.spec.in')
-rw-r--r-- | bridge-utils.spec.in | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/bridge-utils.spec.in b/bridge-utils.spec.in new file mode 100644 index 0000000..32d0132 --- /dev/null +++ b/bridge-utils.spec.in @@ -0,0 +1,76 @@ +Name: @PACKAGE@ +Version: @VERSION@ +Release: 1 +Copyright: GPL +Group: System Environment/Base +Url: http://bridge.sourceforge.net +Summary: Utilities for configuring the linux ethernet bridge. +Buildroot: %{_tmppath}/%{name}-%{version} +Source: %{name}-%{version}.tar.gz + +%description +This package contains utilities for configuring the linux ethernet +bridge. The linux ethernet bridge can be used for connecting multiple +ethernet devices together. The connecting is fully transparent: hosts +connected to one ethernet device see hosts connected to the other +ethernet devices directly. + +Install bridge-utils if you want to use the linux ethernet bridge. + +%package -n bridge-utils-devel +Summary: Utilities for configuring the linux ethernet bridge. +Group: Development/Libraries + +%description -n bridge-utils-devel +The bridge-utils-devel package contains the header and object files +necessary for developing programs which use 'libbridge.a', the +interface to the linux kernel ethernet bridge. If you are developing +programs which need to configure the linux ethernet bridge, your +system needs to have these standard header and object files available +in order to create the executables. + +Install bridge-utils-devel if you are going to develop programs which +will use the linux ethernet bridge interface library. + +%prep +%setup -q + +%build +CFLAGS="${RPM_OPT_FLAGS}" ./configure --prefix=/usr --mandir=%{_mandir} +make + +%install +rm -rf %{buildroot} + +mkdir -p %{buildroot}%{_sbindir} +mkdir -p %{buildroot}%{_includedir} +mkdir -p %{buildroot}%{_libdir} +mkdir -p %{buildroot}%{_mandir}/man8 +install -m755 brctl/brctl %{buildroot}%{_sbindir} +gzip doc/brctl.8 +install -m 644 doc/brctl.8.gz %{buildroot}%{_mandir}/man8 +install -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 + |