ALT Linux repositórios
Group :: Desktop gráfico/Window Maker
RPM: WMMemMon
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
# "internal name"
# i don't want to rename package still
%define iname wmmemmon
Summary: WMMemMon - A dockapp to monitor memory/swap usages
Name: WMMemMon
Version: 1.0.1
Release: alt2
License: GPL
Group: Graphical desktop/Window Maker
Packager: Alexey Voinov <voins at altlinux.ru>
Url: http://www.sh.rim.or.jp/~ssato/dockapp/index.shtml#wmmemmon
Source0: http://www.sh.rim.or.jp/~ssato/src/%iname-%version.tar.bz2
Source1: %iname.menu
# Automatically added by buildreq on Thu Jan 04 2007
BuildRequires: imake libXext-devel libXpm-devel libXt-devel xorg-cf-files
%description
WMMemMon is a program to monitor memory/swap usages. It is a dockapp that is
supported by X window managers such as Window Maker, AfterStep, BlackBox, and
Enlightenment.
The current memory usage is displaied as the outside pie-slices. The swap usage
is represented by the inside slices. It has an LCD look-alike user interface.
The back-light may be turned on/off by clicking the mouse button over the
appliacation. If the usage hits a certain threshold, an alarm-mode will alert
you by turning back-light on.
%prep
%setup -q -n %iname-%version
%build
%configure
%make_build
%install
install -p -D -m755 src/%iname $RPM_BUILD_ROOT%_bindir/%iname
install -p -D -m644 doc/%iname.1 $RPM_BUILD_ROOT%_man1dir/%iname.1
install -p -D -m644 %SOURCE1 $RPM_BUILD_ROOT%_menudir/%iname
%post
%update_menus
%postun
%clean_menus
%files
%doc README NEWS INSTALL TODO AUTHORS ChangeLog
%_bindir/*
%_man1dir/*
%_menudir/*
%changelog
…
Todas as alterações você pod ver aqui
# i don't want to rename package still
%define iname wmmemmon
Summary: WMMemMon - A dockapp to monitor memory/swap usages
Name: WMMemMon
Version: 1.0.1
Release: alt2
License: GPL
Group: Graphical desktop/Window Maker
Packager: Alexey Voinov <voins at altlinux.ru>
Url: http://www.sh.rim.or.jp/~ssato/dockapp/index.shtml#wmmemmon
Source0: http://www.sh.rim.or.jp/~ssato/src/%iname-%version.tar.bz2
Source1: %iname.menu
# Automatically added by buildreq on Thu Jan 04 2007
BuildRequires: imake libXext-devel libXpm-devel libXt-devel xorg-cf-files
%description
WMMemMon is a program to monitor memory/swap usages. It is a dockapp that is
supported by X window managers such as Window Maker, AfterStep, BlackBox, and
Enlightenment.
The current memory usage is displaied as the outside pie-slices. The swap usage
is represented by the inside slices. It has an LCD look-alike user interface.
The back-light may be turned on/off by clicking the mouse button over the
appliacation. If the usage hits a certain threshold, an alarm-mode will alert
you by turning back-light on.
%prep
%setup -q -n %iname-%version
%build
%configure
%make_build
%install
install -p -D -m755 src/%iname $RPM_BUILD_ROOT%_bindir/%iname
install -p -D -m644 doc/%iname.1 $RPM_BUILD_ROOT%_man1dir/%iname.1
install -p -D -m644 %SOURCE1 $RPM_BUILD_ROOT%_menudir/%iname
%post
%update_menus
%postun
%clean_menus
%files
%doc README NEWS INSTALL TODO AUTHORS ChangeLog
%_bindir/*
%_man1dir/*
%_menudir/*
%changelog
…
Todas as alterações você pod ver aqui