[9328] | 1 | %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} |
---|
| 2 | |
---|
| 3 | Name: python-oauth |
---|
| 4 | Version: 1.0.1 |
---|
| 5 | Release: 10%{?_dist_release} |
---|
| 6 | Summary: Library for OAuth version 1.0a |
---|
| 7 | Summary(ja): OAuth 1.0a python モジュール |
---|
| 8 | |
---|
| 9 | Group: Development/Libraries |
---|
| 10 | License: MIT |
---|
| 11 | URL: http://code.google.com/p/oauth/ |
---|
| 12 | |
---|
| 13 | Source0: http://pypi.python.org/packages/source/o/oauth/oauth-%{version}.tar.gz |
---|
| 14 | |
---|
| 15 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 16 | BuildArch: noarch |
---|
| 17 | BuildRequires: python-devel python-setuptools |
---|
| 18 | |
---|
| 19 | %description |
---|
| 20 | Library for OAuth version 1.0a. |
---|
| 21 | |
---|
| 22 | |
---|
| 23 | %prep |
---|
| 24 | %setup -q -n oauth-%{version} |
---|
| 25 | |
---|
| 26 | |
---|
| 27 | %build |
---|
| 28 | python setup.py build |
---|
| 29 | |
---|
| 30 | |
---|
| 31 | %install |
---|
| 32 | rm -rf $RPM_BUILD_ROOT |
---|
| 33 | python setup.py install --skip-build --root $RPM_BUILD_ROOT |
---|
| 34 | |
---|
| 35 | |
---|
| 36 | %clean |
---|
| 37 | rm -rf $RPM_BUILD_ROOT |
---|
| 38 | |
---|
| 39 | |
---|
| 40 | %files |
---|
| 41 | %defattr(-,root,root,-) |
---|
| 42 | %doc LICENSE.txt |
---|
| 43 | %{python_sitelib}/* |
---|
| 44 | |
---|
| 45 | |
---|
| 46 | %changelog |
---|
| 47 | * Tue Feb 3 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.0.1-10 |
---|
| 48 | - Inital build for Vine Linux |
---|
| 49 | |
---|
| 50 | * Mon Jun 30 2014 Toshio Kuratomi <toshio@fedoraproject.org> - 1.0.1-9 |
---|
| 51 | - Replace python-setuptools-devel BR with python-setuptools |
---|
| 52 | |
---|
| 53 | * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-8 |
---|
| 54 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
---|
| 55 | |
---|
| 56 | * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-7 |
---|
| 57 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
---|
| 58 | |
---|
| 59 | * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-6 |
---|
| 60 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
---|
| 61 | |
---|
| 62 | * Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-5 |
---|
| 63 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
---|
| 64 | |
---|
| 65 | * Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-4 |
---|
| 66 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
| 67 | |
---|
| 68 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-3 |
---|
| 69 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 70 | |
---|
| 71 | * Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 1.0.1-2 |
---|
| 72 | - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild |
---|
| 73 | |
---|
| 74 | * Tue Oct 06 2009 Sebastian Dziallas <sebastian@when.com> - 1.0.1-1 |
---|
| 75 | - initial packaging |
---|