サイトトップMandriva Linux向けパッケージ ≫ glsof-0.10.0_pre_alpha5-1

glsof-0.10.0_pre_alpha5-1kkr2009.0.spec

%define name              glsof
%define version           0.10.0_pre_alpha5
%define _version          %(echo %{version} | sed 's/_/-/g')
%define release           %mkrel 1

%define libgtk20          %mklibname    gtk+    2.0 0
%define libgnomeui2       %mklibname    gnomeui 2   0
%define libglade20        %mklibname    glade   2.0 0
%define libgconf2         %mklibname    GConf   2   4

%define glsofdir          %{_datadir}/%{name}


Summary:        GUI for LSOF
Summary(ja):    LSOFのGUI
Name:           %{name}
Version:        %{version}
Release:        %{release}
Source:         http://prdownloads.sourceforge.net/glsof/%{name}-%{_version}.tar.gz
  # Size  : 366,463
  # MD5   : acb7b1be5e86ba40276cb696a80f0ead
  # SHA-1 : 20df648c41d44e623cda0631d5a3bf786faf0a22
URL:            http://apps.sourceforge.net/trac/glsof/
License:        GPLv2+
Group:          Monitoring
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Requires:       lsof %{libgtk20} %{libgnomeui2} %{libglade20} %{libgconf2}
BuildRequires:  intltool rarian gtk2-devel libgnomeui2-devel libglade2.0-devel libGConf2-devel


%description
GLSOF is a GUI for LSOF.

%description -l ja
GLSOFはLSOFのGUIです。


%prep
%setup -q -n %{name}-%{_version}


%build
%configure2_5x
%make


%install
%{__rm} %{buildroot} -fr
%makeinstall
%{__lzma} AUTHORS ChangeLog NEWS README TODO


%if %{mdkversion} < 200900
%post
%update_desktop_database
%endif


%if %{mdkversion} < 200900
%postun
%update_desktop_database
%endif


%clean
%{__rm} %{buildroot} -fr


%files
%defattr(-, root, root)
%{_bindir}/*
%{_datadir}/gnome/help/%{name}/
%{_datadir}/omf/%{name}/
%{_datadir}/applications/*
%{_datadir}/pixmaps/*
%{glsofdir}/
%{_sysconfdir}/gconf/schemas/*
%doc AUTHORS* ChangeLog* NEWS* README* TODO*


%changelog
* Wed Apr 15 2009 kakurasan <kakurasan AT gmail DOT com> 0.10.0_pre_alpha5-1kkr2009.0
- initial build