Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37568510
en ru br
ALT Linux repos
S:0.9.17-alt3.1.qa2
5.0: 0.9.17-alt3.1
4.1: 0.9.17-alt2
4.0: 0.9.17-alt2
3.0: 0.9.17-alt1

Group :: Monitoring
RPM: glsof

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Summary: Simple GTK2 frontend for lsof
Name: glsof
Version: 0.9.17
Release: alt3.1.qa2
Packager: Eugene V. Horohorin <genix at altlinux.ru>
URL: http://glsof.sourceforge.net
Source0: %{name}-%{version}.tar.gz
License: GPL
Group: Monitoring

# Automatically added by buildreq on Tue Sep 16 2008

BuildRequires: libgnomeui-devel perl-XML-Parser libglade-devel

Requires: lsof libxml2
BuildRequires: desktop-file-utils

%description
GTK-Lsof is a simple FrontEnd for LSOF.
You can Save output, Refresh (or Automatic Refresh) output,
select fields of out put and apply LSOF commands.

%prep
%setup -q

%build
%configure
%make

%install
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
export GCONF_SCHEMA_FILE_DIR="%{buildroot}%{_sysconfdir}/gconf/schemas"
%makeinstall
%find_lang %{name}
desktop-file-install --dir %buildroot%_desktopdir \
--remove-category=Application \
--add-category=Monitor \
%buildroot%_desktopdir/glsof.desktop

%post
export GCONF_CONFIG_SOURCE="$(gconftool-2 --get-default-source)"
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/%{name}.schemas &>/dev/null || :

%preun
export GCONF_CONFIG_SOURCE="$(gconftool-2 --get-default-source)"
gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/%{name}.schemas &>/dev/null || :

%files -f %{name}.lang
%_bindir/*
%_datadir/%{name}
#%%_datadir/%{name}/*
%_datadir/pixmaps/*
%_desktopdir/*
%{_sysconfdir}/gconf/schemas/%{name}.schemas
%doc README ChangeLog AUTHORS NEWS

%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