Name: xsp
Version: 2.0
Release: 2%{?dist}
License: MIT
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.bz2
Patch0: xsp-2.0-configure.patch
Patch1: xsp-makes.patch
Patch2: xsp-test-makefile.patch
BuildRequires: mono-web, mono-data, mono-devel >= 2.0, pkgconfig, autoconf automake mono-data-sqlite mono-nunit-devel
Requires: mono-core >= 2.0
Summary: A small web server that hosts ASP.NET
Group: System Environment/Daemons
ExclusiveArch: %ix86 x86_64 ppc ia64 armv4l sparc alpha
%define debug_package %{nil}
%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.
%package devel
Group: Development/Libraries
Requires: %{name} = %{version}-%{release} pkgconfig
Summary: Development files for xsp
%description devel
Development files for xsp
%package tests
Group: Applications/Internet
Requires: %{name} = %{version}-%{release}
Summary: xsp test files
%description tests
Files for testing the xsp server
%prep
%setup -q
%patch0 -p1 -b .config
%patch1 -p1 -b .makes
%patch2 -p1 -b .test-make
autoreconf
%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*
%{_bindir}/fastcgi-mono-server*
%{_libdir}/xsp
%{_libdir}/mono/gac/Mono.WebServer*/
%{_libdir}/mono/gac/fastcgi-mono-server/
%{_libdir}/mono/gac/fastcgi-mono-server2
%{_libdir}/mono/gac/mod-mono-server*/
%{_libdir}/mono/gac/xsp*/
%{_libdir}/mono/1.0/*.dll
%{_libdir}/mono/1.0/*.exe
%{_libdir}/mono/2.0/*.dll
%{_libdir}/mono/2.0/*.exe
%{_mandir}/man1/asp*
%{_mandir}/man1/dbsessmgr*
%{_mandir}/man1/mod-mono-server*
%{_mandir}/man1/xsp*
%{_mandir}/man1/fastcgi-mono-server*
%files devel
%{_libdir}/pkgconfig/xsp*
%files tests
%{_libdir}/xsp/1.0
%{_libdir}/xsp/2.0
%{_libdir}/xsp/test
%changelog
* Tue Sep 09 2008 Paul F. Johnson <paul@all-the-johnsons.co.uk> 2.0-2
- bump to 2.0 RC 1
* Sun Aug 03 2008 Paul F. Johnson <paul@all-the-johnsons.co.uk> 2.0-1
- bump to 2.0 preview 1
- spec file fixes
* Mon Apr 21 2008 Paul F. Johnson <paul@all-the-johnsons.co.uk> 1.9.1-1
- bump
* Thu Feb 21 2008 Paul F. Johnson <paul@all-the-johnsons.co.uk> 1.9-2
- fix for problem with the test makefile
* Thu Feb 21 2008 Paul F. Johnson <paul@all-the-johnsons.co.uk> 1.9-1
- bump
* Thu Dec 20 2007 Paul F. Johnson <paul@all-the-johnsons.co.uk> 1.2.6-1.2
- remove arch ppc64
- add br mono-data-sqlite
* Thu Nov 22 2007 Paul F. Johnson <paul@all-the-johnsons.co.uk> 1.2.6-1
- bump
- spec file fixes
- added new tests subpackage
* Sun Nov 11 2007 Paul F. Johnson <paul@all-the-johnsons.co.uk> 1.2.5-1
- bump
* Thu Apr 22 2007 Paul F. Johnson <paul@all-the-johnsons.co.uk> 1.2.4-1
- bump
* Sun Mar 25 2007 Paul F. Johnson <paul@all-the-johnsons.co.uk> 1.2.3-2
- fix for un-owned directories
* Thu Feb 15 2007 Paul F. Johnson <paul@all-the-johnsons.co.uk> 1.2.3-1
- bump
* Sat Nov 23 2006 Paul F. Johnson <paul@all-the-johnsons.co.uk> 1.2.1-1
- bump
* Sat Oct 14 2006 Paul F. Johnson <paul@all-the-johnsons.co.uk> 1.1.18-1
- bump
* Thu Aug 31 2006 Paul F. Johnson <paul@all-the-johnsons.co.uk> 1.1.17-1
- bump to new version
- added patches for architecture independance
- added devel package
* Tue Jul 11 2006 Paul F. Johnson <paul@all-the-johnsons.co.uk> 1.1.16-1
- bump to new version
* Tue Jul 4 2006 Paul F. Johnson <paul@all-the-johnsons.co.uk> 1.1.15-7
- brought into line with the new packaging regs for mono apps
* Mon Jun 19 2006 Paul F. Johnson <paul@all-the-johnsons.co.uk> 1.1.15-6
- removed the libdir hack
- removed the overzealous AC_CANONICAL from config.in
* Sun Jun 18 2006 Paul F. Johnson <paul@all-the-johnsons.co.uk> 1.1.15-5
- Added back the libdir hack
* Thu Jun 15 2006 Paul F. Johnson <paul@all-the-johnsons.co.uk> 1.1.15-4
- Removed libhack
- Made noarch
- Removed debug package
- Altered configure to keep it happy
* 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)