Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

54 lines (46 sloc) 1.48 KB
Name: apache2-mod_mono
%if 0%{?suse_version}
%define apxs /usr/sbin/apxs2
%define apxs /usr/sbin/apxs
%define apache2_sysconfdir %(%{apxs} -q SYSCONFDIR)/conf.d
Obsoletes: mod_mono
%define modname mod_mono
%define apache2_libexecdir %(%{apxs} -q LIBEXECDIR)
%define apache_mmn %(MMN=$(%{apxs} -q LIBEXECDIR)_MMN; test -x $MMN && $MMN)
License: Apache Software License
Group: Productivity/Networking/Web/Servers
AutoReqProv: on
Version: @VERSION@
Release: 0
Summary: Run ASP.NET Pages on Unix with Apache and Mono
Source: %{modname}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Provides: mod_mono = %{version}-%{release}
# This must be manually entered according to xsp's protocol version
Requires: xsp >= %{version}
BuildRequires: pkg-config
BuildRequires: apache2-devel mono-devel
BuildRequires: libapr-util1-devel
Requires: apache2 %{apache_mmn}
mod_mono is a module that interfaces Apache with Mono and allows
running ASP.NET pages on Unix and Unix-like systems. To load the module
into Apache, run the command "a2enmod mono" as root.
%setup -n %{modname}-%{version} -q
make install DESTDIR=%{buildroot} APXS_SYSCONFDIR="%{apache2_sysconfdir}"
rm -rf %{buildroot}
Jump to Line
Something went wrong with that request. Please try again.