Accepting request 75455 from home:openttdcoop:server

Gunicorn 'Green Unicorn' is a Python WSGI HTTP Server for UNIX.

OBS-URL: https://build.opensuse.org/request/show/75455
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gunicorn?expand=0&rev=1
This commit is contained in:
Sascha Peilicke 2011-07-06 10:36:04 +00:00 committed by Git OBS Bridge
commit 19e0e615a5
5 changed files with 90 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
_service Normal file
View File

@ -0,0 +1,3 @@
<services>
<service name="download_files"/>
</services>

5
python-gunicorn.changes Normal file
View File

@ -0,0 +1,5 @@
-------------------------------------------------------------------
Sat Jul 2 20:36:39 UTC 2011 - ammler@openttdcoop.org
- initial package of version 0.12.2

58
python-gunicorn.spec Normal file
View File

@ -0,0 +1,58 @@
%define mod gunicorn
Name: python-gunicorn
Version: 0.12.2
Release: 1
Summary: WSGI HTTP Server for UNIX
License: MIT
Group: Productivity/Networking/Web/Servers
Source: http://pypi.python.org/packages/source/g/%{mod}/%{mod}-%{version}.tar.gz
BuildRequires: python-setuptools python-devel >= 2.5
%py_requires
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
Url: http://gunicorn.org
Provides: %{mod} = %{version}
%description
Gunicorn 'Green Unicorn' is a Python WSGI HTTP Server for UNIX. It's a pre-fork
worker model ported from Ruby's Unicorn_ project. The Gunicorn server is broadly
compatible with various web frameworks, simply implemented, light on server
resource usage, and fairly speedy.
%package doc
Summary: Documentation for %{mod}
Group: Documentation/Other
License: MIT
Requires: %{name} = %{version}
%description doc
This package contains Gunicorn documentation in reST and HTML formats.
%prep
%setup -q -n %{mod}-%{version}
%build
%{__python} setup.py build
%install
%{__python} setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
%clean
rm -rf $RPM_BUILD_ROOT
%files -f INSTALLED_FILES
%defattr(-,root,root)
%dir %{python_sitelib}/gunicorn
%dir %{python_sitelib}/gunicorn/app
%dir %{python_sitelib}/gunicorn/http
%dir %{python_sitelib}/gunicorn/management
%dir %{python_sitelib}/gunicorn/management/commands
%dir %{python_sitelib}/gunicorn/workers
%files doc
%defattr(-,root,root,-)
%doc doc
%changelog