Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:rehar:Mono26
xsp
xsp.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xsp.spec of Package xsp
# # spec file for package xsp (Version 2.6.4) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: xsp Url: http://go-mono.com/ License: MIT Group: Productivity/Networking/Web/Servers AutoReqProv: on Version: 2.6.5 Release: 0.3 Summary: Small Web Server Hosting ASP.NET Source: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch BuildRequires: mono-data-oracle mono-devel mono-jscript mono-nunit mono-web pkgconfig sqlite ##### suse #### %if 0%{?suse_version} PreReq: %insserv_prereq %fillup_prereq %define _fwdefdir /etc/sysconfig/SuSEfirewall2.d/services %endif # Fedora options (Bug in fedora images where 'abuild' user is the same id as 'nobody') %if 0%{?fedora_version} || 0%{?rhel_version} %define env_options export MONO_SHARED_DIR=/tmp %endif %define xspConfigsLocation %{_sysconfdir}/xsp/2.0 %define xspAvailableApps %{xspConfigsLocation}/applications-available %define xspEnabledApps %{xspConfigsLocation}/applications-enabled %description The XSP server is a small Web server that hosts the Mono System.Web classes for running what is commonly known as ASP.NET. %prep %setup -q %build %{?env_options} # Cannot use the configure macro because noarch-redhat-linux is not recognized by the auto tools in the tarball ./configure --prefix=%{_prefix} \ --libexecdir=%{_prefix}/lib \ --libdir=%{_prefix}/lib \ --mandir=%{_mandir} \ --infodir=%{_infodir} \ --sysconfdir=%{_sysconfdir} make %install %{?env_options} make install DESTDIR=%{buildroot} rm -rf %{buildroot}%{_prefix}/lib/xsp/unittests mkdir -p %{buildroot}%{_datadir} mv %{buildroot}%{_prefix}/lib/pkgconfig %{buildroot}%{_datadir} %if 0%{?suse_version} mkdir -p %{buildroot}/%{_fwdefdir} mkdir -p %{buildroot}/%{xspAvailableApps} mkdir -p %{buildroot}/%{xspEnabledApps} mkdir -p %{buildroot}/etc/init.d/ mkdir -p %{buildroot}/etc/logrotate.d/ mkdir -p %{buildroot}/srv/xsp2 mkdir -p %{buildroot}/var/adm/fillup-templates mkdir -p %{buildroot}/var/run/xsp2 install -m 644 man/mono-asp-apps.1 %{buildroot}%{_mandir}/man1/mono-asp-apps.1 install -m 644 packaging/opensuse/sysconfig.xsp2 %{buildroot}/var/adm/fillup-templates install -m 644 packaging/opensuse/xsp2.fw %{buildroot}/%{_fwdefdir}/xsp2 install -m 644 packaging/opensuse/xsp2.logrotate %{buildroot}/etc/logrotate.d/xsp2 install -m 755 packaging/opensuse/xsp2.init %{buildroot}/etc/init.d/xsp2 install -m 755 tools/mono-asp-apps/mono-asp-apps %{buildroot}%{_bindir}/mono-asp-apps %endif %clean rm -rf %{buildroot} %if 0%{?suse_version} %post %{fillup_and_insserv -n xsp2 xsp2} %preun %stop_on_removal xsp2 %postun %restart_on_update xsp2 %{insserv_cleanup} %endif %files %defattr(-,root,root) %{_bindir}/* %{_datadir}/pkgconfig/* %{_prefix}/share/man/*/* %{_prefix}/lib/xsp %{_prefix}/lib/mono/gac/Mono.WebServer %{_prefix}/lib/mono/1.0/Mono.WebServer.dll %{_prefix}/lib/mono/gac/Mono.WebServer2 %{_prefix}/lib/mono/2.0/Mono.WebServer2.dll %{_prefix}/lib/mono/gac/xsp %{_prefix}/lib/mono/1.0/xsp.exe %{_prefix}/lib/mono/gac/xsp2 %{_prefix}/lib/mono/2.0/xsp2.exe %{_prefix}/lib/mono/gac/mod-mono-server %{_prefix}/lib/mono/1.0/mod-mono-server.exe %{_prefix}/lib/mono/gac/mod-mono-server2 %{_prefix}/lib/mono/2.0/mod-mono-server2.exe %{_prefix}/lib/mono/gac/fastcgi-mono-server %{_prefix}/lib/mono/1.0/fastcgi-mono-server.exe %{_prefix}/lib/mono/gac/fastcgi-mono-server2 %{_prefix}/lib/mono/2.0/fastcgi-mono-server2.exe %if 0%{?suse_version} %config %{_fwdefdir}/xsp2 %config /etc/init.d/xsp2 %config /etc/logrotate.d/xsp2 /var/adm/fillup-templates/* %attr(0711,wwwrun,www) /srv/xsp2 %ghost %dir %attr(0711,wwwrun,www) /var/run/xsp2 %{_sysconfdir}/%{name} %endif %doc NEWS README %if 0%{?fedora_version} || 0%{?rhel_version} # Allows overrides of __find_provides in fedora distros... (already set to zero on newer suse distros) %define _use_internal_dependency_generator 0 %endif %define __find_provides env sh -c 'filelist=($(cat)) && { printf "%s\\n" "${filelist[@]}" | /usr/lib/rpm/find-provides && printf "%s\\n" "${filelist[@]}" | /usr/bin/mono-find-provides ; } | sort -u' %define __find_requires env sh -c 'filelist=($(cat)) && { printf "%s\\n" "${filelist[@]}" | /usr/lib/rpm/find-requires && printf "%s\\n" "${filelist[@]}" | /usr/bin/mono-find-requires ; } | sort -u' %changelog * Tue Apr 27 2010 ajorgensen@novell.com - Update to 2.6.4 * http://www.mono-project.com/Release_Notes_Mono_2.6.4 * Tue Mar 16 2010 ajorgensen@novell.com - Update to 2.6.3 * http://www.mono-project.com/Release_Notes_Mono_2.6.3 * Tue Jan 26 2010 ajorgensen@novell.com - Update to 2.6 * http://www.mono-project.com/Release_Notes_Mono_2.6 * Tue Aug 11 2009 ajorgensen@novell.com - Update to 2.4.2 * http://www.mono-project.com/Release_Notes_Mono_2.4.2 * Tue Mar 31 2009 ajorgensen@novell.com - Update to 2.4 * http://www.mono-project.com/Release_Notes_Mono_2.4 * Wed Oct 1 2008 ajorgensen@novell.com - Update to 2.0 RC4 * Fixes bnc#431121 * Mon Sep 22 2008 ajorgensen@novell.com - Update to 2.0 RC3 * Defaults to 2.0 profile (fixes a bug in mod_mono) * Tue Aug 26 2008 ajorgensen@novell.com - Update to 2.0 * Fixes bnc#350779, bnc#359783, bnc#363404, bnc#372220, bnc#324204, bnc#408723 * Sync with mod_mono changes * Tue Apr 22 2008 wberrier@suse.de - update to 1.9.1 (bugfix release) - Output date header (instead of asp.net doing it) * Tue Mar 25 2008 wberrier@suse.de - update to 1.9 - minor test updates - BaseRequestBroker fix: Check if the request ID is valid inside the lock. * Mon Jan 14 2008 wberrier@suse.de - update to 1.2.6 - FastCGI support * Fri Aug 31 2007 wberrier@suse.de - xsp_1.2.5_p5_final.patch: Fix for regression in the request broker * Fri Aug 17 2007 wberrier@suse.de - xsp_1.2.5_p4.patch.bz2: Bugfixes found in 1.2.5 - bugs: 81699, 81906, 82379, 82057 - fixes ability to handle large (GB) uploads (needed for iFolder) * Fri Aug 3 2007 wberrier@suse.de - Update to 1.2.5 - More robust exception handling - Fixed permissions bits for non executable scripts - virtual host support - New Documentation for Mono.WebServer - Improved event handling * Wed Jun 6 2007 wberrier@novell.com - Remove unnecessary path defines (prefix, sysconfdir) - Update to 1.2.4 - fix some race conditions and crashes - add tracing support * Fri Apr 13 2007 wberrier@novell.com - add %%debug_package so debug packages get created * Wed Apr 11 2007 wberrier@novell.com - Add mono dep/req for older distros * Fri Mar 2 2007 wberrier@suse.de - Update Update to 1.2.3 - Bug fix #80230 (prevents possible nullref) - Support for response header encoding * Tue Jan 23 2007 ro@suse.de - drop requires for gnome-filesystem * Sat Dec 2 2006 wberrier@suse.de - Update to 1.2.1 (Fate #301111) - Bugfixes: - close the connection if there's an error reading the headers (including assembly loading exceptions due to a bad installation). - kill the warning that everyone is worried about. * Sat Oct 21 2006 wberrier@suse.de - Update to 1.1.18 - 2.0 updates * Thu Oct 19 2006 wberrier@suse.de - Add mono-devel to fix bnc #213576 (missing provides) * Tue Sep 5 2006 wberrier@suse.de - Update to 1.1.17.1 bugfix release - Read from the stream, not the socket as the socket data is encrypted when using SSL. * Wed Aug 30 2006 wberrier@suse.de - Update to 1.1.17 - Added support for X.509 client certificates - Update to handle newly created AppDomains * Tue Aug 1 2006 wberrier@suse.de - update to 1.1.16.1 - better connection handling - fixes bugs: 77698,78034,78621 * Wed Apr 26 2006 wberrier@suse.de - Security update (remove all the duplicated slashes and don't do an extra Replace on non-windows.) and minor fix for [#78034]. * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Fri Jan 6 2006 wberrier@suse.de - Update to 1.1.13, clean up deps * Fri Nov 11 2005 wberrier@suse.de - Update to 1.1.10, set libdir to lib/ * Fri Oct 7 2005 wberrier@suse.de - Update to 1.1.9.2 and cleanup (I Don't think noarch mono needs libexec, so I disabled the patch) * Tue Jul 19 2005 sbrabec@suse.cz - Build as noarch (#81109). * Fri Jul 15 2005 sbrabec@suse.cz - Updated to version 1.0.9 (#96776). * Mon Feb 21 2005 clahey@suse.de - Updated to 1.0.6. * Mon Feb 7 2005 ro@suse.de - use /usr/lib/mono * Tue Dec 14 2004 clahey@suse.de - New package.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor