1 | Summary: FastCGI module |
---|
2 | Summary(ja): FastCGIモジュール |
---|
3 | Name: mod_fcgid |
---|
4 | Version: 2.3.6 |
---|
5 | Release: 1%{_dist_release} |
---|
6 | Group: System Environment/Daemons |
---|
7 | Source0: %{name}-%{version}.tar.bz2 |
---|
8 | Source1: %{name}.conf |
---|
9 | License: GPL2 |
---|
10 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
11 | BuildRequires: apache2-devel |
---|
12 | |
---|
13 | Vendor: Project Vine |
---|
14 | Distribution: Vine Linux |
---|
15 | Packager: tomop |
---|
16 | |
---|
17 | %description |
---|
18 | |
---|
19 | %package apache2 |
---|
20 | Group: System Environment/Daemons |
---|
21 | Summary: FastCGI module for Apache2 |
---|
22 | Summary(ja): Apache2用FastCGIモジュール |
---|
23 | Requires: apache2 |
---|
24 | |
---|
25 | %description apache2 |
---|
26 | This module makes Apache2 to support FastCGI. |
---|
27 | |
---|
28 | %description apache2 -l ja |
---|
29 | このモジュールは、Apache2にFastCGIサポートを追加します。 |
---|
30 | |
---|
31 | %prep |
---|
32 | %setup -q |
---|
33 | |
---|
34 | %build |
---|
35 | |
---|
36 | # for Apache2 |
---|
37 | APXS=%{_bindir}/apxs ./configure.apxs |
---|
38 | make %{?_smp_mflags} |
---|
39 | #%{_bindir}/apxs -c -o mod_fcgid.so -Iarch/unix -I. \ |
---|
40 | # fcgid_bridge.c fcgid_conf.c fcgid_pm_main.c \ |
---|
41 | # fcgid_protocol.c fcgid_spawn_ctl.c mod_fcgid.c \ |
---|
42 | # arch/unix/fcgid_proctbl_unix.c arch/unix/fcgid_pm_unix.c \ |
---|
43 | # arch/unix/fcgid_proc_unix.c fcgid_bucket.c fcgid_filter.c |
---|
44 | |
---|
45 | %install |
---|
46 | rm -rf %{buildroot} |
---|
47 | mkdir -p %{buildroot}%{_libdir}/apache2/modules/ |
---|
48 | mkdir -p %{buildroot}%{_localstatedir}/www/fcgi-bin/ |
---|
49 | install -m755 modules/fcgid/.libs/mod_fcgid.so %{buildroot}%{_libdir}/apache2/modules/ |
---|
50 | |
---|
51 | mkdir -p %{buildroot}%{_sysconfdir}/apache2/conf.d/ |
---|
52 | install -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/apache2/conf.d/ |
---|
53 | |
---|
54 | %clean |
---|
55 | rm -rf %{buildroot} |
---|
56 | |
---|
57 | %files apache2 |
---|
58 | %defattr(-,root,root) |
---|
59 | %doc CHANGES-FCGID STATUS-FCGID docs/ LICENSE-FCGID NOTICE-FCGID README-FCGID |
---|
60 | %{_libdir}/apache2/modules/*.so |
---|
61 | %dir %{_localstatedir}/www/fcgi-bin |
---|
62 | %config(noreplace) %{_sysconfdir}/apache2/conf.d/* |
---|
63 | |
---|
64 | |
---|
65 | %changelog |
---|
66 | * Thu Mar 31 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.3.6-1 |
---|
67 | - new upstream release. |
---|
68 | - replaced mod_fcgid.conf to use new directives. |
---|
69 | |
---|
70 | * Wed May 06 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.2-4 |
---|
71 | - rebuild |
---|
72 | |
---|
73 | * Wed Sep 03 2008 Shu KONNO <owa@bg.wakwak.com> 2.2-3 |
---|
74 | - spec in utf-8 |
---|
75 | |
---|
76 | * Thu May 8 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.2-2 |
---|
77 | - added <DocumentRoot>/fcgi-bin/. |
---|
78 | |
---|
79 | * Sat Apr 26 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.2-1 |
---|
80 | - initial build. |
---|