Blob Blame History Raw
%global mod_name Flask-OAuth

Name:           python-flask-oauth
Version:        0.9
Release:        1%{?dist}
Summary:        Adds OAuth support to Flask

Group:          Development/Libraries
License:        BSD
URL:            http://github.com/mitsuhiko/flask-oauth
Source0:        http://pypi.python.org/packages/source/F/%{mod_name}/%{mod_name}-%{version}.tar.gz

BuildArch:      noarch
BuildRequires:  python-devel
BuildRequires:  python-oauth2
BuildRequires:  python-setuptools

%description
Flask-OAuth is an extension to Flask that allows you 
to interact with remove OAuth enabled applications.

%prep
%setup -q -n %{mod_name}-%{version}


%build
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build


%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT

 
%files
%doc README PKG-INFO
%{python_sitelib}/*-nspkg.pth
%{python_sitelib}/*.egg-info/
%{python_sitelib}/flaskext/*.py*

%changelog
* Fri Jul 22 2011 Praveen Kumar <kumarpraveen.nitdgp@gmail.com> - 0.9-1
- Initial RPM release