]> git.pld-linux.org Git - packages/apache-mod_fcgid.git/blame - apache-mod_fcgid.spec
- up to 2.2, removed outdated patches
[packages/apache-mod_fcgid.git] / apache-mod_fcgid.spec
CommitLineData
87332fa3 1%define mod_name fcgid
2%define apxs /usr/sbin/apxs
73aff1ad 3Summary: A binary compatibility alternative to Apache module mod_fastcgi
2e2443df 4Summary(pl.UTF-8): Binarnie kompatybilna alternatywa dla modułu Apache'a mod_fastcgi
87332fa3 5Name: apache-mod_%{mod_name}
45e0597a 6Version: 2.2
7Release: 1
080f7bbe 8License: GPL v2
0fb52da2 9Group: Networking/Daemons/HTTP
45e0597a 10Source0: http://dl.sourceforge.net/mod-fcgid/mod_%{mod_name}.%{version}.tar.gz
11# Source0-md5: ce7d7b16e69643dbd549d43d85025983
cbc1d3a3 12Source1: %{name}.conf
73aff1ad 13URL: http://fastcgi.coremail.cn/
6bbe118a 14BuildRequires: %{apxs}
ae2885e5 15BuildRequires: apache-devel >= 2.0.52-2
73aff1ad 16BuildRequires: libtool
61385084 17BuildRequires: rpmbuild(macros) >= 1.268
6222f6e9 18Requires: apache(modules-api) = %apache_modules_api
73aff1ad
AM
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
6222f6e9
ER
21%define _pkglibdir %(%{apxs} -q LIBEXECDIR 2>/dev/null)
22%define _sysconfdir %(%{apxs} -q SYSCONFDIR 2>/dev/null)
73aff1ad
AM
23
24%description
25A binary compatibility alternative to Apache module mod_fastcgi.
6222f6e9
ER
26mod_fcgid has a new process management strategy, which concentrates on
27reducing the number of fastcgi server, and kick out the corrupt
73aff1ad
AM
28fastcgi server as soon as possible.
29
e0e89299
JR
30%description -l pl.UTF-8
31Binarnie kompatybilna alternatywa dla modułu Apache'a mod_fastcgi.
32mod_fcgid to nowa strategia zarządzania procesami, koncentrująca się
33na redukcji liczby serwerów fastcgi i usuwaniu uszkodzonych serwerów
34fastcgi najszybciej jak to możliwe.
5d1e3ce5 35
73aff1ad 36%prep
87332fa3 37%setup -q -n mod_%{mod_name}.%{version}
73aff1ad
AM
38
39%build
87332fa3 40%{__make} \
41 top_dir=%{_pkglibdir} \
eab87e6a 42 APXS=%{apxs} \
87332fa3 43 INCLUDES="-I%(%{apxs} -q INCLUDEDIR)"
73aff1ad
AM
44
45%install
46rm -rf $RPM_BUILD_ROOT
87332fa3 47install -d $RPM_BUILD_ROOT{%{_pkglibdir},%{_sysconfdir}/httpd.conf}
73aff1ad 48
87332fa3 49install .libs/mod_%{mod_name}.so $RPM_BUILD_ROOT%{_pkglibdir}
ee276b79 50install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/70_mod_%{mod_name}.conf
73aff1ad
AM
51
52%clean
53rm -rf $RPM_BUILD_ROOT
54
55%post
61385084 56%service -q httpd restart
73aff1ad 57
cae47895 58%postun
73aff1ad 59if [ "$1" = "0" ]; then
61385084 60 %service -q httpd restart
73aff1ad
AM
61fi
62
63%files
64%defattr(644,root,root,755)
65%doc AUTHOR ChangeLog
ee276b79 66%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_%{mod_name}.conf
87332fa3 67%attr(755,root,root) %{_pkglibdir}/*.so
This page took 0.082975 seconds and 4 git commands to generate.