|
|
c7d01a6 |
|
|
|
c7d01a6 |
%{!?_httpd_apxs: %{expand: %%global _httpd_apxs %%{_sbindir}/apxs}}
|
|
|
c7d01a6 |
%{!?_httpd_mmn: %{expand: %%global _httpd_mmn %%(cat %{_includedir}/httpd/.mmn || echo missing-httpd-devel)}}
|
|
|
c7d01a6 |
|
|
|
697da5d |
Name: mod_wsgi
|
|
|
1db2075 |
Version: 3.3
|
|
|
c7d01a6 |
Release: 3%{?dist}
|
|
|
697da5d |
Summary: A WSGI interface for Python web applications in Apache
|
|
|
697da5d |
|
|
|
697da5d |
Group: System Environment/Libraries
|
|
|
697da5d |
License: ASL 2.0
|
|
|
697da5d |
URL: http://modwsgi.org
|
|
|
697da5d |
Source0: http://modwsgi.googlecode.com/files/%{name}-%{version}.tar.gz
|
|
|
697da5d |
Source1: wsgi.conf
|
|
|
c7d01a6 |
Patch0: mod_wsgi-3.3-httpd24.patch
|
|
|
697da5d |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
697da5d |
|
|
|
697da5d |
BuildRequires: httpd-devel
|
|
|
697da5d |
BuildRequires: python-devel
|
|
|
c7d01a6 |
Requires: httpd-mmn = %{_httpd_mmn}
|
|
|
697da5d |
|
|
|
697da5d |
%description
|
|
|
697da5d |
The mod_wsgi adapter is an Apache module that provides a WSGI compliant
|
|
|
697da5d |
interface for hosting Python based web applications within Apache. The
|
|
|
697da5d |
adapter is written completely in C code against the Apache C runtime and
|
|
|
697da5d |
for hosting WSGI applications within Apache has a lower overhead than using
|
|
|
697da5d |
existing WSGI adapters for mod_python or CGI.
|
|
|
697da5d |
|
|
|
697da5d |
|
|
|
697da5d |
%prep
|
|
|
697da5d |
%setup -q
|
|
|
c7d01a6 |
%patch0 -p1 -b .httpd24
|
|
|
697da5d |
|
|
|
697da5d |
%build
|
|
|
c7d01a6 |
%configure --enable-shared --with-apxs=%{_httpd_apxs}
|
|
|
3b56ae5 |
make LDFLAGS="-L%{_libdir}" %{?_smp_mflags}
|
|
|
697da5d |
|
|
|
697da5d |
|
|
|
697da5d |
%install
|
|
|
697da5d |
rm -rf $RPM_BUILD_ROOT
|
|
|
697da5d |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
697da5d |
|
|
|
697da5d |
install -d -m 755 $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d
|
|
|
697da5d |
install -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/
|
|
|
697da5d |
|
|
|
697da5d |
|
|
|
697da5d |
%clean
|
|
|
697da5d |
rm -rf $RPM_BUILD_ROOT
|
|
|
697da5d |
|
|
|
697da5d |
|
|
|
697da5d |
%files
|
|
|
697da5d |
%defattr(-,root,root,-)
|
|
|
697da5d |
%doc LICENCE README
|
|
|
697da5d |
%config(noreplace) %{_sysconfdir}/httpd/conf.d/wsgi.conf
|
|
|
697da5d |
%{_libdir}/httpd/modules/mod_wsgi.so
|
|
|
697da5d |
|
|
|
697da5d |
|
|
|
697da5d |
%changelog
|
|
|
c7d01a6 |
* Tue Mar 13 2012 Joe Orton <jorton@redhat.com> - 3.3-3
|
|
|
c7d01a6 |
- prepare for httpd 2.4.x
|
|
|
c7d01a6 |
|
|
|
cd44df7 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3-2
|
|
|
cd44df7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
cd44df7 |
|
|
|
1db2075 |
* Tue Nov 01 2011 James Bowes <jbowes@redhat.com> 3.3-1
|
|
|
1db2075 |
- update to 3.3
|
|
|
1db2075 |
|
|
|
4b50972 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2-3
|
|
|
4b50972 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
4b50972 |
|
|
|
289b2e0 |
* Tue Jul 27 2010 David Malcolm <dmalcolm@redhat.com> - 3.2-2
|
|
|
289b2e0 |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
289b2e0 |
|
|
joshkayse |
a65d8f9 |
* Tue Mar 9 2010 Josh Kayse <joshkayse@fedoraproject.org> - 3.2-1
|
|
joshkayse |
a65d8f9 |
- update to 3.2
|
|
joshkayse |
a65d8f9 |
|
|
joshkayse |
6bc6ede |
* Sun Mar 07 2010 Josh Kayse <joshkayse@fedoraproject.org> - 3.1-2
|
|
joshkayse |
6bc6ede |
- removed conflicts as it violates fedora packaging policy
|
|
joshkayse |
6bc6ede |
|
|
joshkayse |
d55dfcb |
* Sun Mar 07 2010 Josh Kayse <joshkayse@fedoraproject.org> - 3.1-1
|
|
joshkayse |
d55dfcb |
- update to 3.1
|
|
joshkayse |
d55dfcb |
- add explicit enable-shared
|
|
joshkayse |
d55dfcb |
- add conflicts mod_python < 3.3.1
|
|
joshkayse |
d55dfcb |
|
|
|
f933919 |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-2
|
|
|
f933919 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
f933919 |
|
|
|
17535ae |
* Thu Jul 02 2009 James Bowes <jbowes@redhat.com> 2.5-1
|
|
|
17535ae |
- Update to 2.5
|
|
|
17535ae |
|
|
|
0c21814 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3-3
|
|
|
0c21814 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
0c21814 |
|
|
|
6d6cd19 |
* Sun Nov 30 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 2.3-2
|
|
|
6d6cd19 |
- Rebuild for Python 2.6
|
|
|
6d6cd19 |
|
|
|
938231a |
* Tue Oct 28 2008 Luke Macken <lmacken@redhat.com> 2.3-1
|
|
|
938231a |
- Update to 2.3
|
|
|
938231a |
|
|
|
06db9f3 |
* Mon Sep 29 2008 James Bowes <jbowes@redhat.com> 2.1-2
|
|
|
06db9f3 |
- Remove requires on httpd-devel
|
|
|
06db9f3 |
|
|
|
786f01f |
* Wed Jul 02 2008 James Bowes <jbowes@redhat.com> 2.1-1
|
|
|
786f01f |
- Update to 2.1
|
|
|
786f01f |
|
|
|
3b56ae5 |
* Mon Jun 16 2008 Ricky Zhou <ricky@fedoraproject.org> 1.3-4
|
|
|
3b56ae5 |
- Build against the shared python lib.
|
|
|
3b56ae5 |
|
|
|
38851a5 |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.3-3
|
|
|
38851a5 |
- Autorebuild for GCC 4.3
|
|
|
38851a5 |
|
|
|
96871e8 |
* Sun Jan 06 2008 James Bowes <jbowes@redhat.com> 1.3-2
|
|
|
96871e8 |
- Require httpd
|
|
|
96871e8 |
|
|
|
fa653e6 |
* Sat Jan 05 2008 James Bowes <jbowes@redhat.com> 1.3-1
|
|
|
fa653e6 |
- Update to 1.3
|
|
|
fa653e6 |
|
|
|
697da5d |
* Sun Sep 30 2007 James Bowes <jbowes@redhat.com> 1.0-1
|
|
|
697da5d |
- Initial packaging for Fedora
|
|
|
697da5d |
|