source: projects/specs/trunk/m/mod_wsgi/mod_wsgi-vl.spec @ 9096

Revision 9096, 1.8 KB checked in by iwaim, 9 years ago (diff)

mod_wsgi 3.5-1

Line 
1%define httpd apache2
2Summary: A WSGI interface for Python web applications in Apache
3Summary(ja): Pythonウェブアプリケーション用WSGIインタフェースを実装したApacheモジュール
4Name: mod_wsgi
5Version: 3.5
6Release: 1%{?_dist_release}
7License: Apache License Version 2.0
8Group: System Environment/Daemons
9URL: http://code.google.com/p/modwsgi/
10Source: http://modwsgi.googlecode.com/files/%{name}-%{version}.tar.gz
11Source1: wsgi.conf
12BuildRequires: python-devel
13BuildRequires: %{httpd}-devel
14Requires: %{httpd}
15Requires: python >= 2.3
16BuildRoot: %{_tmppath}/%{name}-%{version}-root
17Vendor: Project Vine
18Distribution: Vine Linux
19
20%description
21The mod_wsgi adapter is an Apache module that provides a WSGI compliant
22interface for hosting Python based web applications within Apache. The
23adapter is written completely in C code against the Apache C runtime and
24for hosting WSGI applications within Apache has a lower overhead than using
25existing WSGI adapters for mod_python or CGI.
26
27
28%prep
29%setup -q
30
31
32%build
33%configure --enable-shared
34make %{?_smp_mflags} LDFLAGS="-L%{_libdir}"
35
36
37%install
38rm -rf $RPM_BUILD_ROOT
39make install DESTDIR=$RPM_BUILD_ROOT
40
41## Install the config file
42install -d -m 755 $RPM_BUILD_ROOT%{_sysconfdir}/%{httpd}/conf.d
43install -p -m 644 %SOURCE1 $RPM_BUILD_ROOT%{_sysconfdir}/%{httpd}/conf.d/
44
45
46%clean
47rm -rf $RPM_BUILD_ROOT
48
49
50%files
51%defattr(-,root,root)
52%doc LICENCE README
53%config(noreplace) %{_sysconfdir}/%{httpd}/conf.d/wsgi.conf
54%{_libdir}/%{httpd}/modules/%{name}.so
55
56
57%changelog
58* Mon Jul 14 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 3.5-1
59- update to 3.5
60
61* Tue Jan  1 2013 IWAI, Masaharu <iwai@alib.jp> 3.4-1
62- new upstream release
63
64* Wed Dec 01 2010 Shu KONNO <owa@bg.wakwak.com> 3.3-1
65- initial build for Vine Linux
66- added wsgi.conf from fedora
67
Note: See TracBrowser for help on using the repository browser.