source: projects/specs/trunk/m/mod_fcgid/mod_fcgid-vl.spec @ 521

Revision 521, 1.9 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1Summary: FastCGI module
2Summary(ja): FastCGIモジュール
3Name: mod_fcgid
4Version: 2.2
5Release: 4%{_dist_release}
6Group: System Environment/Daemons
7Source0: %{name}.%{version}.tgz
8Source1: %{name}.conf
9License: GPL2
10BuildRoot: %{_tmppath}/%{name}-%{version}-root
11BuildPrereq: apache2-devel
12
13%description
14
15%package apache2
16Group: System Environment/Daemons
17Summary: FastCGI module for Apache2
18Summary(ja): Apache2用FastCGIモジュール
19Requires: apache2
20
21%description apache2
22This 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
40rm -rf %{buildroot}
41mkdir -p %{buildroot}%{_libdir}/apache2/modules/
42mkdir -p %{buildroot}%{_localstatedir}/www/fcgi-bin/
43install -m755 .libs/mod_fcgid.so %{buildroot}%{_libdir}/apache2/modules/
44
45mkdir -p %{buildroot}%{_sysconfdir}/apache2/conf.d/
46install -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/apache2/conf.d/
47
48%clean
49rm -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.
Note: See TracBrowser for help on using the repository browser.