mod_fcgid-vl.spec 2.2 KB

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