From 87a91d16501cd8a70507a05dabf6d8294acb9d69 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 16:08:18 +0100 Subject: [PATCH] python 2.7 mass rebuild [release 1.0.1-3mamba;Fri May 17 2013] --- README.md | 2 ++ python-oauth.spec | 52 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 python-oauth.spec diff --git a/README.md b/README.md index 4f28e7e..aadc349 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # python-oauth +Python library for OAuth version 1.0a + diff --git a/python-oauth.spec b/python-oauth.spec new file mode 100644 index 0000000..11681e0 --- /dev/null +++ b/python-oauth.spec @@ -0,0 +1,52 @@ +Name: python-oauth +Version: 1.0.1 +Release: 3mamba +Summary: Python library for OAuth version 1.0a +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://code.google.com/p/oauth/ +Source: http://pypi.python.org/packages/source/o/oauth/oauth-%{version}.tar.gz +License: MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: libpython-devel +BuildRequires: python +## AUTOBUILDREQ-END +BuildRequires: python-setuptools-devel +Requires: python >= %python_version +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Python library for OAuth version 1.0a + +%prep +%setup -q -n oauth-%{version} + +%build +CFLAGS="%{optflags}" %{__python} setup.py build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%{__python} setup.py install \ + -O1 --skip-build \ + --root="%{buildroot}" + +%files +%defattr(-,root,root) +%{python_sitelib}/oauth-%{version}-py%{python_version}.egg-info/PKG-INFO +%{python_sitelib}/oauth-%{version}-py%{python_version}.egg-info/*.txt +%{python_sitelib}/oauth-%{version}-py%{python_version}.egg-info/zip-safe +%dir %{python_sitelib}/oauth +%{python_sitelib}/oauth/*.py* +%doc LICENSE.txt + +%changelog +* Fri May 17 2013 Silvan Calarco 1.0.1-3mamba +- python 2.7 mass rebuild + +* Thu Aug 16 2012 Silvan Calarco 1.0.1-2mamba +- imported in devel + +* Mon Mar 07 2011 gil 1.0.1-1mamba +- package created by autospec