%define pkg_name Apache-GTopLimit %define pkg_version 1.02 %define rpm_pkg_version 1.02 %define rpm_pkg_release 3.n0i.3 Summary: Child exit on small shared or large mem Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/S/ST/STAS/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: reb00t-rpmdevtools BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(mod_perl) >= 1.15 BuildRequires: perl(GTop) >= 0.09 %description This module was written in response to questions on the mod_perl mailing list on how to tell the httpd process to exit if: * its memory size goes beyond a specified limit * its shared memory size goes below a specified limit * its unshared memory size goes beyond a specified limit %prep %setup -q -n %{pkg_name}-%{pkg_version} %build %{perl_build} %{!?_without_test:%{__make} test} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files} %doc Changes README %changelog * Thu Jun 14 2007 Marius Feraru - 1.02-3.n0i.3 - spec file (re)created using N0i::CPAN::RPMizer/1.14.9 * Sun Feb 01 2004 Marius FERARU 1.02-0.n0i.2 - spec file (re?)created using N0i::CPAN::RPMizer/2004011001 * Sun Jun 29 2003 Marius FERARU 1.02-0.n0i - Initial build.