Summary: Detect and perform actions when an ethernet cable is (un)plugged Name: ifplugd Version: 0.28 Release: %mkrel 15 Source0: http://0pointer.de/lennart/projects/ifplugd/%{name}-%{version}.tar.bz2 Patch0: ifplugd-0.28-exit-status.patch Patch1: ifplugd-0.28-event.patch Patch2: ifplugd-0.28-include.patch Patch3: ifplugd-0.28-onlink.patch License: GPL Group: System/Networking URL: http://0pointer.de/lennart/projects/ifplugd/ BuildRequires: doxygen lynx pkgconfig libdaemon-devel %description ifplugd is a Linux daemon which will automatically configure your ethernet device when a cable is plugged in and automatically unconfigure it if the cable is pulled. This is useful on laptops with onboard network adapters, since it will only configure the interface when a cable is really connected. %prep %setup -q %patch0 -p1 -b .exit-status %patch1 -p1 -b .event %patch2 -p1 -b .include %patch3 -p1 -b .onlink %build %configure2_5x %make %install %makeinstall_std rm -f $RPM_BUILD_ROOT%{_sysconfdir}/init.d/ifplugd %files %doc doc/README doc/NEWS doc/README.html doc/style.css LICENSE %{_sbindir}/ifplugd %{_sbindir}/ifplugstatus %{_mandir}/man?/ifplugd* %{_mandir}/man?/ifplugstatus* %dir %{_sysconfdir}/ifplugd %config(noreplace) %{_sysconfdir}/ifplugd/ifplugd.conf %{_sysconfdir}/ifplugd/ifplugd.action %changelog * Tue Jan 22 2013 fwang <fwang> 0.28-15.mga3 + Revision: 390879 - update rpm group * Sat Jan 12 2013 umeabot <umeabot> 0.28-14.mga3 + Revision: 354269 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Thu Jan 13 2011 blino <blino> 0.28-13.mga1 + Revision: 16653 - imported package ifplugd