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