summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-15 06:36:06 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-15 06:36:06 +0000
commit74dd24ac6982299276244c3f144611fb3129b84e (patch)
treefb67d64ff62d9a2bf466a387ad4544d1c7d13825
parent060f767b4d539829578a9eadba48dd804a4cefbf (diff)
automatic import of python-mod-wsgi-httpd
-rw-r--r--.gitignore1
-rw-r--r--python-mod-wsgi-httpd.spec129
-rw-r--r--sources1
3 files changed, 131 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..491de84 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/mod_wsgi-httpd-2.4.54.1.tar.gz
diff --git a/python-mod-wsgi-httpd.spec b/python-mod-wsgi-httpd.spec
new file mode 100644
index 0000000..36d8586
--- /dev/null
+++ b/python-mod-wsgi-httpd.spec
@@ -0,0 +1,129 @@
+%global _empty_manifest_terminate_build 0
+Name: python-mod-wsgi-httpd
+Version: 2.4.54.1
+Release: 1
+Summary: Installer for Apache httpd server.
+License: Apache License, Version 2.0
+URL: http://www.modwsgi.org/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/0d/ba/a4f271050cfae3a576da4738f19865f4950867989a7792f34a35d55dd5b1/mod_wsgi-httpd-2.4.54.1.tar.gz
+BuildArch: noarch
+
+
+%description
+The ``mod_wsgi-httpd`` package is a companion package for mod_wsgi. It will
+compile and install a copy of the Apache httpd server into your Python
+installation. If this is done, when the ``mod_wsgi`` package is
+subsequently installed, it will be compiled against the Apache httpd server
+installed by this package. When ``mod_wsgi-express`` from the ``mod_wsgi``
+package is then run, it will also use the same Apache httpd server.
+This package therefore allows you to side step the fact that most Linux
+distributions and MacOS X ship out of date versions of the Apache httpd
+server, allowing you to use the very latest version. It also allows you to
+install ``mod_wsgi-express`` where you don't control your operating system
+and so don't have root access, and the Apache httpd server is not
+installed, or its companion ``dev`` packages are not installed, which are a
+prerequsite for being able to build mod_wsgi from source code.
+**NOTE: Although this package may allow you to install a newer Apache
+version, it is only really recommended that you use this package if you
+have absolutely no other choice for getting the Apache httpd server
+installed. Always use the Apache httpd server supplied with the operating
+system if you can. Building this package if you do choose to do so, will
+take some time. So if you you think the install is hanging, it is probably
+still busy compiling everything.**
+
+%package -n python3-mod-wsgi-httpd
+Summary: Installer for Apache httpd server.
+Provides: python-mod-wsgi-httpd
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-mod-wsgi-httpd
+The ``mod_wsgi-httpd`` package is a companion package for mod_wsgi. It will
+compile and install a copy of the Apache httpd server into your Python
+installation. If this is done, when the ``mod_wsgi`` package is
+subsequently installed, it will be compiled against the Apache httpd server
+installed by this package. When ``mod_wsgi-express`` from the ``mod_wsgi``
+package is then run, it will also use the same Apache httpd server.
+This package therefore allows you to side step the fact that most Linux
+distributions and MacOS X ship out of date versions of the Apache httpd
+server, allowing you to use the very latest version. It also allows you to
+install ``mod_wsgi-express`` where you don't control your operating system
+and so don't have root access, and the Apache httpd server is not
+installed, or its companion ``dev`` packages are not installed, which are a
+prerequsite for being able to build mod_wsgi from source code.
+**NOTE: Although this package may allow you to install a newer Apache
+version, it is only really recommended that you use this package if you
+have absolutely no other choice for getting the Apache httpd server
+installed. Always use the Apache httpd server supplied with the operating
+system if you can. Building this package if you do choose to do so, will
+take some time. So if you you think the install is hanging, it is probably
+still busy compiling everything.**
+
+%package help
+Summary: Development documents and examples for mod-wsgi-httpd
+Provides: python3-mod-wsgi-httpd-doc
+%description help
+The ``mod_wsgi-httpd`` package is a companion package for mod_wsgi. It will
+compile and install a copy of the Apache httpd server into your Python
+installation. If this is done, when the ``mod_wsgi`` package is
+subsequently installed, it will be compiled against the Apache httpd server
+installed by this package. When ``mod_wsgi-express`` from the ``mod_wsgi``
+package is then run, it will also use the same Apache httpd server.
+This package therefore allows you to side step the fact that most Linux
+distributions and MacOS X ship out of date versions of the Apache httpd
+server, allowing you to use the very latest version. It also allows you to
+install ``mod_wsgi-express`` where you don't control your operating system
+and so don't have root access, and the Apache httpd server is not
+installed, or its companion ``dev`` packages are not installed, which are a
+prerequsite for being able to build mod_wsgi from source code.
+**NOTE: Although this package may allow you to install a newer Apache
+version, it is only really recommended that you use this package if you
+have absolutely no other choice for getting the Apache httpd server
+installed. Always use the Apache httpd server supplied with the operating
+system if you can. Building this package if you do choose to do so, will
+take some time. So if you you think the install is hanging, it is probably
+still busy compiling everything.**
+
+%prep
+%autosetup -n mod-wsgi-httpd-2.4.54.1
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-mod-wsgi-httpd -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 2.4.54.1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..a8ffcdb
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+ef39658580efad1103bd695e40c6743d mod_wsgi-httpd-2.4.54.1.tar.gz