Blob Blame History Raw
Name:     	xsp
Version: 	1.2.3
Release:	1%{?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
Patch0: xsp.patch
BuildRequires:	mono-web, mono-data, mono-core, pkgconfig, autoconf automake
Requires:	mono-core
Summary:	A small web server that hosts ASP.NET
Group:		System Environment/Daemons

%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

%prep
%setup -q
%patch0 -p1
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*
%{_libdir}/xsp/1.0/*
%{_libdir}/xsp/2.0/*
%{_libdir}/xsp/test/*
%{_libdir}/mono/gac/Mono.WebServer*/
%{_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*

%files devel
%{_libdir}/pkgconfig/xsp*

%changelog
* 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)