File xdiskusage.spec of Package xdiskusage

# spec file for package xdiskusage (Version 1.48.1)
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

# Note that this is NOT a relocatable package
%define prefix          /usr
%define bindir          /usr/bin
%define mandir          /usr/share/man
%define tmppath         /tmp

Summary:        Grapically displays the amount of disks used for by each subdirectory

Name:           xdiskusage
Version:        1.48.1
Release:        1
Source:         %{name}-%{version}.tar.bz2
License:        GPLv2
%if 0%{?suse_version}
Group:          Applications/System
Group:          Applications/System
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  fltk-devel
BuildRequires:  gcc-c++
BuildRequires:  libstdc++-devel

%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version}
BuildRequires:  libX11-devel
BuildRequires:  libXext-devel
BuildRequires:  libXinerama-devel
BuildRequires:  mesa-libGL-devel
BuildRequires:  mesa-libGLU-devel
%if 0%{?suse_version}
BuildRequires:  Mesa-devel
BuildRequires:  xorg-x11-devel
%if 0%{?mandriva_version}
%ifarch x86_64
BuildRequires:  lib64x11_6-devel
BuildRequires:  lib64xext6-devel
BuildRequires:  lib64xinerama1-devel
BuildRequires:  lib64mesagl1-devel
BuildRequires:  lib64mesaglu1-devel
BuildRequires:  libx11_6-devel
BuildRequires:  libxext6-devel
BuildRequires:  libxinerama1-devel
BuildRequires:  libmesagl1-devel
BuildRequires:  libmesaglu1-devel

xdiskusage is a user-friendly program to show you what is using 
up all your disk space. It is based on the design of xdu 
written by Phillip C. Dykstra. Changes have been made so it runs 
"du" for you, and can display the free space left on the disk, 
and produce a PostScript version of the display.

%setup -q



./configure --prefix=%prefix

mkdir -p $RPM_BUILD_ROOT/%{bindir} $RPM_BUILD_ROOT/%{mandir}/man1
make prefix=$RPM_BUILD_ROOT/%{prefix} \
	mandir=$RPM_BUILD_ROOT/%{mandir} install


%doc %attr(0644,root,root) %{mandir}/man1/*

openSUSE Build Service is sponsored by