%define module Proc-ProcessTable %define name perl-%{module} %define version 0.41 %define release 1 Summary: Interface to process table information Name: %{name} Version: %{version} Release: %mkrel %{release} License: GPL or Artistic Group: Development/Perl URL: http://search.cpan.org/dist/%{module} Source0: http://search.cpan.org/CPAN/authors/id/D/DU/DURIST/%{module}-%{version}.tar.bz2 BuildRequires: perl-devel BuildRoot: %{_tmppath}/%{name}-%{version} %description This module is a first crack at providing a consistent interface to Unix (and maybe other multitasking OS's) process table information. The impetus for this came about with my frustration at having to parse the output of various systems' ps commands to check whether specific processes were running on different boxes at a larged mixed Unix site. The output format of ps was different on each OS, and sometimes changed with each new release of an OS. Also, running a ps subprocess from within a perl or shell script and parsing the output was not a very efficient or aesthetic way to do things. %prep %setup -q -n %{module}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc README README.linux Changes TODO contrib example.pl %{perl_vendorarch}/Proc %{perl_vendorarch}/auto/Proc %{_mandir}/*/* %changelog * Sun Jul 09 2006 Emmanuel Andry <eandry@mandriva.org> 0.41-1mdv2007.0 - 0.41 * Fri Dec 23 2005 Anssi Hannula <anssi@mandriva.org> 0.40-1mdk - initial Mandriva package