%define name macchanger %define version 1.3.0 %define release 1mdk %define lib_name_orig lib%{name} %define lib_major 0 %define lib_name %{lib_name_orig}%{lib_major} Name: %{name} Summary: Uility for viewing/manipulating the MAC address of network interfaces Group: System/Configuration/Networking Version: %{version} Release: %{release} License: GPL URL: http://www.alobbs.com/modules.php?op=modload&name=macc&file=index Provides: macchanger BuildRoot: %{_tmppath}/%{name}-%{version} Prefix: %{_prefix} Packager: Antoine Ginies <aginies@mandrakesoft.com> Source: %{name}-%{version}.tar.bz2 #Source1: #Patch0: %description A GNU/Linux utility for viewing/manipulating the MAC address of network interfaces. Features * Set specific MAC address of a network interface * Set the MAC randomly * Set a MAC of another vendor * Set another MAC of the same vendor * Set a MAC of the same kind (eg: wireless card) * Display a vendor MAC list (today, 6200 items) to choose from Possible usages * You're in a DHCP network with some kind of IP-based restriction * You've a cluster that boot with BOOTP and you want to have a * clean set of MACs * Debug MAC based routes %prep rm -rf %{RPM_BUILD_ROOT} %setup -q -n %{name}-%{version} %build ./configure --prefix=/usr make %install %makeinstall %clean rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,root) %doc README COPYING ChangeLog INSTALL AUTHORS %attr(644,root,root) /usr/share/%{name}/* %attr(644,root,root) %{_mandir}/man1/* %attr(755,root,root) %{_bindir}/* %changelog * Fri Jan 03 2003 Antoine Ginies <aginies@mandrakesoft.com> 1.3.0-1mdk - first release for mandrakesoft