- Update to 2.0.1
- Add a Debian build OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=29
This commit is contained in:
95
uwsgi.spec
95
uwsgi.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package uwsgi
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: uwsgi
|
||||
Version: 1.9.19
|
||||
Version: 2.0.1
|
||||
Release: 0
|
||||
Summary: Application Container Server for Networked/Clustered Web Applications
|
||||
License: GPL-2.0-with-GCC-exception
|
||||
@@ -50,9 +50,6 @@ Patch4: uwsgi-1.9.13-emperor_pg-Wformat.patch
|
||||
%endif
|
||||
%define apache_libexecdir %(%{apxs} -q LIBEXECDIR)
|
||||
BuildRequires: apache2-devel
|
||||
%if 0%{?suse_version} > 1210
|
||||
BuildRequires: erlang
|
||||
%endif
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: gcc-objc
|
||||
%if 0%{?suse_version} > 1220
|
||||
@@ -89,15 +86,11 @@ BuildRequires: pkg-config
|
||||
BuildRequires: postgresql-devel
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-greenlet-devel
|
||||
%if 0%{?suse_version} > 1210
|
||||
%if 0%{?suse_version} <= 1310
|
||||
BuildRequires: ruby19-devel
|
||||
%endif
|
||||
BuildRequires: sqlite3-devel
|
||||
%if 0%{?suse_version} > 1210
|
||||
BuildRequires: systemd-devel
|
||||
%else
|
||||
BuildRequires: systemd
|
||||
%endif
|
||||
BuildRequires: tcpd-devel
|
||||
%ifarch %{ix86} x86_64 %{arm}
|
||||
%if 0%{?suse_version} < 1310
|
||||
@@ -212,20 +205,6 @@ This package contains an emperor plugin allowing for configuration of
|
||||
applications (vassals) via ZeroMQ.
|
||||
|
||||
|
||||
%if 0%{?suse_version} > 1210
|
||||
%package erlang
|
||||
Summary: Erlang Plugin for uWSGI
|
||||
Group: Productivity/Networking/Web/Servers
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
%description erlang
|
||||
uWSGI is a fast, self-healing and developer/sysadmin-friendly application
|
||||
container server coded in pure C.
|
||||
|
||||
This package contains support for uWSGI to act as an Erlang C-Node and exchange
|
||||
messages and rpc with Erlang nodes.
|
||||
%endif
|
||||
|
||||
%package geoip
|
||||
Summary: GeoIP Plugin for uWSGI
|
||||
Group: Productivity/Networking/Web/Servers
|
||||
@@ -319,6 +298,18 @@ container server coded in pure C.
|
||||
This package contains support for libffi.
|
||||
|
||||
|
||||
%package logzmq
|
||||
Summary: ZMQ Logger for uWSGI
|
||||
Group: Productivity/Networking/Web/Servers
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
%description logzmq
|
||||
uWSGI is a fast, self-healing and developer/sysadmin-friendly application
|
||||
container server coded in pure C.
|
||||
|
||||
This package contains support for ZMQ logging.
|
||||
|
||||
|
||||
%package lua
|
||||
Summary: Lua Plugin for uWSGI
|
||||
Group: Productivity/Networking/Web/Servers
|
||||
@@ -357,22 +348,6 @@ This package contains the PSGI plugin for running Perl applications that
|
||||
support the PSGI protocol.
|
||||
|
||||
|
||||
%if 0%{?suse_version} > 1210
|
||||
%package pyerl
|
||||
Summary: Python-Erlang Plugin for uWSGI
|
||||
Group: Productivity/Networking/Web/Servers
|
||||
Requires: %{name} = %{version}
|
||||
Requires: %{name}-erlang = %{version}
|
||||
Requires: %{name}-python = %{version}
|
||||
|
||||
%description pyerl
|
||||
uWSGI is a fast, self-healing and developer/sysadmin-friendly application
|
||||
container server coded in pure C.
|
||||
|
||||
This package contains the pyerl module for accessing Erlang functionality to
|
||||
Python applications.
|
||||
%endif
|
||||
|
||||
%package pypy
|
||||
Summary: PyPy Plugin for uWSGI
|
||||
Group: Productivity/Networking/Web/Servers
|
||||
@@ -397,7 +372,7 @@ container server coded in pure C.
|
||||
This package contains support for Python applications via the WSGI protocol.
|
||||
|
||||
|
||||
%if 0%{?suse_version} > 1210
|
||||
%if 0%{?suse_version} <= 1310
|
||||
%package ruby
|
||||
Summary: Ruby Plugin for uWSGI
|
||||
Group: Productivity/Networking/Web/Servers
|
||||
@@ -486,7 +461,7 @@ excluded_plugins="$excluded_plugins coroae"
|
||||
# Requires libgloox, which is not in Factory
|
||||
excluded_plugins="$excluded_plugins alarm_xmpp"
|
||||
|
||||
# No build config for gccgo ATM
|
||||
# No gccgo in openSUSE yet
|
||||
excluded_plugins="$excluded_plugins gccgo"
|
||||
|
||||
# These plugins require a libuwsgi, which appears to conflict with core...
|
||||
@@ -504,16 +479,20 @@ excluded_plugins="$excluded_plugins rados"
|
||||
# libtcc not yet in Factory
|
||||
excluded_plugins="$excluded_plugins libtcc"
|
||||
|
||||
# V8 is not yet available on all platforms and is broken in the v8 version in 13.1
|
||||
# matheval is deprecated
|
||||
excluded_plugins="$excluded_plugins matheval"
|
||||
|
||||
# V8 is not yet available on all platforms and is broken in the v8 versions in
|
||||
# 13.1+
|
||||
%ifarch %{ix86} x86_64 %{arm}
|
||||
%if 0%{?suse_version} > 1230
|
||||
%if 0%{?suse_version} >= 1310
|
||||
excluded_plugins="$excluded_plugins v8"
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if 0%{?suse_version} <= 1210
|
||||
# Requirements missing on openSUSE <= 12.1
|
||||
excluded_plugins="$excluded_plugins erlang fiber pyerl rack ruby19 systemd_logger"
|
||||
# Ruby 1.9 is no longer available after 13.1
|
||||
%if 0%{?suse_version} > 1310
|
||||
excluded_plugins="$excluded_plugins fiber mongrel2 rack rbthreads ruby19"
|
||||
%endif
|
||||
|
||||
%if 0%{?suse_version} <= 1220
|
||||
@@ -581,7 +560,6 @@ install -m 0755 apache2/.libs/*.so %{buildroot}/%{apache_libexecdir}
|
||||
%{_sysconfdir}/uwsgi/vassals/*
|
||||
%dir %{_libdir}/uwsgi
|
||||
%{_unitdir}/uwsgi.service
|
||||
%{_libdir}/uwsgi/admin_plugin.so
|
||||
%{_libdir}/uwsgi/airbrake_plugin.so
|
||||
%{_libdir}/uwsgi/alarm_curl_plugin.so
|
||||
%{_libdir}/uwsgi/cache_plugin.so
|
||||
@@ -641,9 +619,7 @@ install -m 0755 apache2/.libs/*.so %{buildroot}/%{apache_libexecdir}
|
||||
%{_libdir}/uwsgi/stats_pusher_statsd_plugin.so
|
||||
%{_libdir}/uwsgi/symcall_plugin.so
|
||||
%{_libdir}/uwsgi/syslog_plugin.so
|
||||
%if 0%{?suse_version} > 1210
|
||||
%{_libdir}/uwsgi/systemd_logger_plugin.so
|
||||
%endif
|
||||
%{_libdir}/uwsgi/tornado_plugin.so
|
||||
%{_libdir}/uwsgi/transformation_chunked_plugin.so
|
||||
%{_libdir}/uwsgi/transformation_gzip_plugin.so
|
||||
@@ -674,12 +650,6 @@ install -m 0755 apache2/.libs/*.so %{buildroot}/%{apache_libexecdir}
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/uwsgi/emperor_zeromq_plugin.so
|
||||
|
||||
%if 0%{?suse_version} > 1210
|
||||
%files erlang
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/uwsgi/erlang_plugin.so
|
||||
%endif
|
||||
|
||||
%files geoip
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/uwsgi/geoip_plugin.so
|
||||
@@ -714,6 +684,10 @@ install -m 0755 apache2/.libs/*.so %{buildroot}/%{apache_libexecdir}
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/uwsgi/libffi_plugin.so
|
||||
|
||||
%files logzmq
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/uwsgi/logzmq_plugin.so
|
||||
|
||||
%files lua
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/uwsgi/lua_plugin.so
|
||||
@@ -726,12 +700,6 @@ install -m 0755 apache2/.libs/*.so %{buildroot}/%{apache_libexecdir}
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/uwsgi/psgi_plugin.so
|
||||
|
||||
%if 0%{?suse_version} > 1210
|
||||
%files pyerl
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/uwsgi/pyerl_plugin.so
|
||||
%endif
|
||||
|
||||
%files pypy
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/uwsgi/pypy_plugin.so
|
||||
@@ -741,10 +709,11 @@ install -m 0755 apache2/.libs/*.so %{buildroot}/%{apache_libexecdir}
|
||||
%{_libdir}/uwsgi/python_plugin.so
|
||||
%{python_sitelib}/uwsgidecorators.py*
|
||||
|
||||
%if 0%{?suse_version} > 1210
|
||||
%if 0%{?suse_version} <= 1310
|
||||
%files ruby
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/uwsgi/fiber_plugin.so
|
||||
%{_libdir}/uwsgi/mongrel2_plugin.so
|
||||
%{_libdir}/uwsgi/rack_plugin.so
|
||||
%{_libdir}/uwsgi/rbthreads_plugin.so
|
||||
%{_libdir}/uwsgi/ruby19_plugin.so
|
||||
|
Reference in New Issue
Block a user