1 | %define apxs /usr/bin/apxs |
---|
2 | %define httpd_modulesdir %(%{apxs} -q LIBEXECDIR) |
---|
3 | %define httpd_sysconfdir %{_sysconfdir}/apache2/conf.d |
---|
4 | |
---|
5 | Summary: Run ASP.NET Pages on Unix with Apache and Mono |
---|
6 | Summary(ja): Apache サーバの ASP.NET モジュールです |
---|
7 | Name: mod_mono |
---|
8 | Version: 3.12 |
---|
9 | Release: 1%{?_dist_release} |
---|
10 | |
---|
11 | License: APL 2.0 |
---|
12 | Group: Applications/Services |
---|
13 | URL: http://www.mono-project.com/docs/web/mod_mono/ |
---|
14 | |
---|
15 | Source: https://github.com/mono/mod_mono/archive/%{version}.tar.gz |
---|
16 | |
---|
17 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
18 | BuildRequires: apache2-devel |
---|
19 | BuildRequires: apr-devel |
---|
20 | BuildRequires: mono-devel |
---|
21 | BuildRequires: pkgconfig |
---|
22 | BuildRequires: autoconf automake libtool |
---|
23 | Requires: xsp |
---|
24 | Vendor: Project Vine |
---|
25 | Distribution: Vine Linux |
---|
26 | |
---|
27 | %description |
---|
28 | mod_mono is a module that interfaces Apache with Mono and allows |
---|
29 | running ASP.NET pages on Unix and Unix-like systems. To load the module |
---|
30 | into Apache, run the command "a2enmod mono" as root. |
---|
31 | |
---|
32 | |
---|
33 | %prep |
---|
34 | %setup -q |
---|
35 | |
---|
36 | %build |
---|
37 | ./autogen.sh |
---|
38 | |
---|
39 | %configure \ |
---|
40 | --with-remove-display \ |
---|
41 | --with-apxs=%{apxs} \ |
---|
42 | --with-apr-config=/usr/bin/apr-1-config \ |
---|
43 | ; |
---|
44 | %{__make} |
---|
45 | |
---|
46 | %install |
---|
47 | rm -rf $RPM_BUILD_ROOT |
---|
48 | make install DESTDIR=$RPM_BUILD_ROOT APXS_SYSCONFDIR="%{httpd_sysconfdir}" |
---|
49 | |
---|
50 | |
---|
51 | %clean |
---|
52 | rm -rf $RPM_BUILD_ROOT |
---|
53 | |
---|
54 | %files |
---|
55 | %defattr(-,root,root) |
---|
56 | %doc AUTHORS COPYING ChangeLog INSTALL NEWS README |
---|
57 | %{httpd_modulesdir}/* |
---|
58 | %config(noreplace) %{httpd_sysconfdir}/mod_mono.conf |
---|
59 | %{_mandir}/man8/mod_mono.8* |
---|
60 | |
---|
61 | %changelog |
---|
62 | * Sun Apr 19 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 3.12-1 |
---|
63 | - updated to 3.12 |
---|
64 | |
---|
65 | * Mon Apr 25 2011 Shu KONNO <owa@bg.wakwak.com> 2.10-2 |
---|
66 | - rebuilt with mono-2.10.1-3 |
---|
67 | |
---|
68 | * Sun Apr 03 2011 Shu KONNO <owa@bg.wakwak.com> 2.10-1 |
---|
69 | - updated mod_mono to 2.10 |
---|
70 | |
---|
71 | * Sat Jan 08 2011 Shu KONNO <owa@bg.wakwak.com> 2.8.2-1 |
---|
72 | - updated mod_mono to 2.8.2 |
---|
73 | |
---|
74 | * Tue Oct 12 2010 Shu KONNO <owa@bg.wakwak.com> 2.8-1 |
---|
75 | - initial build for VineSeed |
---|
76 | |
---|