Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37848358
en ru br
ALT Linux repos
S:1.23-alt1
5.0: 1.8.3-alt2
4.1: 1.8.3-alt1
4.0: 1.8.3-alt1
3.0: 1.8.2-alt1.1

Group :: Monitoring
RPM: xosview

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: xosview
Version: 1.8.2
Release: alt1.1

Summary: An X Window System utility for monitoring system resources
Group: Monitoring
License: GPL
Url: http://%name.sourceforge.net/

Source: http://prdownloads.sourceforge.net/%name-%version.tar.bz2
Source1: %name.menu
Source2: %{name}16.png
Source3: %{name}32.png
Source4: %{name}48.png

BuildPreReq: kernel-headers-std

# Automatically added by buildreq on Wed Nov 27 2002

BuildRequires: XFree86-devel gcc-c++ xpm-devel

%description
The %name utility displays a set of bar graphs which show the current
system state, including memory usage, CPU usage, system load, etc.
Xosview runs under the X Window System.

%prep
%setup -q

%build
# Can't build both 2.0.x/2.1.x memstat modules
%configure --disable-linux-memstat
%make_build

%install
%__mkdir_p $RPM_BUILD_ROOT{%_x11dir/{bin,man/man1},%_sysconfdir/X11/app-defaults}

%make_install install \
PREFIX_TO_USE=$RPM_BUILD_ROOT%_x11dir \
XAPPLOADDIR=$RPM_BUILD_ROOT%_sysconfdir/X11/app-defaults

chmod u-s $RPM_BUILD_ROOT%_x11bindir/*

%__install -pD -m644 %SOURCE1 $RPM_BUILD_ROOT%_menudir/%name
%__install -pD -m644 %SOURCE2 $RPM_BUILD_ROOT%_miconsdir/%name.png
%__install -pD -m644 %SOURCE3 $RPM_BUILD_ROOT%_iconsdir/%name.png
%__install -pD -m644 %SOURCE4 $RPM_BUILD_ROOT%_liconsdir/%name.png

%post
%update_menus

%postun
%clean_menus

%files
%config %_sysconfdir/X11/app-defaults/*
%_x11bindir/*
%_x11mandir/man?/*
%_menudir/*
%_iconsdir/*.png
%_liconsdir/*.png
%_miconsdir/*.png
%doc CHANGES README.linux TODO

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin