1 | %define apxs /usr/bin/apxs |
---|
2 | %define httpd_modulesdir %(%{apxs} -q LIBEXECDIR) |
---|
3 | #define httpd_sysconfdir %(%{apxs} -q SYSCONFDIR)/conf.d |
---|
4 | %define httpd_sysconfdir %{_sysconfdir}/apache2/conf.d |
---|
5 | Summary: Run ASP.NET Pages on Unix with Apache and Mono |
---|
6 | Summary(ja): mod_mono は Apacheサーバの ASP.NET モジュールです |
---|
7 | Name: mod_mono |
---|
8 | Version: 2.8.2 |
---|
9 | Release: 1%{?_dist_release} |
---|
10 | Url: http://go-mono.com/ |
---|
11 | Source: %{name}-%{version}.tar.bz2 |
---|
12 | License: Apache Software License |
---|
13 | Group: System Environment/Daemons |
---|
14 | BuildRequires: apache2-devel |
---|
15 | BuildRequires: apr-devel |
---|
16 | BuildRequires: mono-devel |
---|
17 | BuildRequires: pkgconfig |
---|
18 | Requires: xsp >= %{version} |
---|
19 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
20 | Vendor: Project Vine |
---|
21 | Distribution: Vine Linux |
---|
22 | |
---|
23 | %description |
---|
24 | mod_mono is a module that interfaces Apache with Mono and allows |
---|
25 | running ASP.NET pages on Unix and Unix-like systems. To load the module |
---|
26 | into Apache, run the command "a2enmod mono" as root. |
---|
27 | |
---|
28 | |
---|
29 | %prep |
---|
30 | %setup |
---|
31 | |
---|
32 | %build |
---|
33 | %configure \ |
---|
34 | --with-remove-display \ |
---|
35 | --with-apxs=%{apxs} \ |
---|
36 | --with-apr-config=/usr/bin/apr-1-config \ |
---|
37 | ; |
---|
38 | %{__make} |
---|
39 | |
---|
40 | %install |
---|
41 | rm -rf $RPM_BUILD_ROOT |
---|
42 | make install DESTDIR=$RPM_BUILD_ROOT APXS_SYSCONFDIR="%{httpd_sysconfdir}" |
---|
43 | |
---|
44 | |
---|
45 | %clean |
---|
46 | rm -rf $RPM_BUILD_ROOT |
---|
47 | |
---|
48 | %files |
---|
49 | %defattr(-,root,root) |
---|
50 | %doc AUTHORS COPYING ChangeLog INSTALL NEWS README |
---|
51 | %{httpd_modulesdir}/* |
---|
52 | %config(noreplace) %{httpd_sysconfdir}/mod_mono.conf |
---|
53 | %{_mandir}/man8/mod_mono.8* |
---|
54 | |
---|
55 | %changelog |
---|
56 | * Sat Jan 08 2011 Shu KONNO <owa@bg.wakwak.com> 2.8.2-1 |
---|
57 | - updated mod_mono to 2.8.2 |
---|
58 | |
---|
59 | * Tue Oct 12 2010 Shu KONNO <owa@bg.wakwak.com> 2.8-1 |
---|
60 | - initial build for VineSeed |
---|
61 | |
---|