File macchanger.spec of Package macchanger

Name:           macchanger
Version:        1.7.0
Release:        0
Url:            http://www.alobbs.com/macchanger/
Summary:        Utility for viewing/manipulating the MAC address of network interfaces
License:        GPL-2.0
Packager:       Ferenc Nagy <nferenc@opensuse.org>
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source:         %{name}-%{version}.tar.gz
Group:          Productivity/Networking/Other
PreReq:         %install_info_prereq

%description
A GNU/Linux utility for viewing/manipulating the MAC address of network interfaces.

%prep
%setup -q

%build

%configure
make %{?jobs:-j%{jobs}}

%clean 
rm -rf $RPM_BUILD_ROOT

%install
make DESTDIR=$RPM_BUILD_ROOT install

%files 
%defattr(-, root, root)
%_bindir/macchanger
%doc README
%_datadir/macchanger
%doc %_infodir/macchanger.info.gz
%doc %_mandir/man1/macchanger.1.gz

%post
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz

%postun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz

%changelog
openSUSE Build Service is sponsored by