|
@@ -1,24 +1,31 @@
|
|
|
-%define mono_dir %(/usr/bin/monodir)
|
|
|
+%define mono_dir %{_prefix}/lib/mono
|
|
|
+
|
|
|
Summary: Small Web Server Hosting ASP.NET
|
|
|
Summary(ja): ASP.NET を提供する小さなウェブサーバ
|
|
|
Name: xsp
|
|
|
-URL: http://go-mono.com/
|
|
|
-License: GNU General Public License (GPL)
|
|
|
-Group: Applications/Internet
|
|
|
-Version: 2.10.2
|
|
|
+Version: 3.0.11
|
|
|
Release: 1%{?_dist_release}
|
|
|
-Source: http://mono.ximian.com/monobuild/preview/sources/xsp/xsp-%{version}.tar.bz2
|
|
|
+
|
|
|
+License: MIT
|
|
|
+Group: Applications/Services
|
|
|
+URL: http://www.mono-project.com/docs/web/aspnet/
|
|
|
+
|
|
|
+Source0: https://github.com/mono/%{name}/archive/%{version}.tar.gz
|
|
|
+
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
BuildArch: noarch
|
|
|
BuildRequires: mono-devel mono-web
|
|
|
BuildRequires: mono-data-sqlite mono-data-oracle mono-extras mono-nunit
|
|
|
+BuildRequires: monodoc
|
|
|
BuildRequires: pkgconfig
|
|
|
# One of the test runs requires this
|
|
|
-BuildRequires: sqlite
|
|
|
+BuildRequires: sqlite3
|
|
|
+BuildRequires: automake autoconf libtool
|
|
|
# This must be manually entered according to xsp's protocol version
|
|
|
# Since this package is currently noarch, and mod_mono's name is different
|
|
|
# on different distros, we can't use this... yet
|
|
|
#Requires: mod_mono >= %{version}
|
|
|
+
|
|
|
Distribution: Vine Linux
|
|
|
Vendor: Project Vine
|
|
|
Packager: owa
|
|
@@ -29,19 +36,32 @@ The XSP server is a small Web server that hosts the Mono System.Web
|
|
|
classes for running what is commonly known as ASP.NET.
|
|
|
|
|
|
|
|
|
+%package devel
|
|
|
+Summary: Development files for %{name}
|
|
|
+Summary(ja): %{name} の開発用ファイル
|
|
|
+Group: Development/Libraries
|
|
|
+Requires: %{name} = %{version}-%{release}
|
|
|
+Requires: pkgconfig
|
|
|
+
|
|
|
+%description devel
|
|
|
+The %{name}-devel package contains development files for %{name}.
|
|
|
+
|
|
|
+
|
|
|
%prep
|
|
|
%setup -q
|
|
|
|
|
|
%build
|
|
|
+./autogen.sh
|
|
|
+
|
|
|
export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
|
|
|
# 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=%{_prefix}/share/man \
|
|
|
- --infodir=%{_prefix}/share/info \
|
|
|
- --sysconfdir=%{_sysconfdir}
|
|
|
+ --libdir=%{_prefix}/lib \
|
|
|
+ --mandir=%{_prefix}/share/man \
|
|
|
+ --infodir=%{_prefix}/share/info \
|
|
|
+ --sysconfdir=%{_sysconfdir}
|
|
|
make
|
|
|
|
|
|
|
|
@@ -59,7 +79,7 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%files
|
|
|
%defattr(-,root,root)
|
|
|
-%doc NEWS README
|
|
|
+%doc ChangeLog COPYING NEWS README
|
|
|
%{_bindir}/*
|
|
|
%{_prefix}/lib/xsp
|
|
|
%{mono_dir}/gac/Mono.WebServer2
|
|
@@ -73,17 +93,25 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%{mono_dir}/2.0/fastcgi-mono-server2.exe
|
|
|
%{mono_dir}/2.0/mod-mono-server2.exe
|
|
|
%{mono_dir}/2.0/xsp2.exe
|
|
|
-%{mono_dir}/4.0/Mono.WebServer2.dll
|
|
|
-%{mono_dir}/4.0/fastcgi-mono-server4.exe
|
|
|
-%{mono_dir}/4.0/mod-mono-server4.exe
|
|
|
-%{mono_dir}/4.0/xsp4.exe
|
|
|
+%{mono_dir}/4.5/Mono.WebServer2.dll
|
|
|
+%{mono_dir}/4.5/fastcgi-mono-server4.exe
|
|
|
+%{mono_dir}/4.5/mod-mono-server4.exe
|
|
|
+%{mono_dir}/4.5/xsp4.exe
|
|
|
+%{_mandir}/*/*
|
|
|
+
|
|
|
+%files devel
|
|
|
+%defattr(-,root,root,-)
|
|
|
%{_prefix}/lib/monodoc/sources/Mono.WebServer.*
|
|
|
%{_prefix}/lib/monodoc/sources/Mono.FastCGI.*
|
|
|
%{_datadir}/pkgconfig/*
|
|
|
-%{_mandir}/*/*
|
|
|
-
|
|
|
|
|
|
%changelog
|
|
|
+* Wed Apr 15 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 3.0.11-1
|
|
|
+- updated to 3.0.11
|
|
|
+- added BR: monodoc
|
|
|
+- split development files into devel subpackage
|
|
|
+- built with mono 3.12.1
|
|
|
+
|
|
|
* Sat May 07 2011 Shu KONNO <owa@bg.wakwak.com> 2.10.2-1
|
|
|
- updated xsp to 2.10.2
|
|
|
|