Blob Blame History Raw
%global pkgname flask-restless
%global tar_name Flask-Restless

Name:           python-flask-restless
Version:        0.12.1
Release:        1%{?dist}
Summary:        Flask-Restless provides simple generation of ReSTful APIs

License:        AGPLv3 and BSD
URL:            http://flask-restless.readthedocs.org/
Source0:        https://pypi.python.org/packages/source/F/%{tar_name}/%{tar_name}-%{version}.tar.gz

BuildArch:      noarch
BuildRequires:  python2-devel
BuildRequires:  python-flask
BuildRequires:  python-sqlalchemy
BuildRequires:  python-dateutil
BuildRequires:  python-nose

%description
Flask-Restless provides simple generation of ReSTful APIs for database
models defined using SQLAlchemy (or Flask-SQLAlchemy). The generated
APIs send and receive messages in JSON format.

%prep
%setup -qn %{tar_name}-%{version}


%build
%{__python} setup.py build


%install
%{__python} setup.py install --skip-build --root %{buildroot}


%check
%{__python} setup.py test


%files
%doc README
%{python_sitelib}/flask_restless
%{python_sitelib}/Flask_Restless-*.egg-info


%changelog
* Sat Mar 29 2014 Yohan Graterol <yohangraterol92@gmail.com> - 0.12.1-1
- New release
* Fri Oct 11 2013 Yohan Graterol <yohangraterol92@gmail.com> - 0.12.0-1
- New release
* Sat Aug 10 2013 Yohan Graterol <yohangraterol92@gmail.com> - 0.11-2
- Change in the install
* Wed Aug 07 2013 Yohan Graterol <yohangraterol92@gmail.com> - 0.11-1
- Initial Packaging