Group :: Networking/Other
RPM: vde2
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define name vde2
%define version 2.1.6
%define release alt1
%define major .1
%define libname lib%name%major
Summary: Virtual Distributed Ethernet
Name: %{name}
Version: %{version}
Release: %{release}
Source0: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
Source1: README.altlinux
License: GPL
Group: Networking/Other
Url: http://vde.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
# (sb) not picked up automagically
Requires: %libname
BuildRequires: gcc-c++
%description
VDE is a virtual network that can be spawned over a set of physical
computer over the Internet
VDE connects together:
(1) real GNU-linux boxes (tuntap)
(2) virtual machines: UML-User Mode Linux, qemu, bochs, MPS.
VDE can be used:
(i) to create a general purpose tunnel (every protocol that runs
on a Ethernet can be put into the tunnel)
(ii) to connect a set of virtual machine to the Internet with no
need of free access of tuntap
(iii) to support mobility: a VDE can stay interconnected despite
of the change of virtual cables, i.e. the change of IP addresses
and interface in the real world
%package -n %{libname}
Summary: VDE libraries
Group: Networking/Other
%description -n %{libname}
Library files for VDE
%package -n libvde-devel
Summary: VDE libraries - header files
Group: Development/C
%description -n libvde-devel
header files for VDE Library files
%prep
%setup -q
cp %SOURCE1 .
%build
%configure
make
%install
rm -rf $RPM_BUILD_ROOT
#%makeinstall
make install DESTDIR=$RPM_BUILD_ROOT
# (sb) drop the -devel files for now
rm -f $RPM_BUILD_ROOT%{_libdir}/libvde*.*a
# (sb) bad symlink from makeinstall
#rm -f $RPM_BUILD_ROOT%{_bindir}/vdeqemu
#ln -sf vdeq $RPM_BUILD_ROOT%{_bindir}/vdeqemu
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%{_bindir}/*
%doc README README.altlinux
%{_mandir}/man1/*.1*
%files -n %{libname}
%{_libdir}/libvde*
%dir %{_libdir}/vde2
%{_libdir}/vde2/*
%{_libexecdir}/vdetap
%files -n libvde-devel
%{_includedir}/libvdeplug.h
%changelog
…
Full changelog you can see here
%define version 2.1.6
%define release alt1
%define major .1
%define libname lib%name%major
Summary: Virtual Distributed Ethernet
Name: %{name}
Version: %{version}
Release: %{release}
Source0: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
Source1: README.altlinux
License: GPL
Group: Networking/Other
Url: http://vde.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
# (sb) not picked up automagically
Requires: %libname
BuildRequires: gcc-c++
%description
VDE is a virtual network that can be spawned over a set of physical
computer over the Internet
VDE connects together:
(1) real GNU-linux boxes (tuntap)
(2) virtual machines: UML-User Mode Linux, qemu, bochs, MPS.
VDE can be used:
(i) to create a general purpose tunnel (every protocol that runs
on a Ethernet can be put into the tunnel)
(ii) to connect a set of virtual machine to the Internet with no
need of free access of tuntap
(iii) to support mobility: a VDE can stay interconnected despite
of the change of virtual cables, i.e. the change of IP addresses
and interface in the real world
%package -n %{libname}
Summary: VDE libraries
Group: Networking/Other
%description -n %{libname}
Library files for VDE
%package -n libvde-devel
Summary: VDE libraries - header files
Group: Development/C
%description -n libvde-devel
header files for VDE Library files
%prep
%setup -q
cp %SOURCE1 .
%build
%configure
make
%install
rm -rf $RPM_BUILD_ROOT
#%makeinstall
make install DESTDIR=$RPM_BUILD_ROOT
# (sb) drop the -devel files for now
rm -f $RPM_BUILD_ROOT%{_libdir}/libvde*.*a
# (sb) bad symlink from makeinstall
#rm -f $RPM_BUILD_ROOT%{_bindir}/vdeqemu
#ln -sf vdeq $RPM_BUILD_ROOT%{_bindir}/vdeqemu
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%{_bindir}/*
%doc README README.altlinux
%{_mandir}/man1/*.1*
%files -n %{libname}
%{_libdir}/libvde*
%dir %{_libdir}/vde2
%{_libdir}/vde2/*
%{_libexecdir}/vdetap
%files -n libvde-devel
%{_includedir}/libvdeplug.h
%changelog
…
Full changelog you can see here