mod_mono-vl.spec 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. %define apxs /usr/bin/apxs
  2. %define httpd_modulesdir %(%{apxs} -q LIBEXECDIR)
  3. #define httpd_sysconfdir %(%{apxs} -q SYSCONFDIR)/conf.d
  4. %define httpd_sysconfdir %{_sysconfdir}/apache2/conf.d
  5. Summary: Run ASP.NET Pages on Unix with Apache and Mono
  6. Summary(ja): mod_mono は Apacheサーバの ASP.NET モジュールです
  7. Name: mod_mono
  8. Version: 2.8
  9. Release: 1%{?_dist_release}
  10. Url: http://go-mono.com/
  11. Source: %{name}-%{version}.tar.bz2
  12. License: Apache Software License
  13. Group: System Environment/Daemons
  14. BuildRequires: apache2-devel
  15. BuildRequires: apr-devel
  16. BuildRequires: mono-devel
  17. BuildRequires: pkgconfig
  18. Requires: xsp >= %{version}
  19. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  20. Vendor: Project Vine
  21. Distribution: Vine Linux
  22. %description
  23. mod_mono is a module that interfaces Apache with Mono and allows
  24. running ASP.NET pages on Unix and Unix-like systems. To load the module
  25. into Apache, run the command "a2enmod mono" as root.
  26. %prep
  27. %setup
  28. %build
  29. %configure \
  30. --with-remove-display \
  31. --with-apxs=%{apxs} \
  32. --with-apr-config=/usr/bin/apr-1-config \
  33. ;
  34. %{__make}
  35. %install
  36. rm -rf $RPM_BUILD_ROOT
  37. make install DESTDIR=$RPM_BUILD_ROOT APXS_SYSCONFDIR="%{httpd_sysconfdir}"
  38. %clean
  39. rm -rf $RPM_BUILD_ROOT
  40. %files
  41. %defattr(-,root,root)
  42. %doc AUTHORS COPYING ChangeLog INSTALL NEWS README
  43. %{httpd_modulesdir}/*
  44. %config(noreplace) %{httpd_sysconfdir}/mod_mono.conf
  45. %{_mandir}/man8/mod_mono.8*
  46. %changelog
  47. * Tue Oct 12 2010 Shu KONNO <owa@bg.wakwak.com> 2.8-1
  48. - initial build for VineSeed