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