Blob Blame History Raw
%global mod_name Flask-Script

Name:       python-flask-script
Version:    0.5.3
Release:    3%{?dist}
Summary:    Scripting support for Flask

License:    BSD

BuildArch:  noarch
BuildRequires:  python2-devel
BuildRequires:  python-setuptools
# for check purpose nose is needed
BuildRequires:  python-nose
BuildRequires:  python-flask
BuildRequires:  python-sphinx
Requires:       python-flask

The Flask-Script extension provides support for writing external scripts in
Flask.This includes running a development server, a customized Python shell,
scripts to set up your database, cronjobs, and other command-line tasks that
belong outside the web application itself.

%setup -q -n %{mod_name}-%{version}
# delete the mac's .ds_store file
rm -f docs/.DS_Store

%{__python} build
# generate sphinx documentation
cd docs && make html
# deleting unneeded buildinfo, we dont expect users to change html docs
rm -f _build/html/.buildinfo

%{__python} test

%{__python} install -O1 --skip-build --root $RPM_BUILD_ROOT

%doc docs/_build/html README.rst LICENSE 

* Tue Aug 06 2013 Robert Kuska <> 0.5.3-3
- Fix BuildRequires

* Tue Apr 02 2013 Robert Kuska <> 0.5.3-2
- Review fixes

* Thu Mar 21 2013 Robert Kuska <> 0.5.3-1
- Initial package