From 4a33eaaf7d03afcde27f7337646add17bf78f63d Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Thu, 25 Jun 2015 14:38:31 -0300 Subject: [PATCH] Rename python-bottle to bottle --- bottle/bottle.spec | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ python-bottle/bottle.spec | 51 --------------------------------------------------- 2 files changed, 51 insertions(+), 51 deletions(-) create mode 100644 bottle/bottle.spec delete mode 100644 python-bottle/bottle.spec diff --git a/bottle/bottle.spec b/bottle/bottle.spec new file mode 100644 index 0000000..07fa245 --- /dev/null +++ b/bottle/bottle.spec @@ -0,0 +1,51 @@ +%define name bottle +%define version 0.13_dev +%define unmangled_version 0.13-dev +%define unmangled_version 0.13-dev +%define release 1 + +Summary: Fast and simple WSGI-framework for small web-applications. +Name: %{name} +Version: %{version} +Release: %{release} +Source0: %{name}-%{unmangled_version}.tar.gz +License: MIT +Group: Development/Libraries +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot +Prefix: %{_prefix} +BuildArch: noarch +Vendor: Marcel Hellkamp +Url: http://bottlepy.org/ +Requires: python >= 2.7 +BuildRequires: python >= 2.7 +BuildRequires: python-devel >= 2.7 +BuildRequires: python-setuptools >= 0.9.8 + +%description + +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. + +Homepage and documentation: http://bottlepy.org/ + +Copyright (c) 2014, Marcel Hellkamp. +License: MIT (see LICENSE for details) + + +%prep +%setup -n %{name}-%{unmangled_version} -n %{name}-%{unmangled_version} + +%build +python setup.py build + +%install +python setup.py install --single-version-externally-managed -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES + +%clean +rm -rf $RPM_BUILD_ROOT + +%files -f INSTALLED_FILES +%defattr(-,root,root) diff --git a/python-bottle/bottle.spec b/python-bottle/bottle.spec deleted file mode 100644 index 07fa245..0000000 --- a/python-bottle/bottle.spec +++ /dev/null @@ -1,51 +0,0 @@ -%define name bottle -%define version 0.13_dev -%define unmangled_version 0.13-dev -%define unmangled_version 0.13-dev -%define release 1 - -Summary: Fast and simple WSGI-framework for small web-applications. -Name: %{name} -Version: %{version} -Release: %{release} -Source0: %{name}-%{unmangled_version}.tar.gz -License: MIT -Group: Development/Libraries -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot -Prefix: %{_prefix} -BuildArch: noarch -Vendor: Marcel Hellkamp -Url: http://bottlepy.org/ -Requires: python >= 2.7 -BuildRequires: python >= 2.7 -BuildRequires: python-devel >= 2.7 -BuildRequires: python-setuptools >= 0.9.8 - -%description - -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. - -Homepage and documentation: http://bottlepy.org/ - -Copyright (c) 2014, Marcel Hellkamp. -License: MIT (see LICENSE for details) - - -%prep -%setup -n %{name}-%{unmangled_version} -n %{name}-%{unmangled_version} - -%build -python setup.py build - -%install -python setup.py install --single-version-externally-managed -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES - -%clean -rm -rf $RPM_BUILD_ROOT - -%files -f INSTALLED_FILES -%defattr(-,root,root) -- libgit2 0.21.2