Commit 4a33eaaf7d03afcde27f7337646add17bf78f63d
1 parent
6a876e5b
Exists in
master
and in
79 other branches
Rename python-bottle to bottle
Showing
2 changed files
with
51 additions
and
51 deletions
Show diff stats
| @@ -0,0 +1,51 @@ | @@ -0,0 +1,51 @@ | ||
| 1 | +%define name bottle | ||
| 2 | +%define version 0.13_dev | ||
| 3 | +%define unmangled_version 0.13-dev | ||
| 4 | +%define unmangled_version 0.13-dev | ||
| 5 | +%define release 1 | ||
| 6 | + | ||
| 7 | +Summary: Fast and simple WSGI-framework for small web-applications. | ||
| 8 | +Name: %{name} | ||
| 9 | +Version: %{version} | ||
| 10 | +Release: %{release} | ||
| 11 | +Source0: %{name}-%{unmangled_version}.tar.gz | ||
| 12 | +License: MIT | ||
| 13 | +Group: Development/Libraries | ||
| 14 | +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot | ||
| 15 | +Prefix: %{_prefix} | ||
| 16 | +BuildArch: noarch | ||
| 17 | +Vendor: Marcel Hellkamp <marc@gsites.de> | ||
| 18 | +Url: http://bottlepy.org/ | ||
| 19 | +Requires: python >= 2.7 | ||
| 20 | +BuildRequires: python >= 2.7 | ||
| 21 | +BuildRequires: python-devel >= 2.7 | ||
| 22 | +BuildRequires: python-setuptools >= 0.9.8 | ||
| 23 | + | ||
| 24 | +%description | ||
| 25 | + | ||
| 26 | +Bottle is a fast and simple micro-framework for small web applications. It | ||
| 27 | +offers request dispatching (Routes) with url parameter support, templates, | ||
| 28 | +a built-in HTTP Server and adapters for many third party WSGI/HTTP-server and | ||
| 29 | +template engines - all in a single file and with no dependencies other than the | ||
| 30 | +Python Standard Library. | ||
| 31 | + | ||
| 32 | +Homepage and documentation: http://bottlepy.org/ | ||
| 33 | + | ||
| 34 | +Copyright (c) 2014, Marcel Hellkamp. | ||
| 35 | +License: MIT (see LICENSE for details) | ||
| 36 | + | ||
| 37 | + | ||
| 38 | +%prep | ||
| 39 | +%setup -n %{name}-%{unmangled_version} -n %{name}-%{unmangled_version} | ||
| 40 | + | ||
| 41 | +%build | ||
| 42 | +python setup.py build | ||
| 43 | + | ||
| 44 | +%install | ||
| 45 | +python setup.py install --single-version-externally-managed -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES | ||
| 46 | + | ||
| 47 | +%clean | ||
| 48 | +rm -rf $RPM_BUILD_ROOT | ||
| 49 | + | ||
| 50 | +%files -f INSTALLED_FILES | ||
| 51 | +%defattr(-,root,root) |
python-bottle/bottle.spec
| @@ -1,51 +0,0 @@ | @@ -1,51 +0,0 @@ | ||
| 1 | -%define name bottle | ||
| 2 | -%define version 0.13_dev | ||
| 3 | -%define unmangled_version 0.13-dev | ||
| 4 | -%define unmangled_version 0.13-dev | ||
| 5 | -%define release 1 | ||
| 6 | - | ||
| 7 | -Summary: Fast and simple WSGI-framework for small web-applications. | ||
| 8 | -Name: %{name} | ||
| 9 | -Version: %{version} | ||
| 10 | -Release: %{release} | ||
| 11 | -Source0: %{name}-%{unmangled_version}.tar.gz | ||
| 12 | -License: MIT | ||
| 13 | -Group: Development/Libraries | ||
| 14 | -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot | ||
| 15 | -Prefix: %{_prefix} | ||
| 16 | -BuildArch: noarch | ||
| 17 | -Vendor: Marcel Hellkamp <marc@gsites.de> | ||
| 18 | -Url: http://bottlepy.org/ | ||
| 19 | -Requires: python >= 2.7 | ||
| 20 | -BuildRequires: python >= 2.7 | ||
| 21 | -BuildRequires: python-devel >= 2.7 | ||
| 22 | -BuildRequires: python-setuptools >= 0.9.8 | ||
| 23 | - | ||
| 24 | -%description | ||
| 25 | - | ||
| 26 | -Bottle is a fast and simple micro-framework for small web applications. It | ||
| 27 | -offers request dispatching (Routes) with url parameter support, templates, | ||
| 28 | -a built-in HTTP Server and adapters for many third party WSGI/HTTP-server and | ||
| 29 | -template engines - all in a single file and with no dependencies other than the | ||
| 30 | -Python Standard Library. | ||
| 31 | - | ||
| 32 | -Homepage and documentation: http://bottlepy.org/ | ||
| 33 | - | ||
| 34 | -Copyright (c) 2014, Marcel Hellkamp. | ||
| 35 | -License: MIT (see LICENSE for details) | ||
| 36 | - | ||
| 37 | - | ||
| 38 | -%prep | ||
| 39 | -%setup -n %{name}-%{unmangled_version} -n %{name}-%{unmangled_version} | ||
| 40 | - | ||
| 41 | -%build | ||
| 42 | -python setup.py build | ||
| 43 | - | ||
| 44 | -%install | ||
| 45 | -python setup.py install --single-version-externally-managed -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES | ||
| 46 | - | ||
| 47 | -%clean | ||
| 48 | -rm -rf $RPM_BUILD_ROOT | ||
| 49 | - | ||
| 50 | -%files -f INSTALLED_FILES | ||
| 51 | -%defattr(-,root,root) |