forked from pool/python-bottle
- Update to version 0.9.6
- Removed file LICENSE, upstream now has LICENSE.txt OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bottle?expand=0&rev=2
This commit is contained in:
parent
5c574aa1dc
commit
40c305d814
27
LICENSE
27
LICENSE
@ -1,27 +0,0 @@
|
||||
Licence
|
||||
|
||||
Code and documentation are available according to the MIT Licence:
|
||||
|
||||
Copyright (c) 2010, Marcel Hellkamp.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
||||
The Bottle logo however is NOT covered by that licence. It is allowed to use the
|
||||
logo as a link to the bottle homepage or in direct context with the unmodified
|
||||
library. In all other cases please ask first.
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e5b32f9aee6d6f61189484aa374c6dcdacc2f586d7c686b044c492efe76d6a34
|
||||
size 30163
|
3
bottle-0.9.6.tar.gz
Normal file
3
bottle-0.9.6.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b9c894069a74db70b9f8717894957e1427ea2a662517fcde0e011351da89a69c
|
||||
size 45332
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 23 13:53:20 UTC 2011 - saschpe@suse.de
|
||||
|
||||
- Update to version 0.9.6
|
||||
- Removed file LICENSE, upstream now has LICENSE.txt
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 19 10:38:29 UTC 2010 - cfarrell@novell.com
|
||||
|
||||
|
@ -1,63 +1,55 @@
|
||||
# norootforbuild
|
||||
#
|
||||
# spec file for package python-bottle
|
||||
#
|
||||
# Copyright (c) 2011 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
|
||||
# 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.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
%if 0%{!?python_sitelib:1} || 0%{!?python_sitearch:1}
|
||||
%define python_sitelib %py_sitedir
|
||||
%define python_sitearch %py_sitedir
|
||||
%endif
|
||||
%define mod_name bottle
|
||||
|
||||
Summary: Fast and simple WSGI-framework for small web-applications
|
||||
Name: python-%{mod_name}
|
||||
Version: 0.8.5
|
||||
Name: python-bottle
|
||||
Version: 0.9.6
|
||||
Release: 0
|
||||
Url: http://bottlepy.org/
|
||||
Summary: Fast and simple WSGI-framework for small web-applications
|
||||
License: MIT
|
||||
Group: Development/Libraries/Python
|
||||
URL: http://bottle.paws.de/
|
||||
Source0: %{mod_name}-%{version}.tar.bz2
|
||||
Source1: %{mod_name}-docs.pdf
|
||||
Source2: LICENSE
|
||||
Group: Development/Languages/Python
|
||||
Source: http://pypi.python.org/packages/source/b/bottle/bottle-%{version}.tar.gz
|
||||
Source1: bottle-docs.pdf
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if %suse_version >= 1120
|
||||
BuildRequires: python-devel
|
||||
%if 0%{?suse_version}
|
||||
%py_requires
|
||||
%if 0%{?suse_version} > 1110
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
%py_requires
|
||||
BuildRequires: python-devel
|
||||
%if 0%{?suse_version} >= 1110
|
||||
Requires: python-base >= %{py_ver}
|
||||
%else
|
||||
Requires: python >= %{py_ver}
|
||||
%endif
|
||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
|
||||
%description
|
||||
Bottle is a fast and simple micro-framework for small web-applications. It
|
||||
offers request dispatching (Routes) with url parameter support, Templates, a
|
||||
build-in HTTP Server and adapters for many third party WSGI/HTTP-server and
|
||||
template engines. All in a single file and with no dependencies other than the
|
||||
Python Standard Library.
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Marcell Hellkamp <marc at gsites de>
|
||||
Bottle is a fast and simple micro-framework for small web-applications. It offers request dispatching (Routes) with url parameter support, Templates, a built-in HTTP Server and adapters for many third party WSGI/HTTP-server and template engines. All in a single file and with no dependencies other than the Python Standard Library.
|
||||
|
||||
%prep
|
||||
%setup -q -n "%{mod_name}-%{version}"
|
||||
cp %{S:1} .
|
||||
cp %{S:2} .
|
||||
%setup -q -n bottle-%{version}
|
||||
cp %{SOURCE1} .
|
||||
|
||||
%build
|
||||
%__python ./setup.py build
|
||||
rm README # dead symlink as README.md does not exist
|
||||
python setup.py build
|
||||
|
||||
%install
|
||||
%__python ./setup.py install \
|
||||
--prefix="%{_prefix}" \
|
||||
--root="%{buildroot}" \
|
||||
--record-rpm=files.lst
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
%clean
|
||||
[ -d "%{buildroot}" -a "%{buildroot}" != "" ] && %__rm -rf "%{buildroot}"
|
||||
|
||||
%files -f files.lst
|
||||
%defattr(-,root,root)
|
||||
%doc LICENSE bottle-docs.pdf
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENSE.txt README.rst bottle-docs.pdf
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user