2012-09-10 12:57:08 +02:00
|
|
|
#
|
|
|
|
# spec file for package uwsgi
|
|
|
|
#
|
2021-09-30 14:59:18 +02:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2012-09-10 12:57:08 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-03-16 01:52:40 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2012-09-12 03:15:59 +02:00
|
|
|
#
|
2012-09-10 12:57:08 +02:00
|
|
|
|
|
|
|
|
|
|
|
Name: uwsgi
|
2021-12-06 11:31:37 +01:00
|
|
|
Version: 2.0.20
|
2012-09-10 12:57:08 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Application Container Server for Networked/Clustered Web Applications
|
2018-02-28 10:07:54 +01:00
|
|
|
License: Apache-2.0 AND GPL-2.0-only WITH GCC-exception-2.0
|
2012-09-10 12:57:08 +02:00
|
|
|
Group: Productivity/Networking/Web/Servers
|
2019-12-20 15:23:30 +01:00
|
|
|
URL: https://uwsgi-docs.readthedocs.io/en/latest/
|
2019-02-09 17:41:56 +01:00
|
|
|
Source: https://projects.unbit.it/downloads/uwsgi-%{version}.tar.gz
|
2012-09-10 12:57:08 +02:00
|
|
|
Source1: opensuse.ini.in
|
2013-05-31 20:42:21 +02:00
|
|
|
Source2: uwsgi.service
|
2012-09-10 12:57:08 +02:00
|
|
|
Source3: django.ini.example
|
|
|
|
Source4: rails.yml.example
|
|
|
|
Source5: trac.ini.example
|
|
|
|
Source6: werkzeug.xml.example
|
|
|
|
Source7: README.openSUSE
|
2013-05-31 22:55:51 +02:00
|
|
|
Source8: uwsgi.ini
|
2020-09-17 23:55:48 +02:00
|
|
|
Source9: uwsgi.tmpfiles.d
|
2013-09-24 01:42:48 +02:00
|
|
|
# PATCH-FIX-OPENSUSE uwsgi-1.9.17-plugin_build_path.patch - Don't attempt to install plugins to target dest during build
|
|
|
|
Patch0: uwsgi-1.9.17-plugin_build_path.patch
|
|
|
|
# PATCH-FIX-OPENSUSE uwsgi-1.9.17-no-LD_RUN_PATH.patch - Disable invalid rpath in plugins
|
2016-02-08 12:22:47 +01:00
|
|
|
Patch1: uwsgi-2.0.12-no-LD_RUN_PATH.patch
|
2013-07-16 22:15:04 +02:00
|
|
|
# PATCH-FIX-OPENSUSE uwsgi-1.9.13-objc_gc-no-fobjc-gc.patch - No -fobjc-gc in CFLAGS, which is incorrect in GNU
|
|
|
|
Patch2: uwsgi-1.9.13-objc_gc-no-fobjc-gc.patch
|
2013-05-31 22:55:51 +02:00
|
|
|
# PATCH-FIX-OPENSUSE uwsgi-1.9.11-systemd_logger-old_systemd.patch - Older systemd in 12.2 does not implicity include syslog.h
|
|
|
|
Patch3: uwsgi-1.9.11-systemd_logger-old_systemd.patch
|
2019-03-16 01:52:40 +01:00
|
|
|
# PATCH-FIX-OPENSUSE uwsgi-2.0.18-postgresql-config.patch - Use pkg-config instead of pg_config
|
|
|
|
Patch4: uwsgi-2.0.18-postgresql-config.patch
|
2020-12-03 12:57:44 +01:00
|
|
|
BuildRequires: apache-rpm-macros
|
2018-04-28 05:18:38 +02:00
|
|
|
%if 0%{suse_version} < 1500
|
2013-11-08 21:15:53 +01:00
|
|
|
BuildRequires: apache2-devel
|
2018-04-28 05:18:38 +02:00
|
|
|
%else
|
2018-05-31 03:08:03 +02:00
|
|
|
BuildRequires: apache2-devel >= 2.4.33
|
2018-04-28 05:18:38 +02:00
|
|
|
%endif
|
2018-04-16 16:13:38 +02:00
|
|
|
%if 0%{?suse_version} >= 1500
|
|
|
|
BuildRequires: argon2-devel
|
|
|
|
%endif
|
2012-09-10 12:57:08 +02:00
|
|
|
BuildRequires: gcc-c++
|
2013-07-16 22:15:04 +02:00
|
|
|
BuildRequires: gcc-objc
|
2013-09-24 02:15:45 +02:00
|
|
|
%if 0%{?suse_version} > 1220
|
2013-09-24 01:42:48 +02:00
|
|
|
BuildRequires: glusterfs-devel
|
2013-09-24 01:48:27 +02:00
|
|
|
%endif
|
2013-05-31 20:42:21 +02:00
|
|
|
#BuildRequires: go
|
2012-09-10 12:57:08 +02:00
|
|
|
BuildRequires: java-devel
|
2013-05-31 20:42:21 +02:00
|
|
|
#BuildRequires: krb5-devel
|
|
|
|
BuildRequires: libattr-devel
|
|
|
|
BuildRequires: libcap-devel
|
|
|
|
BuildRequires: libcurl-devel
|
2013-10-17 23:55:17 +02:00
|
|
|
BuildRequires: libffi-devel
|
2013-05-31 22:55:51 +02:00
|
|
|
%if 0%{?suse_version} > 1210
|
2013-05-31 20:42:21 +02:00
|
|
|
BuildRequires: libjansson-devel
|
2013-05-31 22:55:51 +02:00
|
|
|
%endif
|
2013-05-31 20:42:21 +02:00
|
|
|
#BuildRequires: libmono-2_0-devel
|
|
|
|
BuildRequires: libuuid-devel
|
2012-09-10 12:57:08 +02:00
|
|
|
BuildRequires: libxml2-devel
|
2013-05-31 20:42:21 +02:00
|
|
|
BuildRequires: libxslt-devel
|
|
|
|
BuildRequires: libyaml-devel
|
2015-07-12 00:28:57 +02:00
|
|
|
%if 0%{?suse_version} > 1210
|
|
|
|
BuildRequires: lua51-devel
|
|
|
|
%else
|
2013-05-31 22:55:51 +02:00
|
|
|
BuildRequires: lua-devel
|
2015-07-12 00:28:57 +02:00
|
|
|
%endif
|
2013-05-31 20:42:21 +02:00
|
|
|
#BuildRequires: mono-web
|
2018-04-16 16:13:38 +02:00
|
|
|
BuildRequires: ncurses-devel
|
2013-05-31 20:42:21 +02:00
|
|
|
BuildRequires: openldap2-devel
|
|
|
|
BuildRequires: openssl-devel
|
2012-09-10 12:57:08 +02:00
|
|
|
BuildRequires: pam-devel
|
2013-05-31 20:42:21 +02:00
|
|
|
BuildRequires: pcre-devel
|
2017-11-11 10:59:31 +01:00
|
|
|
%if 0%{?suse_version} > 1320
|
|
|
|
BuildRequires: php7-devel
|
|
|
|
BuildRequires: php7-embed
|
|
|
|
%endif
|
2013-05-31 20:42:21 +02:00
|
|
|
BuildRequires: pkg-config
|
2012-09-10 12:57:08 +02:00
|
|
|
BuildRequires: postgresql-devel
|
2014-07-01 21:08:50 +02:00
|
|
|
BuildRequires: python3-devel
|
2021-09-30 14:59:18 +02:00
|
|
|
BuildRequires: python3-greenlet-devel
|
2014-02-21 21:03:09 +01:00
|
|
|
%if 0%{?suse_version} <= 1310
|
2013-05-31 22:55:51 +02:00
|
|
|
BuildRequires: ruby19-devel
|
|
|
|
%endif
|
2013-05-31 20:42:21 +02:00
|
|
|
BuildRequires: sqlite3-devel
|
|
|
|
BuildRequires: tcpd-devel
|
2019-12-20 15:23:30 +01:00
|
|
|
BuildRequires: pkgconfig(libsystemd)
|
2020-12-14 13:41:57 +01:00
|
|
|
%ifarch %{ix86} x86_64 %{arm}
|
2013-09-24 01:42:48 +02:00
|
|
|
%if 0%{?suse_version} < 1310
|
2013-05-31 20:42:21 +02:00
|
|
|
BuildRequires: v8-devel
|
2013-09-20 19:58:22 +02:00
|
|
|
%endif
|
2013-09-24 01:42:48 +02:00
|
|
|
%endif
|
2013-05-31 20:42:21 +02:00
|
|
|
BuildRequires: zeromq-devel
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
%{?systemd_requires}
|
2012-09-10 12:57:08 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2013-05-31 20:42:21 +02:00
|
|
|
Provides: uwsgi-carbon = %{version}
|
|
|
|
Obsoletes: uwsgi-carbon < 1.9.11
|
|
|
|
Provides: uwsgi-cgi = %{version}
|
|
|
|
Obsoletes: uwsgi-cgi < 1.9.11
|
|
|
|
Provides: uwsgi-fastrouter = %{version}
|
|
|
|
Obsoletes: uwsgi-fastrouter < 1.9.11
|
|
|
|
Provides: uwsgi-graylog2 = %{version}
|
|
|
|
Obsoletes: uwsgi-graylog2 < 1.9.11
|
|
|
|
Provides: uwsgi-http = %{version}
|
|
|
|
Obsoletes: uwsgi-http < 1.9.11
|
|
|
|
Provides: uwsgi-logsocket = %{version}
|
|
|
|
Obsoletes: uwsgi-logsocket < 1.9.11
|
|
|
|
Provides: uwsgi-nagios = %{version}
|
|
|
|
Obsoletes: uwsgi-nagios < 1.9.11
|
|
|
|
Provides: uwsgi-probepg = %{version}
|
|
|
|
Obsoletes: uwsgi-probepg < 1.9.11
|
|
|
|
Provides: uwsgi-redislog = %{version}
|
|
|
|
Obsoletes: uwsgi-redislog < 1.9.11
|
|
|
|
Provides: uwsgi-rrdtool = %{version}
|
|
|
|
Obsoletes: uwsgi-rrdtool < 1.9.11
|
|
|
|
Provides: uwsgi-rsyslog = %{version}
|
|
|
|
Obsoletes: uwsgi-rsyslog < 1.9.11
|
|
|
|
Provides: uwsgi-syslog = %{version}
|
|
|
|
Obsoletes: uwsgi-syslog < 1.9.11
|
|
|
|
Provides: uwsgi-ugreen = %{version}
|
|
|
|
Obsoletes: uwsgi-ugreen < 1.9.11
|
|
|
|
Provides: uwsgi-zergpool = %{version}
|
|
|
|
Obsoletes: uwsgi-zergpool < 1.9.11
|
2012-09-10 12:57:08 +02:00
|
|
|
|
|
|
|
%description
|
2017-11-11 10:59:31 +01:00
|
|
|
uWSGI is a self-healing application container server coded in pure C.
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2017-11-11 10:59:31 +01:00
|
|
|
It is a WSGI server with a stack for networked/clustered web applications,
|
|
|
|
implementing message/object passing, caching, RPC and process management.
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2018-08-05 07:53:46 +02:00
|
|
|
It uses the uwsgi protocol for all the networking/interprocess communications,
|
2012-09-10 12:57:08 +02:00
|
|
|
but it can speak other protocols as well (http, fastcgi, mongrel2...)
|
|
|
|
|
|
|
|
It can be run in preforking mode, threaded, asynchronous/evented and supports
|
|
|
|
various forms of green threads/coroutines (such as uGreen, Greenlet, Stackless,
|
|
|
|
Gevent and Fiber).
|
|
|
|
|
2017-11-11 10:59:31 +01:00
|
|
|
Different plugins can be used in order to add compatibility with
|
2012-09-10 12:57:08 +02:00
|
|
|
different technology on top of the same core.
|
|
|
|
|
|
|
|
|
2020-09-17 23:55:48 +02:00
|
|
|
# This is part of the apache2 package now
|
2018-04-17 01:50:18 +02:00
|
|
|
%if 0%{suse_version} < 1500
|
2013-11-08 21:15:53 +01:00
|
|
|
%package -n apache2-mod_proxy_uwsgi
|
|
|
|
Summary: uWSGI Proxy Module for Apache 2.0
|
|
|
|
Group: Productivity/Networking/Web/Servers
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description -n apache2-mod_proxy_uwsgi
|
2017-11-11 10:59:31 +01:00
|
|
|
uWSGI is a self-healing application container server coded in pure C.
|
2013-11-08 21:15:53 +01:00
|
|
|
|
|
|
|
This package contains an Apache 2.0 proxy module for uWSGI.
|
2018-04-17 01:50:18 +02:00
|
|
|
%endif
|
2013-11-08 21:15:53 +01:00
|
|
|
|
|
|
|
%package -n apache2-mod_uwsgi
|
|
|
|
Summary: uWSGI Module for Apache 2.0
|
|
|
|
Group: Productivity/Networking/Web/Servers
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description -n apache2-mod_uwsgi
|
2017-11-11 10:59:31 +01:00
|
|
|
uWSGI is a self-healing application container server coded in pure C.
|
2013-11-08 21:15:53 +01:00
|
|
|
|
|
|
|
This package contains an Apache 2.0 module for uWSGI.
|
|
|
|
|
2013-05-31 20:42:21 +02:00
|
|
|
%package emperor_pg
|
|
|
|
Summary: PostgreSQL Emperor Plugin for uWSGI
|
2012-09-12 03:15:59 +02:00
|
|
|
Group: Productivity/Networking/Web/Servers
|
|
|
|
Requires: %{name} = %{version}
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2013-05-31 20:42:21 +02:00
|
|
|
%description emperor_pg
|
2017-11-11 10:59:31 +01:00
|
|
|
uWSGI is a self-healing application container server coded in pure C.
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2013-05-31 20:42:21 +02:00
|
|
|
This package contains an emperor plugin allowing for configuration of
|
|
|
|
applications (vassals) in a PostgreSQL database.
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2013-05-31 20:42:21 +02:00
|
|
|
%package emperor_zeromq
|
|
|
|
Summary: ZeroMQ Emperor Plugin for uWSGI
|
2012-09-12 03:15:59 +02:00
|
|
|
Group: Productivity/Networking/Web/Servers
|
|
|
|
Requires: %{name} = %{version}
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2013-05-31 20:42:21 +02:00
|
|
|
%description emperor_zeromq
|
2017-11-11 10:59:31 +01:00
|
|
|
uWSGI is a self-healing application container server coded in pure C.
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2013-05-31 20:42:21 +02:00
|
|
|
This package contains an emperor plugin allowing for configuration of
|
|
|
|
applications (vassals) via ZeroMQ.
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2013-05-31 20:42:21 +02:00
|
|
|
%package gevent
|
|
|
|
Summary: Gevent Plugin for uWSGI
|
2012-09-12 03:15:59 +02:00
|
|
|
Group: Productivity/Networking/Web/Servers
|
|
|
|
Requires: %{name} = %{version}
|
2021-10-07 13:54:24 +02:00
|
|
|
Requires: %{name}-python3 = %{version}
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2013-05-31 20:42:21 +02:00
|
|
|
%description gevent
|
2017-11-11 10:59:31 +01:00
|
|
|
uWSGI is a self-healing application container server coded in pure C.
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2013-05-31 20:42:21 +02:00
|
|
|
This package contains support for Python Gevent, which is a non-blocking
|
|
|
|
networking framework.
|
2012-09-10 12:57:08 +02:00
|
|
|
|
|
|
|
|
2013-09-24 02:15:45 +02:00
|
|
|
%if 0%{?suse_version} > 1220
|
2013-09-24 01:42:48 +02:00
|
|
|
%package glusterfs
|
|
|
|
Summary: GlusterFS Plugin for uWSGI
|
|
|
|
Group: Productivity/Networking/Web/Servers
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description glusterfs
|
2017-11-11 10:59:31 +01:00
|
|
|
uWSGI is a self-healing application container server coded in pure C.
|
2013-09-24 01:42:48 +02:00
|
|
|
|
|
|
|
This package contains support for returning objects directly from a GlusterFS
|
|
|
|
filesystem
|
2013-09-24 01:48:27 +02:00
|
|
|
%endif
|
2013-09-24 01:42:48 +02:00
|
|
|
|
2013-05-31 20:42:21 +02:00
|
|
|
%package greenlet
|
|
|
|
Summary: Greenlet Plugin for uWSGI
|
2012-09-12 03:15:59 +02:00
|
|
|
Group: Productivity/Networking/Web/Servers
|
|
|
|
Requires: %{name} = %{version}
|
2021-10-07 13:54:24 +02:00
|
|
|
Requires: %{name}-python3 = %{version}
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2013-05-31 20:42:21 +02:00
|
|
|
%description greenlet
|
2017-11-11 10:59:31 +01:00
|
|
|
uWSGI is a self-healing application container server coded in pure C.
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2013-05-31 20:42:21 +02:00
|
|
|
This package contains support for the Python Greenlet non-blocking network
|
|
|
|
framework.
|
2012-09-10 12:57:08 +02:00
|
|
|
|
|
|
|
%package jvm
|
2012-09-12 03:15:59 +02:00
|
|
|
Summary: JVM Plugin for uWSGI
|
|
|
|
Group: Productivity/Networking/Web/Servers
|
|
|
|
Requires: %{name} = %{version}
|
2013-05-31 20:42:21 +02:00
|
|
|
Provides: uwsgi-jwsgi = %{version}
|
|
|
|
Obsoletes: uwsgi-jwsgi < 1.9.11
|
2012-09-10 12:57:08 +02:00
|
|
|
|
|
|
|
%description jvm
|
2017-11-11 10:59:31 +01:00
|
|
|
uWSGI is a self-healing application container server coded in pure C.
|
2012-09-10 12:57:08 +02:00
|
|
|
|
|
|
|
This package contains support for embedding a Java virtual machine in uWSGI.
|
|
|
|
|
2013-05-31 20:42:21 +02:00
|
|
|
%package ldap
|
|
|
|
Summary: LDAP Plugin for uWSGI
|
2012-09-12 03:15:59 +02:00
|
|
|
Group: Productivity/Networking/Web/Servers
|
|
|
|
Requires: %{name} = %{version}
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2013-05-31 20:42:21 +02:00
|
|
|
%description ldap
|
2017-11-11 10:59:31 +01:00
|
|
|
uWSGI is a self-healing application container server coded in pure C.
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2013-05-31 20:42:21 +02:00
|
|
|
This package contains support for configuring uWSGI via LDAP.
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2013-10-17 23:55:17 +02:00
|
|
|
%package libffi
|
2017-11-11 10:59:31 +01:00
|
|
|
Summary: Plugin libffi for uWSGI
|
2013-10-17 23:55:17 +02:00
|
|
|
Group: Productivity/Networking/Web/Servers
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description libffi
|
2017-11-11 10:59:31 +01:00
|
|
|
uWSGI is a self-healing application container server coded in pure C.
|
2013-10-17 23:55:17 +02:00
|
|
|
|
|
|
|
This package contains support for libffi.
|
|
|
|
|
2014-02-21 21:03:09 +01:00
|
|
|
%package logzmq
|
|
|
|
Summary: ZMQ Logger for uWSGI
|
|
|
|
Group: Productivity/Networking/Web/Servers
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description logzmq
|
2017-11-11 10:59:31 +01:00
|
|
|
uWSGI is a self-healing application container server coded in pure C.
|
2014-02-21 21:03:09 +01:00
|
|
|
|
|
|
|
This package contains support for ZMQ logging.
|
|
|
|
|
2012-09-10 12:57:08 +02:00
|
|
|
%package lua
|
2012-09-12 03:15:59 +02:00
|
|
|
Summary: Lua Plugin for uWSGI
|
|
|
|
Group: Productivity/Networking/Web/Servers
|
|
|
|
Requires: %{name} = %{version}
|
2012-09-10 12:57:08 +02:00
|
|
|
|
|
|
|
%description lua
|
2017-11-11 10:59:31 +01:00
|
|
|
uWSGI is a self-healing application container server coded in pure C.
|
2012-09-10 12:57:08 +02:00
|
|
|
|
|
|
|
This package contains support for Lua applications via the wsapi interface.
|
|
|
|
|
|
|
|
%package pam
|
2012-09-12 03:15:59 +02:00
|
|
|
Summary: PAM Plugin for uWSGI
|
|
|
|
Group: Productivity/Networking/Web/Servers
|
|
|
|
Requires: %{name} = %{version}
|
2012-09-10 12:57:08 +02:00
|
|
|
|
|
|
|
%description pam
|
2017-11-11 10:59:31 +01:00
|
|
|
uWSGI is a self-healing application container server coded in pure C.
|
2012-09-10 12:57:08 +02:00
|
|
|
|
|
|
|
This package contains support for PAM authentication.
|
|
|
|
|
|
|
|
%package psgi
|
2012-09-12 03:15:59 +02:00
|
|
|
Summary: PSGI Plugin for uWSGI
|
|
|
|
Group: Productivity/Networking/Web/Servers
|
|
|
|
Requires: %{name} = %{version}
|
2013-09-05 18:43:19 +02:00
|
|
|
%{?libperl_requires}
|
2012-09-10 12:57:08 +02:00
|
|
|
|
|
|
|
%description psgi
|
2017-11-11 10:59:31 +01:00
|
|
|
uWSGI is a self-healing application container server coded in pure C.
|
2012-09-10 12:57:08 +02:00
|
|
|
|
|
|
|
This package contains the PSGI plugin for running Perl applications that
|
|
|
|
support the PSGI protocol.
|
|
|
|
|
2013-05-31 20:42:21 +02:00
|
|
|
%package pypy
|
|
|
|
Summary: PyPy Plugin for uWSGI
|
2012-09-12 03:15:59 +02:00
|
|
|
Group: Productivity/Networking/Web/Servers
|
|
|
|
Requires: %{name} = %{version}
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2013-05-31 20:42:21 +02:00
|
|
|
%description pypy
|
2017-11-11 10:59:31 +01:00
|
|
|
uWSGI is a self-healing application container server coded in pure C.
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2013-05-31 20:42:21 +02:00
|
|
|
This package contains support for Python applications using PyPy.
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2014-07-01 21:08:50 +02:00
|
|
|
%package python3
|
|
|
|
Summary: Python 3 Plugin for uWSGI
|
|
|
|
Group: Productivity/Networking/Web/Servers
|
|
|
|
Requires: %{name} = %{version}
|
2017-12-10 13:35:45 +01:00
|
|
|
Requires: python3-base >= 3.6
|
2014-07-01 21:08:50 +02:00
|
|
|
|
|
|
|
%description python3
|
2017-11-11 10:59:31 +01:00
|
|
|
uWSGI is a self-healing application container server coded in pure C.
|
2014-07-01 21:08:50 +02:00
|
|
|
|
|
|
|
This package contains support for Python 3 applications via the WSGI protocol.
|
|
|
|
|
|
|
|
|
2014-02-21 21:03:09 +01:00
|
|
|
%if 0%{?suse_version} <= 1310
|
2013-05-31 20:42:21 +02:00
|
|
|
%package ruby
|
|
|
|
Summary: Ruby Plugin for uWSGI
|
2012-09-12 03:15:59 +02:00
|
|
|
Group: Productivity/Networking/Web/Servers
|
|
|
|
Requires: %{name} = %{version}
|
2013-05-31 23:38:50 +02:00
|
|
|
Requires: ruby19
|
2013-05-31 20:42:21 +02:00
|
|
|
Provides: uwsgi-fiber = %{version}
|
|
|
|
Obsoletes: uwsgi-fiber < 1.9.11
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2013-05-31 20:42:21 +02:00
|
|
|
%description ruby
|
2017-11-11 10:59:31 +01:00
|
|
|
uWSGI is a self-healing application container server coded in pure C.
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2013-05-31 20:42:21 +02:00
|
|
|
This package contains support for Ruby applications.
|
2013-05-31 23:12:58 +02:00
|
|
|
%endif
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2013-05-31 20:42:21 +02:00
|
|
|
%package sqlite3
|
|
|
|
Summary: SQLite3 Plugin for uWSGI
|
2012-09-12 03:15:59 +02:00
|
|
|
Group: Productivity/Networking/Web/Servers
|
|
|
|
Requires: %{name} = %{version}
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2013-05-31 20:42:21 +02:00
|
|
|
%description sqlite3
|
2017-11-11 10:59:31 +01:00
|
|
|
uWSGI is a self-healing application container server coded in pure C.
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2013-05-31 20:42:21 +02:00
|
|
|
This package contains support for storing application configuration in SQLite3
|
|
|
|
databases.
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2013-05-31 20:42:21 +02:00
|
|
|
%package v8
|
|
|
|
Summary: V8 JavaScript Plugin for uWSGI
|
2012-09-12 03:15:59 +02:00
|
|
|
Group: Productivity/Networking/Web/Servers
|
|
|
|
Requires: %{name} = %{version}
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2013-05-31 20:42:21 +02:00
|
|
|
%description v8
|
2017-11-11 10:59:31 +01:00
|
|
|
uWSGI is a self-healing application container server coded in pure C.
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2013-05-31 20:42:21 +02:00
|
|
|
This package contains support for JavaScript using V8.
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2013-05-31 20:42:21 +02:00
|
|
|
%package xslt
|
|
|
|
Summary: XSLT Plugin for uWSGI
|
2012-09-12 03:15:59 +02:00
|
|
|
Group: Productivity/Networking/Web/Servers
|
|
|
|
Requires: %{name} = %{version}
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2013-05-31 20:42:21 +02:00
|
|
|
%description xslt
|
2017-11-11 10:59:31 +01:00
|
|
|
uWSGI is a self-healing application container server coded in pure C.
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2013-05-31 20:42:21 +02:00
|
|
|
This package contains support for rendering XML content using XSLT.
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2017-11-11 10:59:31 +01:00
|
|
|
%if 0%{?suse_version} > 1320
|
|
|
|
%package php7
|
|
|
|
Summary: PHP7 Plugin for uWSGI
|
|
|
|
Group: Productivity/Networking/Web/Servers
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: php7-embed
|
|
|
|
|
|
|
|
%description php7
|
|
|
|
uWSGI is a self-healing application container server coded in pure C.
|
|
|
|
|
|
|
|
This package contains support for PHP version 7.
|
|
|
|
%endif
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2013-05-31 20:42:21 +02:00
|
|
|
%prep
|
|
|
|
%setup -q -n uwsgi-%{version}
|
|
|
|
%patch0 -p1
|
|
|
|
%patch1 -p1
|
2013-05-31 22:55:51 +02:00
|
|
|
%patch2 -p1
|
|
|
|
%patch3 -p1
|
2019-03-16 01:52:40 +01:00
|
|
|
%patch4 -p1
|
2013-05-31 20:42:21 +02:00
|
|
|
# Generate a config that builds all plugins except for examples and stuff we
|
|
|
|
# can't satisfy the requirements for or are just broken
|
|
|
|
excluded_plugins=""
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2013-05-31 20:42:21 +02:00
|
|
|
# Still no mongodb in Factory
|
|
|
|
excluded_plugins="$excluded_plugins stats_pusher_mongodb emperor_mongodb mongodb mongodblog gridfs"
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2013-05-31 20:42:21 +02:00
|
|
|
# Mono plugin builds private key during build. It would not be a good idea to
|
|
|
|
# distribute the same key to multiple systems
|
|
|
|
excluded_plugins="$excluded_plugins mono"
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2013-05-31 20:42:21 +02:00
|
|
|
# Only for OSX
|
|
|
|
excluded_plugins="$excluded_plugins alarm_speech"
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2017-11-11 10:59:31 +01:00
|
|
|
%if 0%{?suse_version} <= 1320
|
|
|
|
# No php[57]-embed on openSUSE Leap for some reason
|
2013-05-31 20:42:21 +02:00
|
|
|
excluded_plugins="$excluded_plugins php"
|
2017-11-11 10:59:31 +01:00
|
|
|
%endif
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2013-05-31 20:42:21 +02:00
|
|
|
# No stackless in openSUSE
|
|
|
|
excluded_plugins="$excluded_plugins stackless"
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2013-05-31 20:42:21 +02:00
|
|
|
# No perl-Coro in Factory (there is a broken unmaintained one under d:l:perl:CPAN-C)
|
|
|
|
excluded_plugins="$excluded_plugins coroae"
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2013-05-31 20:42:21 +02:00
|
|
|
# Requires libgloox, which is not in Factory
|
|
|
|
excluded_plugins="$excluded_plugins alarm_xmpp"
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2014-02-21 21:03:09 +01:00
|
|
|
# No gccgo in openSUSE yet
|
2013-05-31 20:42:21 +02:00
|
|
|
excluded_plugins="$excluded_plugins gccgo"
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2014-07-01 21:08:50 +02:00
|
|
|
# This plugin require a libuwsgi, which appears to conflict with core...
|
|
|
|
excluded_plugins="$excluded_plugins pyuwsgi"
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2013-05-31 20:42:21 +02:00
|
|
|
# The SPNEGO router is not complete
|
|
|
|
excluded_plugins="$excluded_plugins router_spnego"
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2013-05-31 20:42:21 +02:00
|
|
|
# These are example plugins and shouldn't be distributed
|
|
|
|
excluded_plugins="$excluded_plugins cplusplus dummy example"
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2013-09-24 01:42:48 +02:00
|
|
|
# Ceph/RADOS not yet in Factory
|
|
|
|
excluded_plugins="$excluded_plugins rados"
|
|
|
|
|
|
|
|
# libtcc not yet in Factory
|
|
|
|
excluded_plugins="$excluded_plugins libtcc"
|
|
|
|
|
2014-02-21 21:03:09 +01:00
|
|
|
# matheval is deprecated
|
|
|
|
excluded_plugins="$excluded_plugins matheval"
|
|
|
|
|
2021-09-30 14:59:18 +02:00
|
|
|
# bsc#1156199 - python-txtorcon: GeoIP support is discontinued
|
2020-03-10 09:10:28 +01:00
|
|
|
excluded_plugins="$excluded_plugins geoip"
|
|
|
|
|
2014-02-21 21:03:09 +01:00
|
|
|
# V8 is not yet available on all platforms and is broken in the v8 versions in
|
|
|
|
# 13.1+
|
|
|
|
%if 0%{?suse_version} >= 1310
|
2013-09-20 19:58:22 +02:00
|
|
|
excluded_plugins="$excluded_plugins v8"
|
2020-12-14 13:41:57 +01:00
|
|
|
%else
|
|
|
|
%ifnarch %{ix86} x86_64 %{arm}
|
|
|
|
excluded_plugins="$excluded_plugins v8"
|
2013-09-20 19:58:22 +02:00
|
|
|
%endif
|
2013-09-24 01:42:48 +02:00
|
|
|
%endif
|
2013-09-20 19:58:22 +02:00
|
|
|
|
2021-09-30 14:59:18 +02:00
|
|
|
# python3 module is built separately
|
|
|
|
excluded_plugins="$excluded_plugins python"
|
|
|
|
|
2014-02-21 21:03:09 +01:00
|
|
|
# Ruby 1.9 is no longer available after 13.1
|
|
|
|
%if 0%{?suse_version} > 1310
|
|
|
|
excluded_plugins="$excluded_plugins fiber mongrel2 rack rbthreads ruby19"
|
2012-09-10 12:57:08 +02:00
|
|
|
%endif
|
2013-05-31 20:42:21 +02:00
|
|
|
|
2013-09-24 02:32:12 +02:00
|
|
|
%if 0%{?suse_version} <= 1220
|
|
|
|
# Requirements missing on openSUSE <= 12.2
|
2013-09-24 01:48:27 +02:00
|
|
|
excluded_plugins="$excluded_plugins glusterfs"
|
|
|
|
%endif
|
|
|
|
|
2021-09-30 14:59:18 +02:00
|
|
|
plugins=$(python3 -c "import sys, os; print(', '.join([p for p in sorted(os.listdir('plugins')) if p not in sys.argv[1:]]))" $excluded_plugins)
|
2012-09-10 12:57:08 +02:00
|
|
|
sed -e "s#@@LIBDIR@@#%{_libdir}#" -e "s#@@PLUGINS@@#$plugins#" %{SOURCE1} > buildconf/opensuse.ini
|
2013-05-31 20:42:21 +02:00
|
|
|
|
2012-09-10 12:57:08 +02:00
|
|
|
# README.openSUSE
|
|
|
|
cp %{SOURCE7} .
|
|
|
|
|
|
|
|
%build
|
|
|
|
# Find correct location for libjvm
|
2013-05-31 20:42:21 +02:00
|
|
|
export UWSGICONFIG_JVM_LIBPATH=$(dirname $(find %{_jvmdir}/java/jre/lib -name "libjvm.so" | grep server))
|
|
|
|
export UWSGICONFIG_JVM_INCPATH="%{_jvmdir}/java/include"
|
|
|
|
export UWSGICONFIG_LUALIB="lua"
|
2013-09-24 01:42:48 +02:00
|
|
|
export UWSGICONFIG_LUAPC="lua"
|
2013-05-31 23:38:50 +02:00
|
|
|
export UWSGICONFIG_RUBYPATH="ruby1.9"
|
2018-07-23 15:34:43 +02:00
|
|
|
export CFLAGS="%{optflags} -Wno-error=deprecated-declarations -I%{_includedir}/glusterfs -I$(echo %{_libdir}/erlang/lib/erl_interface-*/include) -I%{_jvmdir}/java/include/linux -L$UWSGICONFIG_JVM_LIBPATH/jli"
|
2013-05-31 20:42:21 +02:00
|
|
|
%{?jobs:export CPUCOUNT=%jobs}
|
2021-09-30 14:59:18 +02:00
|
|
|
python3 uwsgiconfig.py --build opensuse
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2014-07-01 21:08:50 +02:00
|
|
|
# Build python3 plugin
|
|
|
|
python3 uwsgiconfig.py --plugin plugins/python opensuse python3
|
|
|
|
|
2013-11-08 21:15:53 +01:00
|
|
|
# Build Apache modules
|
2018-04-17 01:50:18 +02:00
|
|
|
%if 0%{suse_version} < 1500
|
2020-12-03 12:57:44 +01:00
|
|
|
%{apache_apxs} -c apache2/mod_proxy_uwsgi.c
|
2018-04-17 01:50:18 +02:00
|
|
|
%endif
|
2020-12-03 12:57:44 +01:00
|
|
|
%{apache_apxs} -c apache2/mod_uwsgi.c
|
2013-11-08 21:15:53 +01:00
|
|
|
|
2017-11-11 10:59:31 +01:00
|
|
|
# Build php7 plugin
|
|
|
|
%if 0%{?suse_version} > 1320
|
|
|
|
python3 uwsgiconfig.py --plugin plugins/php opensuse php7
|
|
|
|
%endif
|
|
|
|
|
2012-09-10 12:57:08 +02:00
|
|
|
%install
|
|
|
|
install -D -m 0755 uwsgi %{buildroot}%{_sbindir}/uwsgi
|
|
|
|
install -d -m 0755 %{buildroot}%{_libdir}/uwsgi
|
|
|
|
install -m 0755 *_plugin.so %{buildroot}%{_libdir}/uwsgi
|
2013-05-31 20:42:21 +02:00
|
|
|
install -D -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}/uwsgi.service
|
2012-09-10 12:57:08 +02:00
|
|
|
install -d -m 0755 %{buildroot}%{_sysconfdir}/uwsgi/vassals
|
2013-05-31 22:55:51 +02:00
|
|
|
install -D -m 0644 %{SOURCE8} %{buildroot}%{_sysconfdir}/uwsgi/uwsgi.ini
|
2012-09-10 12:57:08 +02:00
|
|
|
install -m 0644 %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} %{buildroot}%{_sysconfdir}/uwsgi/vassals
|
|
|
|
install -m 0644 vassals/broodlord.ini %{buildroot}%{_sysconfdir}/uwsgi/vassals/broodlord.ini.example
|
|
|
|
install -m 0644 vassals/cc.ini %{buildroot}%{_sysconfdir}/uwsgi/vassals/cc.ini.example
|
|
|
|
install -m 0644 vassals/multi.xml %{buildroot}%{_sysconfdir}/uwsgi/vassals/multi.xml.example
|
2014-07-01 21:08:50 +02:00
|
|
|
install -D -m 0644 uwsgidecorators.py %{buildroot}%{python3_sitelib}/uwsgidecorators.py
|
2013-05-31 20:42:21 +02:00
|
|
|
install -D plugins/jvm/uwsgi.jar %{buildroot}%{_javadir}/uwsgi.jar
|
2013-11-08 21:15:53 +01:00
|
|
|
install -d -m 0755 %{buildroot}/%{apache_libexecdir}
|
|
|
|
install -m 0755 apache2/.libs/*.so %{buildroot}/%{apache_libexecdir}
|
2014-07-01 21:19:21 +02:00
|
|
|
%if 0%{?suse_version} > 1220
|
2014-07-01 21:08:50 +02:00
|
|
|
ln -sf /usr/sbin/service %{buildroot}%{_sbindir}/rcuwsgi
|
2014-07-01 21:19:21 +02:00
|
|
|
%endif
|
2013-05-31 20:42:21 +02:00
|
|
|
|
2020-09-17 23:55:48 +02:00
|
|
|
install -d -m 0755 %{buildroot}%{_tmpfilesdir}
|
|
|
|
install -m 0644 %{SOURCE9} %{buildroot}/%{_tmpfilesdir}/uwsgi.conf
|
|
|
|
|
2013-05-31 20:42:21 +02:00
|
|
|
%pre
|
|
|
|
%service_add_pre uwsgi.service
|
2012-09-10 12:57:08 +02:00
|
|
|
|
|
|
|
%post
|
2013-05-31 20:42:21 +02:00
|
|
|
%service_add_post uwsgi.service
|
2020-09-17 23:55:48 +02:00
|
|
|
%tmpfiles_create %{_tmpfilesdir}/uwsgi.conf
|
2012-09-10 12:57:08 +02:00
|
|
|
|
|
|
|
%preun
|
2013-05-31 20:42:21 +02:00
|
|
|
%service_del_preun uwsgi.service
|
2012-09-10 12:57:08 +02:00
|
|
|
|
|
|
|
%postun
|
2013-05-31 20:42:21 +02:00
|
|
|
%service_del_postun uwsgi.service
|
2012-09-10 12:57:08 +02:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2020-09-17 23:55:48 +02:00
|
|
|
%license LICENSE
|
|
|
|
%doc CONTRIBUTORS README contrib examples README.openSUSE
|
2012-09-10 12:57:08 +02:00
|
|
|
%{_sbindir}/uwsgi
|
|
|
|
%dir %{_sysconfdir}/uwsgi/
|
2013-05-31 23:14:59 +02:00
|
|
|
%config(noreplace) %{_sysconfdir}/uwsgi/uwsgi.ini
|
2012-09-10 12:57:08 +02:00
|
|
|
%dir %{_sysconfdir}/uwsgi/vassals
|
2017-11-11 10:59:31 +01:00
|
|
|
%config %{_sysconfdir}/uwsgi/vassals/*
|
2012-09-10 12:57:08 +02:00
|
|
|
%dir %{_libdir}/uwsgi
|
2020-09-17 23:55:48 +02:00
|
|
|
%ghost %dir %attr(711,root,root) /run/uwsgi
|
2013-05-31 20:42:21 +02:00
|
|
|
%{_unitdir}/uwsgi.service
|
2020-09-17 23:55:48 +02:00
|
|
|
%{_tmpfilesdir}/uwsgi.conf
|
2014-07-01 21:19:21 +02:00
|
|
|
%if 0%{?suse_version} > 1220
|
2014-07-01 21:08:50 +02:00
|
|
|
%{_sbindir}/rcuwsgi
|
2014-07-01 21:19:21 +02:00
|
|
|
%endif
|
2013-05-31 20:42:21 +02:00
|
|
|
%{_libdir}/uwsgi/airbrake_plugin.so
|
|
|
|
%{_libdir}/uwsgi/alarm_curl_plugin.so
|
2014-07-01 21:08:50 +02:00
|
|
|
%{_libdir}/uwsgi/asyncio_plugin.so
|
2012-09-10 12:57:08 +02:00
|
|
|
%{_libdir}/uwsgi/cache_plugin.so
|
2013-05-31 20:42:21 +02:00
|
|
|
%{_libdir}/uwsgi/carbon_plugin.so
|
|
|
|
%{_libdir}/uwsgi/cgi_plugin.so
|
|
|
|
%{_libdir}/uwsgi/cheaper_backlog2_plugin.so
|
|
|
|
%{_libdir}/uwsgi/cheaper_busyness_plugin.so
|
|
|
|
%{_libdir}/uwsgi/clock_monotonic_plugin.so
|
|
|
|
%{_libdir}/uwsgi/clock_realtime_plugin.so
|
|
|
|
%{_libdir}/uwsgi/corerouter_plugin.so
|
|
|
|
%{_libdir}/uwsgi/curl_cron_plugin.so
|
|
|
|
%{_libdir}/uwsgi/dumbloop_plugin.so
|
|
|
|
%{_libdir}/uwsgi/emperor_amqp_plugin.so
|
|
|
|
%{_libdir}/uwsgi/exception_log_plugin.so
|
|
|
|
%{_libdir}/uwsgi/fastrouter_plugin.so
|
2013-09-24 01:42:48 +02:00
|
|
|
%{_libdir}/uwsgi/forkptyrouter_plugin.so
|
2012-09-10 12:57:08 +02:00
|
|
|
%{_libdir}/uwsgi/echo_plugin.so
|
2013-05-31 20:42:21 +02:00
|
|
|
%{_libdir}/uwsgi/graylog2_plugin.so
|
|
|
|
%{_libdir}/uwsgi/http_plugin.so
|
|
|
|
%{_libdir}/uwsgi/legion_cache_fetch_plugin.so
|
|
|
|
%{_libdir}/uwsgi/logcrypto_plugin.so
|
|
|
|
%{_libdir}/uwsgi/logfile_plugin.so
|
2013-09-24 01:42:48 +02:00
|
|
|
%{_libdir}/uwsgi/logpipe_plugin.so
|
2013-05-31 20:42:21 +02:00
|
|
|
%{_libdir}/uwsgi/logsocket_plugin.so
|
|
|
|
%{_libdir}/uwsgi/nagios_plugin.so
|
2013-07-16 22:15:04 +02:00
|
|
|
%{_libdir}/uwsgi/objc_gc_plugin.so
|
2013-09-24 01:42:48 +02:00
|
|
|
%{_libdir}/uwsgi/msgpack_plugin.so
|
2012-09-10 12:57:08 +02:00
|
|
|
%{_libdir}/uwsgi/notfound_plugin.so
|
|
|
|
%{_libdir}/uwsgi/ping_plugin.so
|
2013-09-24 01:42:48 +02:00
|
|
|
%{_libdir}/uwsgi/pty_plugin.so
|
2013-05-31 20:42:21 +02:00
|
|
|
%{_libdir}/uwsgi/rawrouter_plugin.so
|
|
|
|
%{_libdir}/uwsgi/redislog_plugin.so
|
|
|
|
%{_libdir}/uwsgi/router_access_plugin.so
|
2012-09-10 12:57:08 +02:00
|
|
|
%{_libdir}/uwsgi/router_basicauth_plugin.so
|
2013-05-31 20:42:21 +02:00
|
|
|
%{_libdir}/uwsgi/router_cache_plugin.so
|
2013-09-24 01:42:48 +02:00
|
|
|
%{_libdir}/uwsgi/router_expires_plugin.so
|
2013-07-16 22:15:04 +02:00
|
|
|
%{_libdir}/uwsgi/router_hash_plugin.so
|
2013-05-31 20:42:21 +02:00
|
|
|
%{_libdir}/uwsgi/router_http_plugin.so
|
|
|
|
%{_libdir}/uwsgi/router_memcached_plugin.so
|
2013-11-10 21:22:24 +01:00
|
|
|
%{_libdir}/uwsgi/router_metrics_plugin.so
|
2013-05-31 20:42:21 +02:00
|
|
|
%{_libdir}/uwsgi/router_radius_plugin.so
|
2012-09-10 12:57:08 +02:00
|
|
|
%{_libdir}/uwsgi/router_redirect_plugin.so
|
2013-07-16 22:15:04 +02:00
|
|
|
%{_libdir}/uwsgi/router_redis_plugin.so
|
2013-05-31 20:42:21 +02:00
|
|
|
%{_libdir}/uwsgi/router_rewrite_plugin.so
|
|
|
|
%{_libdir}/uwsgi/router_static_plugin.so
|
2012-09-10 12:57:08 +02:00
|
|
|
%{_libdir}/uwsgi/router_uwsgi_plugin.so
|
2013-07-16 22:15:04 +02:00
|
|
|
%{_libdir}/uwsgi/router_xmldir_plugin.so
|
2012-09-10 12:57:08 +02:00
|
|
|
%{_libdir}/uwsgi/rpc_plugin.so
|
2013-05-31 20:42:21 +02:00
|
|
|
%{_libdir}/uwsgi/rrdtool_plugin.so
|
|
|
|
%{_libdir}/uwsgi/rsyslog_plugin.so
|
2012-09-10 12:57:08 +02:00
|
|
|
%{_libdir}/uwsgi/signal_plugin.so
|
|
|
|
%{_libdir}/uwsgi/spooler_plugin.so
|
2013-05-31 20:42:21 +02:00
|
|
|
%{_libdir}/uwsgi/ssi_plugin.so
|
|
|
|
%{_libdir}/uwsgi/sslrouter_plugin.so
|
2013-11-10 21:22:24 +01:00
|
|
|
%{_libdir}/uwsgi/stats_pusher_file_plugin.so
|
|
|
|
%{_libdir}/uwsgi/stats_pusher_socket_plugin.so
|
2013-05-31 20:42:21 +02:00
|
|
|
%{_libdir}/uwsgi/stats_pusher_statsd_plugin.so
|
2012-09-10 12:57:08 +02:00
|
|
|
%{_libdir}/uwsgi/symcall_plugin.so
|
2013-05-31 20:42:21 +02:00
|
|
|
%{_libdir}/uwsgi/syslog_plugin.so
|
|
|
|
%{_libdir}/uwsgi/systemd_logger_plugin.so
|
2013-11-10 21:22:24 +01:00
|
|
|
%{_libdir}/uwsgi/tornado_plugin.so
|
2013-05-31 20:42:21 +02:00
|
|
|
%{_libdir}/uwsgi/transformation_chunked_plugin.so
|
|
|
|
%{_libdir}/uwsgi/transformation_gzip_plugin.so
|
2013-07-16 22:15:04 +02:00
|
|
|
%{_libdir}/uwsgi/transformation_offload_plugin.so
|
2013-11-10 21:22:24 +01:00
|
|
|
%{_libdir}/uwsgi/transformation_template_plugin.so
|
2013-05-31 20:42:21 +02:00
|
|
|
%{_libdir}/uwsgi/transformation_tofile_plugin.so
|
|
|
|
%{_libdir}/uwsgi/transformation_toupper_plugin.so
|
2013-09-24 01:42:48 +02:00
|
|
|
%{_libdir}/uwsgi/tuntap_plugin.so
|
2013-05-31 20:42:21 +02:00
|
|
|
%{_libdir}/uwsgi/ugreen_plugin.so
|
|
|
|
%{_libdir}/uwsgi/webdav_plugin.so
|
|
|
|
%{_libdir}/uwsgi/xattr_plugin.so
|
2013-11-10 21:22:24 +01:00
|
|
|
%{_libdir}/uwsgi/zabbix_plugin.so
|
2013-05-31 20:42:21 +02:00
|
|
|
%{_libdir}/uwsgi/zergpool_plugin.so
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2018-04-17 01:50:18 +02:00
|
|
|
%if 0%{suse_version} < 1500
|
2013-11-08 21:15:53 +01:00
|
|
|
%files -n apache2-mod_proxy_uwsgi
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{apache_libexecdir}/mod_proxy_uwsgi.so
|
2018-04-17 01:50:18 +02:00
|
|
|
%endif
|
2013-11-08 21:15:53 +01:00
|
|
|
|
|
|
|
%files -n apache2-mod_uwsgi
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{apache_libexecdir}/mod_uwsgi.so
|
|
|
|
|
2013-05-31 20:42:21 +02:00
|
|
|
%files emperor_pg
|
2012-09-10 12:57:08 +02:00
|
|
|
%defattr(-,root,root,-)
|
2013-05-31 20:42:21 +02:00
|
|
|
%{_libdir}/uwsgi/emperor_pg_plugin.so
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2013-05-31 20:42:21 +02:00
|
|
|
%files emperor_zeromq
|
2012-09-10 12:57:08 +02:00
|
|
|
%defattr(-,root,root,-)
|
2013-05-31 20:42:21 +02:00
|
|
|
%{_libdir}/uwsgi/emperor_zeromq_plugin.so
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2013-05-31 20:42:21 +02:00
|
|
|
%files gevent
|
2012-09-10 12:57:08 +02:00
|
|
|
%defattr(-,root,root,-)
|
2013-05-31 20:42:21 +02:00
|
|
|
%{_libdir}/uwsgi/gevent_plugin.so
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2013-05-31 20:42:21 +02:00
|
|
|
%files greenlet
|
2012-09-10 12:57:08 +02:00
|
|
|
%defattr(-,root,root,-)
|
2013-05-31 20:42:21 +02:00
|
|
|
%{_libdir}/uwsgi/greenlet_plugin.so
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2013-09-24 02:18:35 +02:00
|
|
|
%if 0%{?suse_version} > 1220
|
2013-09-24 01:42:48 +02:00
|
|
|
%files glusterfs
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/uwsgi/glusterfs_plugin.so
|
2013-09-24 01:48:27 +02:00
|
|
|
%endif
|
2013-09-24 01:42:48 +02:00
|
|
|
|
2012-09-10 12:57:08 +02:00
|
|
|
%files jvm
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/uwsgi/jvm_plugin.so
|
|
|
|
%{_libdir}/uwsgi/jwsgi_plugin.so
|
2013-05-31 20:42:21 +02:00
|
|
|
%{_libdir}/uwsgi/ring_plugin.so
|
2013-09-24 01:42:48 +02:00
|
|
|
%{_libdir}/uwsgi/servlet_plugin.so
|
2013-05-31 20:42:21 +02:00
|
|
|
%{_javadir}/uwsgi.jar
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2013-05-31 20:42:21 +02:00
|
|
|
%files ldap
|
2012-09-10 12:57:08 +02:00
|
|
|
%defattr(-,root,root,-)
|
2013-05-31 20:42:21 +02:00
|
|
|
%{_libdir}/uwsgi/ldap_plugin.so
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2013-10-17 23:55:17 +02:00
|
|
|
%files libffi
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/uwsgi/libffi_plugin.so
|
|
|
|
|
2014-02-21 21:03:09 +01:00
|
|
|
%files logzmq
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/uwsgi/logzmq_plugin.so
|
|
|
|
|
2012-09-10 12:57:08 +02:00
|
|
|
%files lua
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/uwsgi/lua_plugin.so
|
|
|
|
|
|
|
|
%files pam
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/uwsgi/pam_plugin.so
|
|
|
|
|
|
|
|
%files psgi
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/uwsgi/psgi_plugin.so
|
|
|
|
|
2013-05-31 20:42:21 +02:00
|
|
|
%files pypy
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/uwsgi/pypy_plugin.so
|
|
|
|
|
2014-07-01 21:08:50 +02:00
|
|
|
%files python3
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/uwsgi/python3_plugin.so
|
|
|
|
%{python3_sitelib}/uwsgidecorators.py*
|
|
|
|
|
2014-02-21 21:03:09 +01:00
|
|
|
%if 0%{?suse_version} <= 1310
|
2012-09-10 12:57:08 +02:00
|
|
|
%files ruby
|
|
|
|
%defattr(-,root,root,-)
|
2013-05-31 20:42:21 +02:00
|
|
|
%{_libdir}/uwsgi/fiber_plugin.so
|
2014-02-21 21:03:09 +01:00
|
|
|
%{_libdir}/uwsgi/mongrel2_plugin.so
|
2012-09-10 12:57:08 +02:00
|
|
|
%{_libdir}/uwsgi/rack_plugin.so
|
2013-09-24 01:42:48 +02:00
|
|
|
%{_libdir}/uwsgi/rbthreads_plugin.so
|
2012-09-10 12:57:08 +02:00
|
|
|
%{_libdir}/uwsgi/ruby19_plugin.so
|
2013-05-31 23:12:58 +02:00
|
|
|
%endif
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2013-05-31 20:42:21 +02:00
|
|
|
%files sqlite3
|
2012-09-10 12:57:08 +02:00
|
|
|
%defattr(-,root,root,-)
|
2013-05-31 20:42:21 +02:00
|
|
|
%{_libdir}/uwsgi/sqlite3_plugin.so
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2013-09-24 01:42:48 +02:00
|
|
|
%ifarch %{ix86} x86_64 %{arm}
|
|
|
|
%if 0%{?suse_version} < 1310
|
2013-05-31 20:42:21 +02:00
|
|
|
%files v8
|
2012-09-10 12:57:08 +02:00
|
|
|
%defattr(-,root,root,-)
|
2013-05-31 20:42:21 +02:00
|
|
|
%{_libdir}/uwsgi/v8_plugin.so
|
2013-09-20 19:58:22 +02:00
|
|
|
%endif
|
2013-09-24 01:42:48 +02:00
|
|
|
%endif
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2013-05-31 20:42:21 +02:00
|
|
|
%files xslt
|
2012-09-10 12:57:08 +02:00
|
|
|
%defattr(-,root,root,-)
|
2013-05-31 20:42:21 +02:00
|
|
|
%{_libdir}/uwsgi/xslt_plugin.so
|
2012-09-10 12:57:08 +02:00
|
|
|
|
2017-11-11 10:59:31 +01:00
|
|
|
%if 0%{?suse_version} > 1320
|
|
|
|
%files php7
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/uwsgi/php*_plugin.so
|
|
|
|
%endif
|
|
|
|
|
2012-09-10 12:57:08 +02:00
|
|
|
%changelog
|