forked from mcuelenaere/fsv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fsv.spec.in
47 lines (37 loc) · 1.2 KB
/
fsv.spec.in
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
# @configure_input@
%define prefix /usr
Name: fsv
Version: @VERSION@
Release: @RELEASE@
Group: X11/Utilities
Copyright: LGPL
URL: http://fox.mit.edu/skunk/soft/fsv/
Summary: fsv - 3D File System Visualizer
Requires: gtk+ >= 1.2.1
Source: http://fox.mit.edu/skunk/soft/src/fsv-@[email protected]
BuildRoot: /tmp/fsv-@VERSION@-root
%description
fsv (pronounced effessvee) is a file system visualizer in cyberspace. It
lays out files and directories in three dimensions, geometrically
representing the file system hierarchy to allow visual overview and
analysis. fsv can visualize a modest home directory, a workstation's hard
drive, or any arbitrarily large collection of files, limited only by the
host computer's memory and hardware constraints.
%prep
%setup
%build
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} --with-doc-dir=$RPM_DOC_DIR/fsv-@VERSION@
make
%install
rm -rf $RPM_BUILD_ROOT
make install prefix=$RPM_BUILD_ROOT%{prefix} docdir=`pwd`/doc.rpm
mkdir -p $RPM_BUILD_ROOT/etc/X11/wmconfig
install -m 0644 fsv.wmconfig $RPM_BUILD_ROOT/etc/X11/wmconfig/fsv
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc doc.rpm/*
/etc/X11/wmconfig/fsv
%{prefix}/bin/fsv
## %{prefix}/share/locale/*/*/*