+%define mod_name mod_mono
%define xsp_version 0.4
Summary: Mono module for Apache 2
Summary(pl): Modu³ Mono dla serwera Apache 2
-Name: mod_mono
+Name: apache-mod_mono
Version: 0.3
Release: 2
Epoch: 1
License: Apache
Group: Networking/Daemons
-Source0: http://www.apacheworld.org/modmono/%{name}-%{version}.tar.gz
+Source0: http://www.apacheworld.org/modmono/%{mod_name}-%{version}.tar.gz
# Source0-md5: c28a82496cf87de3c91450e47a4efcf1
Source1: http://go-mono.com/archive/xsp-%{xsp_version}.tar.gz
# Source1-md5: aacb2d6b0dc3f54382c09be0976f6a7f
BuildRequires: mono
Requires: apache >= 2.0
#Requires: httpd-mmn = %(cat %{_includedir}/httpd/.mmn)
+Obsoletes: mod_mono
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define httpdir /home/services/httpd
Uniksie z serwerem Apache i Mono.
%prep
-%setup -q -n %{name}-%{version} -a 1
+%setup -q -n %{mod_name}-%{version} -a 1
%build
# Build sample ASP.NET pages from xsp distribution