54 lines
1.6 KiB
RPMSpec
54 lines
1.6 KiB
RPMSpec
Name: python-oauth2
|
|
Version: 1.5.211
|
|
Release: 2mamba
|
|
Summary: A fully tested, abstract interface to creating OAuth clients and servers
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://github.com/simplegeo/python-oauth2
|
|
Source: http://pypi.python.org/packages/source/o/oauth2/oauth2-%{version}.tar.gz
|
|
License: MIT
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: libpython-devel
|
|
## AUTOBUILDREQ-END
|
|
Requires: python >= %python_version
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
A fully tested, abstract interface to creating OAuth clients and servers.
|
|
|
|
%prep
|
|
%setup -q -n oauth2-%{version}
|
|
|
|
%build
|
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%{__python} setup.py install \
|
|
-O1 --skip-build \
|
|
--root="%{buildroot}" \
|
|
--install-headers=%{_includedir}/python \
|
|
--install-lib=%{python_sitearch} \
|
|
--single-version-externally-managed \
|
|
--record=%{name}.filelist
|
|
|
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
|
|
|
%files -f %{name}.filelist
|
|
%defattr(-,root,root)
|
|
|
|
%changelog
|
|
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.211-2mamba
|
|
- python 2.7 mass rebuild
|
|
|
|
* Wed Apr 25 2012 Automatic Build System <autodist@mambasoft.it> 1.5.211-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Jun 19 2011 Automatic Build System <autodist@mambasoft.it> 1.5.170-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Tue Apr 05 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.167-1mamba
|
|
- package created by autospec
|