%define pkg_name Apache-Reload %define pkg_version 0.07 %define rpm_pkg_version 0.07 %define rpm_pkg_release 4.n0i.7 Summary: Reload changed modules 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/M/MS/MSERGEANT/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: reb00t-rpmdevtools BuildRequires: perl(ExtUtils::MakeMaker) %description This module is two things. First it is an adaptation of Randal Schwartz's Stonehenge::Reload module that attempts to be a little more intuitive and makes the usage easier. Stonehenge::Reload was written by Randal to make specific modules reload themselves when they changed. Unlike Apache::StatINC, Stonehenge::Reload only checked the change time of modules that registered themselves with Stonehenge::Reload, thus reducing stat() calls. Apache::Reload also offers the exact same functionality as Apache::StatINC, and is thus designed to be a drop-in replacement. Apache::Reload only checks modules that register themselves with Apache::Reload if you explicitly turn off the StatINC emulation method. Like Apache::StatINC, Apache::Reload must be installed as an Init Handler. %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 README %changelog * Thu Jun 14 2007 Marius Feraru - 0.07-4.n0i.7 - spec file (re)created using N0i::CPAN::RPMizer/1.14.9 - rebuild on perl 5.8.8 * Wed Jul 27 2005 Marius FERARU 0.07-3.n0i.6 - spec file (re)created using N0i::CPAN::RPMizer/1.01 - rebuild on perl 5.8.7 * Sun Mar 20 2005 Marius Feraru 0:0.07-2.n0i.5 - rebuild (FC4) * Mon Dec 06 2004 Marius Feraru 0:0.07-1.n0i.4 - automatic rebuild (perl 5.8.6) * Tue May 04 2004 Marius Feraru 0:0.07-1.n0i.3 - spec file (re?)created using N0i::CPAN::RPMizer/2004050401 - rebuild (perl 5.8.4) * Sun Feb 01 2004 Marius FERARU 0:0.07-0.n0i.2 - spec file (re?)created using N0i::CPAN::RPMizer/2004011001 * Wed Jun 11 2003 Marius FERARU 0.07-0.n0i - Initial build.