mod_fcgid-vl.spec 1.9 KB

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