Browse Source

mod_fcgid-2.3.6

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@3250 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 13 years ago
parent
commit
5eb85f327b
1 changed files with 22 additions and 12 deletions
  1. 22 12
      m/mod_fcgid/mod_fcgid-vl.spec

+ 22 - 12
m/mod_fcgid/mod_fcgid-vl.spec

@@ -1,14 +1,18 @@
 Summary: FastCGI module
 Summary(ja): FastCGIモジュール
 Name: mod_fcgid
-Version: 2.2
-Release: 4%{_dist_release}
+Version: 2.3.6
+Release: 1%{_dist_release}
 Group: System Environment/Daemons
-Source0: %{name}.%{version}.tgz
+Source0: %{name}-%{version}.tar.bz2
 Source1: %{name}.conf
 License: GPL2
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
-BuildPrereq: apache2-devel
+BuildRequires: apache2-devel
+
+Vendor: Project Vine
+Distribution: Vine Linux
+Packager: tomop
 
 %description
 
@@ -25,22 +29,24 @@ This module makes Apache2 to support FastCGI.
 このモジュールは、Apache2にFastCGIサポートを追加します。
 
 %prep
-%setup -q -n %{name}.%{version}
+%setup -q
 
 %build
 
 # for Apache2
-%{_bindir}/apxs -c -o mod_fcgid.so -Iarch/unix -I. \
-                fcgid_bridge.c fcgid_conf.c fcgid_pm_main.c \
-                fcgid_protocol.c fcgid_spawn_ctl.c mod_fcgid.c \
-                arch/unix/fcgid_proctbl_unix.c arch/unix/fcgid_pm_unix.c \
-                arch/unix/fcgid_proc_unix.c fcgid_bucket.c fcgid_filter.c
+APXS=%{_bindir}/apxs ./configure.apxs
+make %{?_smp_mflags}
+#%{_bindir}/apxs -c -o mod_fcgid.so -Iarch/unix -I. \
+#                fcgid_bridge.c fcgid_conf.c fcgid_pm_main.c \
+#                fcgid_protocol.c fcgid_spawn_ctl.c mod_fcgid.c \
+#                arch/unix/fcgid_proctbl_unix.c arch/unix/fcgid_pm_unix.c \
+#                arch/unix/fcgid_proc_unix.c fcgid_bucket.c fcgid_filter.c
 
 %install
 rm -rf %{buildroot}
 mkdir -p %{buildroot}%{_libdir}/apache2/modules/
 mkdir -p %{buildroot}%{_localstatedir}/www/fcgi-bin/
-install -m755 .libs/mod_fcgid.so %{buildroot}%{_libdir}/apache2/modules/
+install -m755 modules/fcgid/.libs/mod_fcgid.so %{buildroot}%{_libdir}/apache2/modules/
 
 mkdir -p %{buildroot}%{_sysconfdir}/apache2/conf.d/
 install -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/apache2/conf.d/
@@ -50,13 +56,17 @@ rm -rf %{buildroot}
 
 %files apache2
 %defattr(-,root,root)
-%doc AUTHOR COPYING ChangeLog INSTALL.txt
+%doc CHANGES-FCGID STATUS-FCGID docs/ LICENSE-FCGID NOTICE-FCGID README-FCGID
 %{_libdir}/apache2/modules/*.so
 %dir %{_localstatedir}/www/fcgi-bin
 %config(noreplace) %{_sysconfdir}/apache2/conf.d/*
 
 
 %changelog
+* Thu Mar 31 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.3.6-1
+- new upstream release.
+- replaced mod_fcgid.conf to use new directives.
+
 * Wed May 06 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.2-4
 - rebuild