xsp-vl.spec 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. %define mono_dir %(/usr/bin/monodir)
  2. Summary: Small Web Server Hosting ASP.NET
  3. Summary(ja): ASP.NET を提供する小さなウェブサーバ
  4. Name: xsp
  5. URL: http://go-mono.com/
  6. License: GNU General Public License (GPL)
  7. Group: Applications/Internet
  8. Version: 2.10
  9. Release: 1%{?_dist_release}
  10. Source: http://mono.ximian.com/monobuild/preview/sources/xsp/xsp-%{version}.tar.bz2
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildArch: noarch
  13. BuildRequires: mono-devel mono-web
  14. BuildRequires: mono-data-sqlite mono-data-oracle mono-extras mono-nunit
  15. BuildRequires: pkgconfig
  16. # One of the test runs requires this
  17. BuildRequires: sqlite
  18. # This must be manually entered according to xsp's protocol version
  19. # Since this package is currently noarch, and mod_mono's name is different
  20. # on different distros, we can't use this... yet
  21. #Requires: mod_mono >= %{version}
  22. %description
  23. The XSP server is a small Web server that hosts the Mono System.Web
  24. classes for running what is commonly known as ASP.NET.
  25. %prep
  26. %setup -q
  27. %build
  28. export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
  29. # Cannot use the configure macro because noarch-redhat-linux is not recognized by the auto tools in the tarball
  30. ./configure \
  31. --prefix=%{_prefix} \
  32. --libexecdir=%{_prefix}/lib \
  33. --libdir=%{_prefix}/lib \
  34. --mandir=%{_prefix}/share/man \
  35. --infodir=%{_prefix}/share/info \
  36. --sysconfdir=%{_sysconfdir}
  37. make
  38. %install
  39. rm -rf $RPM_BUILD_ROOT
  40. export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
  41. make install DESTDIR=$RPM_BUILD_ROOT
  42. mkdir -p ${RPM_BUILD_ROOT}%{_datadir}
  43. mv ${RPM_BUILD_ROOT}%{_prefix}/lib/pkgconfig ${RPM_BUILD_ROOT}%{_datadir}
  44. %clean
  45. rm -rf $RPM_BUILD_ROOT
  46. %files
  47. %defattr(-,root,root)
  48. %doc NEWS README
  49. %{_bindir}/*
  50. %{_prefix}/lib/xsp
  51. %{mono_dir}/gac/Mono.WebServer2
  52. %{mono_dir}/gac/fastcgi-mono-server2
  53. %{mono_dir}/gac/fastcgi-mono-server4
  54. %{mono_dir}/gac/mod-mono-server2
  55. %{mono_dir}/gac/mod-mono-server4
  56. %{mono_dir}/gac/xsp2
  57. %{mono_dir}/gac/xsp4
  58. %{mono_dir}/2.0/Mono.WebServer2.dll
  59. %{mono_dir}/2.0/fastcgi-mono-server2.exe
  60. %{mono_dir}/2.0/mod-mono-server2.exe
  61. %{mono_dir}/2.0/xsp2.exe
  62. %{mono_dir}/4.0/Mono.WebServer2.dll
  63. %{mono_dir}/4.0/fastcgi-mono-server4.exe
  64. %{mono_dir}/4.0/mod-mono-server4.exe
  65. %{mono_dir}/4.0/xsp4.exe
  66. %{_prefix}/lib/monodoc/sources/Mono.WebServer.*
  67. %{_prefix}/lib/monodoc/sources/Mono.FastCGI.*
  68. %{_datadir}/pkgconfig/*
  69. %{_mandir}/*/*
  70. %changelog
  71. * Sun Apr 03 2011 Shu KONNO <owa@bg.wakwak.com> 2.10-1
  72. - updated xsp to 2.10
  73. * Sat Jan 08 2011 Shu KONNO <owa@bg.wakwak.com> 2.8.2-1
  74. - updated xsp to 2.8.2
  75. * Sun Nov 21 2010 Shu KONNO <owa@bg.wakwak.com> 2.8.1-1
  76. - updated xsp to 2.8.1
  77. * Fri Oct 08 2010 Shu KONNO <owa@bg.wakwak.com> 2.8-1
  78. - updated xsp to 2.8
  79. - rebuilt with mono-2.8
  80. - dropt BR: mono-jscript
  81. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.5-2
  82. - rebuild with rpm-4.8.1 for pkg-config file
  83. * Mon Jul 26 2010 Shu KONNO <owa@bg.wakwak.com> 2.6.5-1
  84. - updated xsp to 2.6.5
  85. * Sat May 01 2010 Shu KONNO <owa@bg.wakwak.com> 2.6.4-1
  86. - updated xsp to 2.6.4
  87. * Thu Apr 08 2010 Shu KONNO <owa@bg.wakwak.com> 2.6.3-1
  88. - updated xsp to 2.6.3
  89. * Tue Mar 02 2010 Shu KONNO <owa@bg.wakwak.com> 2.6-1
  90. - updated to 2.6
  91. - rebuilt with new toolchain
  92. * Tue Dec 15 2009 Shu KONNO <owa@bg.wakwak.com> 2.4.3-2
  93. - updated to 2.4.3
  94. * Sun Apr 19 2009 Shu KONNO <owa@bg.wakwak.com> 2.4-2
  95. - changed Group to Applications/Internet
  96. * Sun Apr 05 2009 Shu KONNO <owa@bg.wakwak.com> 2.4-1
  97. - updated to 2.4
  98. * Wed Sep 17 2008 Shu KONNO <owa@bg.wakwak.com> 2.0-1
  99. - initial build for VineSeed
  100. - updated xsp to 2.0
  101. - added japanese summary
  102. - applied vine versioning policy
  103. - spec in utf-8
  104. * Tue Apr 22 2008 wberrier@suse.de
  105. - update to 1.9.1 (bugfix release)
  106. - Output date header (instead of asp.net doing it)
  107. * Tue Mar 25 2008 wberrier@suse.de
  108. - update to 1.9
  109. - minor test updates
  110. - BaseRequestBroker fix: Check if the request ID is valid inside
  111. the lock.
  112. * Mon Jan 14 2008 wberrier@suse.de
  113. - update to 1.2.6
  114. - FastCGI support
  115. * Thu Aug 30 2007 wberrier@suse.de
  116. - xsp_1.2.5_p5_final.patch: Fix for regression in the request
  117. broker
  118. * Fri Aug 17 2007 wberrier@suse.de
  119. - xsp_1.2.5_p4.patch.bz2: Bugfixes found in 1.2.5
  120. - bugs: 81699, 81906, 82379, 82057
  121. - fixes ability to handle large (GB) uploads (needed for iFolder)
  122. * Fri Aug 3 2007 wberrier@suse.de
  123. - Update to 1.2.5
  124. - More robust exception handling
  125. - Fixed permissions bits for non executable scripts
  126. - virtual host support
  127. - New Documentation for Mono.WebServer
  128. - Improved event handling
  129. * Tue Jun 5 2007 wberrier@novell.com
  130. - Remove unnecessary path defines (prefix, sysconfdir)
  131. - Update to 1.2.4
  132. - fix some race conditions and crashes
  133. - add tracing support
  134. * Fri Apr 13 2007 wberrier@novell.com
  135. - add %%debug_package so debug packages get created
  136. * Wed Apr 11 2007 wberrier@novell.com
  137. - Add mono dep/req for older distros
  138. * Thu Mar 1 2007 wberrier@suse.de
  139. - Update Update to 1.2.3
  140. - Bug fix #80230 (prevents possible nullref)
  141. - Support for response header encoding
  142. * Mon Jan 22 2007 ro@suse.de
  143. - drop requires for gnome-filesystem
  144. * Sat Dec 2 2006 wberrier@suse.de
  145. - Update to 1.2.1 (Fate #301111)
  146. - Bugfixes:
  147. - close the connection if there's an error reading the headers
  148. (including assembly loading exceptions due to a bad installation).
  149. - kill the warning that everyone is worried about.
  150. * Fri Oct 20 2006 wberrier@suse.de
  151. - Update to 1.1.18
  152. - 2.0 updates
  153. * Thu Oct 19 2006 wberrier@suse.de
  154. - Add mono-devel to fix bnc #213576 (missing provides)
  155. * Tue Sep 5 2006 wberrier@suse.de
  156. - Update to 1.1.17.1 bugfix release
  157. - Read from the stream, not the socket as the socket data is
  158. encrypted when using SSL.
  159. * Wed Aug 30 2006 wberrier@suse.de
  160. - Update to 1.1.17
  161. - Added support for X.509 client certificates
  162. - Update to handle newly created AppDomains
  163. * Mon Jul 31 2006 wberrier@suse.de
  164. - update to 1.1.16.1
  165. - better connection handling
  166. - fixes bugs: 77698,78034,78621
  167. * Tue Apr 25 2006 wberrier@suse.de
  168. - Security update (remove all the duplicated slashes
  169. and don't do an extra Replace on non-windows.) and minor fix for
  170. [#78034].
  171. * Wed Jan 25 2006 mls@suse.de
  172. - converted neededforbuild to BuildRequires
  173. * Fri Jan 6 2006 wberrier@suse.de
  174. - Update to 1.1.13, clean up deps
  175. * Thu Nov 10 2005 wberrier@suse.de
  176. - Update to 1.1.10, set libdir to lib/
  177. * Fri Oct 7 2005 wberrier@suse.de
  178. - Update to 1.1.9.2 and cleanup (I Don't think noarch mono needs
  179. libexec, so I disabled the patch)
  180. * Tue Jul 19 2005 sbrabec@suse.cz
  181. - Build as noarch (#81109).
  182. * Fri Jul 15 2005 sbrabec@suse.cz
  183. - Updated to version 1.0.9 (#96776).
  184. * Mon Feb 21 2005 clahey@suse.de
  185. - Updated to 1.0.6.
  186. * Sun Feb 6 2005 ro@suse.de
  187. - use /usr/lib/mono
  188. * Mon Dec 13 2004 clahey@suse.de
  189. - New package.