[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-vlan
Subject:    [VLAN] spec file for vconfig 1.5
From:       Dale Bewley <dale () bewley ! net>
Date:       2001-12-11 20:49:26
[Download RAW message or body]

Here is a spec file I just tossed together for vconfig 1.5.
You may want to comment out the requirements if you install your kernel by
hand rather than building an RPM.

Feel free to comment, but don't poke too much fun, please :)

See below. I'll also post it here:
http://www.bewley.net/linux/vlan/
-- 
Dale Bewley - Bewley Internet Solutions Inc. http://bewley.net/


Summary: Linux 802.1q VLAN configuration utility
Name: vconfig
Version: 1.5
Release: 1
License: distributable
Group: Applications/System
Source: http://scry.wanfear.com/~greear/vlan/vlan.%{version}.tar.gz
URL: http://scry.wanfear.com/~greear/vlan.html
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Packager: Dale Bewley <dale@bewley.net>
BuildRequires: kernel-source >= 2.4.14
Requires: kernel >= 2.4.14

%description
802.1q VLAN support is now in the linux kernel as of 2.4.14.
This package provides the vlan configuration utility, vconfig,
to go with it.

%prep
%setup -q -n vlan

%build
make

%clean
rm -rf $RPM_BUILD_ROOT

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_bindir}
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man8
install -o 0 -g 0 -m 755 vlan_test.pl
$RPM_BUILD_ROOT/%{_bindir}/vlan_test.pl
install -o 0 -g 0 -m 755 vconfig $RPM_BUILD_ROOT/%{_bindir}/vconfig
install -o 0 -g 0 -m 755 vconfig.8 $RPM_BUILD_ROOT/%{_mandir}/man8

%files
%defattr(-,root,root)
%doc CHANGELOG contrib README vlan.html
%{_bindir}/vconfig
%{_bindir}/vlan_test.pl
%{_mandir}/man8/vconfig.8.gz

%changelog
* Tue Dec 11 2001 Dale Bewley <dale@bewley.net>
- initial specfile


_______________________________________________
VLAN mailing list  -  VLAN@Scry.WANfear.com
http://www.WANfear.com/mailman/listinfo/vlan
VLAN Page:  http://scry.wanfear.com/~greear/vlan.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic