53 lines
1.5 KiB
RPMSpec
53 lines
1.5 KiB
RPMSpec
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 <silvan.calarco@mambasoft.it>
|
|
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 <silvan.calarco@mambasoft.it> 1.0.1-3mamba
|
|
- python 2.7 mass rebuild
|
|
|
|
* Thu Aug 16 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-2mamba
|
|
- imported in devel
|
|
|
|
* Mon Mar 07 2011 gil <puntogil@libero.it> 1.0.1-1mamba
|
|
- package created by autospec
|