mod_mono-vl.spec 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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): Apache サーバの ASP.NET モジュールです
  6. Name: mod_mono
  7. Version: 3.12
  8. Release: 1%{?_dist_release}
  9. License: APL 2.0
  10. Group: Applications/Services
  11. URL: http://www.mono-project.com/docs/web/mod_mono/
  12. Source: https://github.com/mono/mod_mono/archive/%{version}.tar.gz
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildRequires: apache2-devel
  15. BuildRequires: apr-devel
  16. BuildRequires: mono-devel
  17. BuildRequires: pkgconfig
  18. BuildRequires: autoconf automake libtool
  19. Requires: xsp
  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 -q
  28. %build
  29. ./autogen.sh
  30. %configure \
  31. --with-remove-display \
  32. --with-apxs=%{apxs} \
  33. --with-apr-config=/usr/bin/apr-1-config \
  34. ;
  35. %{__make}
  36. %install
  37. rm -rf $RPM_BUILD_ROOT
  38. make install DESTDIR=$RPM_BUILD_ROOT APXS_SYSCONFDIR="%{httpd_sysconfdir}"
  39. %clean
  40. rm -rf $RPM_BUILD_ROOT
  41. %files
  42. %defattr(-,root,root)
  43. %doc AUTHORS COPYING ChangeLog INSTALL NEWS README
  44. %{httpd_modulesdir}/*
  45. %config(noreplace) %{httpd_sysconfdir}/mod_mono.conf
  46. %{_mandir}/man8/mod_mono.8*
  47. %changelog
  48. * Sun Apr 19 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 3.12-1
  49. - updated to 3.12
  50. * Mon Apr 25 2011 Shu KONNO <owa@bg.wakwak.com> 2.10-2
  51. - rebuilt with mono-2.10.1-3
  52. * Sun Apr 03 2011 Shu KONNO <owa@bg.wakwak.com> 2.10-1
  53. - updated mod_mono to 2.10
  54. * Sat Jan 08 2011 Shu KONNO <owa@bg.wakwak.com> 2.8.2-1
  55. - updated mod_mono to 2.8.2
  56. * Tue Oct 12 2010 Shu KONNO <owa@bg.wakwak.com> 2.8-1
  57. - initial build for VineSeed