Name: wmnd Version: 0.4.16 Release: 2%{?dist} Summary: Dockapp for monitoring network interfaces Group: User Interface/X License: GPLv2+ URL: http://www.thregr.org/~wavexx/software/wmnd/ Source: %{url}/releases/%{name}-%{version}.tar.gz # git clone git://src.thregr.org/wmnd # pushd wmnd # git format-patch %{name}-%{version} # for p in 00*; do mv "$p" "../%{name}-%{version}-$p"; done # popd Patch1: %{name}-0.4.16-0001-Reformat-documentation.patch Patch2: %{name}-0.4.16-0002-Update-configure.ac-for-the-latest-autoconf.patch Patch3: %{name}-0.4.16-0003-Doc-fixes-follow-the-suggestions-form-Alexey-I.-Frol.patch Patch4: %{name}-0.4.16-0004-Fix-the-installation-path-of-wmndrc.patch BuildRequires: autoconf automake git libXext-devel libXpm-devel %description WMND is a dockapp for monitoring network interfaces under WindowMaker and other compatible window managers. WMND currently works on Linux, FreeBSD, NetBSD, Solaris, OpenSolaris, Darwin and IRIX. WMND can monitor multiple interfaces at the same time, sports several display modes and can also monitor remote interfaces through SNMP. %prep %setup -q git init if [ -z "$GIT_COMMITTER_NAME" ]; then git config user.email "raorn@raorn.name" git config user.name "Alexey I. Froloff" fi git add -f . git commit -a -q -m "%{version} baseline." # Apply all the patches. git am -p1 %{patches} < /dev/null %build autoreconf -fis %configure \ --docdir=%{_docdir}/%{name}-%{version} \ --enable-drivers=linux_proc make %{?_smp_mflags} %install %{make_install} %files %doc AUTHORS COPYING NEWS README THANKS TODO %{_bindir}/wmnd %{_mandir}/man1/wmnd.1* %changelog * Wed Jun 06 2012 Alexey I. Froloff - 0.4.16-2 - Updated to wmnd-0.4.16-4-gc96f86d * Tue Jun 05 2012 Alexey I. Froloff - 0.4.16-1 - Initial build for Fedora