Name: wol Version: 0.7.1 Release: 4%{?dist} Summary: Wake On Lan client Group: Applications/Internet License: GPLv2+ URL: http://sourceforge.net/projects/wake-on-lan/ Source0: http://downloads.sourceforge.net/wake-on-lan/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gettext Requires(post): /sbin/install-info Requires(preun): /sbin/install-info %description wol implements Wake On LAN functionality in a small program. It wakes up hardware that is Magic Packet compliant. SecureON is supported by wol too. %prep %setup -q %build %configure --disable-static make %{?_smp_mflags} iconv -f iso8859-1 -t utf-8 ChangeLog > ChangeLog.conv touch -c -r ChangeLog ChangeLog.conv mv ChangeLog.conv ChangeLog %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} rm -f %{buildroot}%{_infodir}/dir %find_lang %{name} %clean rm -rf %{buildroot} %post /sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir || : %preun if [ "$1" = 0 ]; then /sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir || : fi %files -f %{name}.lang %defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING NEWS README TODO %{_infodir}/%{name}.info.gz %{_mandir}/man?/%{name}.* %{_bindir}/%{name}* %changelog * Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sun Dec 07 2008 Fabian Affolter <fabian@bernewireless.net> - 0.7.1-2 - Fix Source0 - Fix License * Sat Dec 06 2008 Fabian Affolter <fabian@bernewireless.net> - 0.7.1-1 - Initial package for Fedora