diff --git a/README.md b/README.md index d7d75be..b933dc3 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # python-oauth2 +A fully tested, abstract interface to creating OAuth clients and servers. + diff --git a/python-oauth2.spec b/python-oauth2.spec new file mode 100644 index 0000000..e94c858 --- /dev/null +++ b/python-oauth2.spec @@ -0,0 +1,53 @@ +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 +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 1.5.211-2mamba +- python 2.7 mass rebuild + +* Wed Apr 25 2012 Automatic Build System 1.5.211-1mamba +- automatic version update by autodist + +* Sun Jun 19 2011 Automatic Build System 1.5.170-1mamba +- automatic update by autodist + +* Tue Apr 05 2011 Silvan Calarco 1.5.167-1mamba +- package created by autospec