mod_mono-vl.spec 1.7 KB

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