File wmfsm.spec of Package wmfsm
# $Revision: 1.31 $, $Date: 2004/08/19 18:56:58 $
Summary: Disk free space monitor for WindowMaker
Name: wmfsm
Version: 0.34
Release: 3
License: GPL
Group: System/GUI/Other
Source0: http://www.cs.ubc.ca/~cmg/%{name}-%{version}.tar.gz
Patch0: %{name}-%{version}.patch
URL: http://www.cs.ubc.ca/~cmg/
%if 0%{?mandriva_version}
BuildRequires: libxpm-devel
%ifarch x86_64
BuildRequires: lib64xorg-x11-devel
%endif
%ifarch %{ix86}
BuildRequires: libxorg-x11-devel
%endif
%endif
%if 0%{?rhel_version} || 0%{?centos_version} || 0%{?fedora_version}
BuildRequires: libX11-devel libXpm-devel libXext-devel
%endif
%if 0%{?suse_version}
%if 0%{?suse_version} >= 1220
BuildRequires: libXext-devel
%endif
BuildRequires: xorg-x11-libX11-devel xorg-x11-libXpm-devel
%endif
BuildRequires: autoconf automake
BuildRoot: %{_tmppath}/%{name}-buildroot
%description
wmfsm shows the percentage of free space across your file systems.
%prep
%setup -q
%patch0 -p1
%build
%{__aclocal}
%{__automake}
%{__autoconf}
%configure
%{__make}
%install
%{__make} install DESTDIR=%{buildroot}
%clean
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
%files
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog README TODO wmfsm/wmfsmrc.sample
%attr(755,root,root) %{_bindir}/%{name}
%{_mandir}/man1/*
%changelog
* Mon Mar 21 2011 Agnelo de la Crotche <agnelo@unixversal.com>
- version 0.34
- package for openSUSE 11.3/11.4