3 Summary: Reload changed modules
4 Summary(pl.UTF-8): Przeładowywanie zmodyfikowanych w trakcie pracy Apache'a modułów
5 Name: perl-Apache-Reload
9 Group: Development/Languages/Perl
10 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
11 # Source0-md5: ec02f93aeef08f2d9e6734645a131a21
12 URL: http://search.cpan.org/dist/Apache-Reload/
13 BuildRequires: perl-Apache-Test
14 BuildRequires: perl-devel >= 1:5.8.0
15 BuildRequires: rpm-perlprov >= 4.1-13
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 This module is two things. First it is an adaptation of Randal
21 Schwartz's Stonehenge::Reload module that attempts to be a little more
22 intuitive and makes the usage easier. Stonehenge::Reload was written
23 by Randal to make specific modules reload themselves when they
24 changed. Unlike Apache::StatINC, Stonehenge::Reload only checked the
25 change time of modules that registered themselves with
26 Stonehenge::Reload, thus reducing stat() calls. Apache::Reload also
27 offers the exact same functionality as Apache::StatINC, and is thus
28 designed to be a drop-in replacement. Apache::Reload only checks
29 modules that register themselves with Apache::Reload if you explicitly
30 turn off the StatINC emulation method (see below). Like
31 Apache::StatINC, Apache::Reload must be installed as an Init Handler.
33 %description -l pl.UTF-8
34 Ten moduł to dwie rzeczy. Pierwsza to adaptacja modułu
35 Stonehenge::Reload napisanego przez Randala Schwartza, próbująca być
36 nieco bardziej intuicyjna i ułatwiająca używanie. Stonehenge::Reload
37 został napisany, aby poszczególne moduły się przeładowywały, kiedy
38 zostaną zmienione. W przeciwieństwie do Apache::StatINC moduł
39 Stonehenge::Reload sprawdzał tylko czas zmiany modułów, które się
40 zarejestrowały przy użyciu Stonehenge::Reload, redukując liczbę
41 wywołań stat(). Apache::Reload ponadto oferuje tą samą funkcjonalność
42 co Apache::StatINC i jest zaprojektowany tak, aby być zamiennikiem.
43 Apache::Reload sprawdza tylko moduły, które się zarejestrowały przy
44 użyciu Apache::Reaload tylko jeśli emulacja StatINC została wyłączona.
45 Podobnie jak Apache::StatINC Apache::Reload musi być zainstalowany
49 %setup -q -n %{pdir}-%{pnam}-%{version}
52 %{__perl} Makefile.PL \
58 rm -rf $RPM_BUILD_ROOT
61 DESTDIR=$RPM_BUILD_ROOT
64 rm -rf $RPM_BUILD_ROOT
67 %defattr(644,root,root,755)
69 %{perl_vendorlib}/%{pdir}/*.pm
70 %{perl_vendorlib}/Apache2/Reload.pm