python-oauth-vl.spec 2.3 KB

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