[python-bottle] Initial spec

Rahul Sundaram sundaram at fedoraproject.org
Mon Jul 18 06:37:58 UTC 2011


commit 93b87d9091c1f7b9137d0bd61b515a12cb24b0d1
Author: Rahul Sundaram <sundaram at fedoraproject.org>
Date:   Mon Jul 18 12:03:59 2011 +0530

    Initial spec

 .gitignore         |    1 +
 python-bottle.spec |   39 +++++++++++++++++++++++++++++++++++++++
 sources            |    1 +
 3 files changed, 41 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..d0598b0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/bottle-0.9.5.tar.gz
diff --git a/python-bottle.spec b/python-bottle.spec
new file mode 100644
index 0000000..030070a
--- /dev/null
+++ b/python-bottle.spec
@@ -0,0 +1,39 @@
+%global srcname bottle
+Name:           python-%{srcname}
+Version:        0.9.5
+Release:        1%{?dist}
+Summary:        Fast and simple WSGI-framework for small web-applications
+
+Group:          Development/Languages
+License:        MIT
+URL:            http://bottlepy.org
+Source0:        http://pypi.python.org/packages/source/b/%{srcname}/%{srcname}-%{version}.tar.gz
+
+BuildArch:      noarch
+BuildRequires:  python-devel
+BuildRequires:  python-setuptools
+
+%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.
+
+%prep
+%setup -q -n %{srcname}-%{version}
+
+%build
+%{__python} setup.py build
+
+%install
+%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+
+%files
+%doc README.rst LICENSE.txt PKG-INFO
+%{python_sitelib}/%{srcname}.py*
+%{python_sitelib}/%{srcname}*.egg-info
+
+%changelog
+* Mon Jul 18 2011 Rahul Sundaram <sundaram at fedoraproject.org> - 0.9.5-1
+- Initial spec
diff --git a/sources b/sources
index e69de29..b0015db 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+d87cb9aa846003163aeda29226ae1e9c  bottle-0.9.5.tar.gz


More information about the scm-commits mailing list