File: xdiskusage.spec

package info (click to toggle)
xdiskusage 1.48-10.1
  • links: PTS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, sid, stretch, wheezy
  • size: 444 kB
  • ctags: 590
  • sloc: cpp: 5,910; sh: 152; makefile: 103
file content (53 lines) | stat: -rw-r--r-- 1,426 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Note that this is NOT a relocatable package
%define prefix          /usr
%define bindir          /usr/bin
%define mandir          /usr/share/man
%define tmppath         /tmp

Summary:    Graphically displays the amount of disks used for by each subdirectory.
Name:       xdiskusage
Version:    1.43
Release:    1
Source0:    http://xdiskusage.sourceforge.net/%{name}-%{version}.tgz
Copyright:  GPL
Group:      Applications/System
BuildRoot:  %{tmppath}/%{name}-%{version}-buildroot
URL:        http://xdiskusage.sourceforge.net/
BuildRequires:   fltk-devel
BuildRequires:   Mesa

%description
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.

%prep
%setup

%build
%configure
./configure --prefix=%prefix
make

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

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc README
%{bindir}/*
%{mandir}/man1/*

%changelog
* Thu May 3 2001 Dan Mueth <dan@eazel.com>
- First draft of a spec file. I'm not modifying the autoconf or make stuff
  so I had to do a couple goofy things in here.