]> git.pld-linux.org Git - SPECS.git/blob - perl-Apache-Reload.spec
SPECS updated Sat 31 Jul 20:26:02 CEST 2021
[SPECS.git] / perl-Apache-Reload.spec
1 %define         pdir    Apache
2 %define         pnam    Reload
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
6 Version:        0.11
7 Release:        1
8 License:        unknown
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
16 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
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.
32
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
46 jako Init Handler.
47
48 %prep
49 %setup -q -n %{pdir}-%{pnam}-%{version}
50
51 %build
52 %{__perl} Makefile.PL \
53         INSTALLDIRS=vendor
54
55 %{__make}
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59
60 %{__make} install \
61         DESTDIR=$RPM_BUILD_ROOT
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %files
67 %defattr(644,root,root,755)
68 %doc README
69 %{perl_vendorlib}/%{pdir}/*.pm
70 %{perl_vendorlib}/Apache2/Reload.pm
71 %{_mandir}/man3/*
This page took 0.071094 seconds and 3 git commands to generate.