%global commit 9b154604334a00d59eb6412714d1759208e0c4ae %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global pkgname Flask-Bootstrap %global pkgname_files Flask_Bootstrap %global pkgname_files_folder flask_bootstrap Name: python-flask-bootstrap Version: 3.0.3.1 Release: 1%{?dist} Summary: Twitter's Bootstrap in your Flask's project # All source code is BSD, but Twitter's Bootstrap is ASLv2.0, # Font Awesome have license MIT, CC BF 3.0. # # License for Twitter Bootstrap # https://raw.github.com/twitter/bootstrap/master/LICENSE # # Licenses for Font Awesome # MIT: http://opensource.org/licenses/mit-license.html # CC BY 3.0: http://creativecommons.org/licenses/by/3.0/ License: BSD and ASL 2.0 and MIT and CC BY 3.0 URL: https://github.com/mbr/flask-bootstrap Source0: https://pypi.python.org/packages/source/F/%{pkgname}/%{pkgname}-%{version}.tar.gz Source1: https://raw.github.com/mbr/flask-bootstrap/master/LICENSE BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools BuildRequires: python-flask %description An extension that includes Twitter's Bootstrap in your project, without any boilerplate code. Flask-Bootstrap packages Twitter's Bootstrap into an extension that mostly consists of a blueprint named 'bootstrap'. It can also create links to serve Bootstrap from a CDN. %prep %setup -q -n %{pkgname}-%{version} -b 0 cp -p %SOURCE1 . rm -rf %{pkgname_files}-*.egg-info %build python setup.py build %install python setup.py install -O1 --skip-build --root %{buildroot} find %{buildroot} -name "__init__.py" | xargs chmod 0755 %files %doc README.rst LICENSE %{python_sitelib}/%{pkgname_files_folder} %{python_sitelib}/%{pkgname_files}-*.egg-info %changelog * Mon Dec 30 2013 Yohan Graterol - 3.0.3.1 - New Version * Thu Jul 18 2013 Yohan Graterol - 2.3.2.2-1 - Add LICENCE file and new release * Fri Jul 12 2013 Yohan Graterol - 2.3.2.1-1 - Initial packaging