Blob Blame History Raw
%define _libdir %{_exec_prefix}/lib

Name:     	xsp
Version: 	1.1.15
Release:	3%{?dist}
License:	BSD
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
URL:		http://www.mono-project.com/ASP.NET
Source0:	http://www.go-mono.com/sources/%{name}/%{name}-%{version}.tar.gz
BuildRequires:	mono-web, mono-data, mono-core, pkgconfig
Requires:	mono-core
Summary:	A small web server that hosts ASP.NET
Group:		System Environment/Daemons

%description

XSP is a standalone web server written in C#  that can be used to run ASP.NET 
applications as well as a set of pages, controls and web services that you can 
use to experience ASP.NET.
	  
%prep
%setup -q

%build
%configure
make

%install
rm -rf ${RPM_BUILD_ROOT}
make DESTDIR=${RPM_BUILD_ROOT} install

%clean
rm -rf ${RPM_BUILD_ROOT}

%files
%defattr(-, root, root,-)
%doc NEWS README COPYING
%{_bindir}/asp*
%{_bindir}/dbsessmgr*
%{_bindir}/mod-mono*
%{_bindir}/xsp*
%{_libdir}/xsp/1.0/*
%{_libdir}/xsp/2.0/*
%{_libdir}/xsp/test/*
%{_libdir}/pkgconfig/xsp*
%{_mandir}/man1/asp*
%{_mandir}/man1/dbsessmgr*
%{_mandir}/man1/mod-mono-server*
%{_mandir}/man1/xsp*

%changelog
* Wed Jun 14 2006 Paul F. Johnson <paul@all-the-johnsons.co.uk> 1.1.15-3
- Added BR pkgconfig

* Tue Jun 06 2006 Paul F. Johnson <paul@all-the-johnsons.co.uk> 1.1.15-2
- fixes for (clean) mock builds

* Sun May 14 2006 Paul F. Johnson <paul@all-the-johnsons.co.uk> 1.1.13-4
- minor alteration to the spec file

* Mon May 08 2006 Paul F. Johnson <paul@all-the-johnsons.co.uk> 1.1.13-3
- Fixes to the spec file
- Added clean

* Mon Apr 17 2006 Paul F. Johnson <paul@all-the-johnsons.co.uk> 1.1.13-1
- Initial import for FE
- Heavily amended spec file (based on the Novell original)