Sophie

Sophie

distrib > PLD > ac > amd64 > by-pkgid > 9c067f39517a5168b231a338b98b0708 > files > 4

glsof-0.9.16-1.src.rpm

# $Revision: 1.2 $, $Date: 2004/10/06 11:52:32 $ 
Summary:	GUI for lsof
Summary(pl):	GUI do lsof
Name:		glsof
Version:	0.9.16
Release:	1
License:	GPL
Group:		X11/Applications/System
Source0:	http://dl.sourceforge.net/glsof/%{name}-%{version}.tar.gz
# Source0-md5:	5ad5f2a6908be713753d9826c38e3e2c
Source1:	%{name}.desktop
Patch0:		%{name}-autorefresh.patch
URL:		http://glsof.sourceforge.net/
BuildRequires:	gtk+2-devel >= 2.0.0
BuildRequires:	libxml2-devel
BuildRequires:	pkgconfig
Requires:	lsof
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%description
glsof is a lsof GUI. You can Save output, Refresh (or Automatic
Refresh) output, select fields of output and apply lsof commands.

%description -l pl
glsof to GUI do lsof. Mo¿na zachowywaæ wyj¶cie, od¶wie¿aæ (lub
automatycznie od¶wie¿aæ) wyj¶cie, wybieraæ pola wyj¶cia i u¿ywaæ
komend lsof.

%prep
%setup -q
%patch0 -p1

%build
%configure
%{__make}

%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}}

%{__make} install \
	DESTDIR=$RPM_BUILD_ROOT

install pixmaps/logo.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}

%find_lang %{name}

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %{name}.lang
%defattr(644,root,root,755)
%doc AUTHORS README
%attr(755,root,root) %{_bindir}/*
%{_datadir}/%{name}
%{_pixmapsdir}/*
%{_desktopdir}/*

%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback@pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org

$Log: glsof.spec,v $
Revision 1.2  2004/10/06 11:52:32  qboosh
- pl fix, gpm-friendly Source URL

Revision 1.1  2004/09/20 00:47:37  saq
- new from Kamil Kosinski