pysvn-vl.spec 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
  2. Name: pysvn
  3. Version: 1.7.0
  4. Release: 2%{?_dist_release}
  5. Summary: Pythonic style bindings for Subversion
  6. Summary(ja): Subversion 用の python バインディング
  7. Group: Development/Languages
  8. License: ASL 1.1
  9. URL: http://pysvn.tigris.org/
  10. Source0: http://pysvn.barrys-emacs.org/source_kits/%{name}-%{version}.tar.gz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  12. BuildRequires: python-devel
  13. BuildRequires: PyXML
  14. BuildRequires: subversion-devel
  15. BuildRequires: krb5-devel
  16. BuildRequires: neon-devel
  17. BuildRequires: apr-devel
  18. BuildRequires: openssl-devel
  19. Packager: kazutaka
  20. %description
  21. Pythonic style bindings for Subversion
  22. %description -l ja
  23. Subversion 用の python バインディングです。
  24. %prep
  25. %setup -q -n %{name}-%{version}
  26. %build
  27. pushd Source
  28. %{__python} setup.py backport
  29. CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py configure --enable-debug --verbose --norpath --fixed-module-name
  30. # Set correct build flags
  31. %{__sed} -i -e 's/-Wall -fPIC -fexceptions -frtti/%{optflags} -fPIC -frtti/' Makefile
  32. %{__make} %{?_smp_mflags}
  33. %install
  34. %{__rm} -rf %{buildroot}
  35. %{__install} -d -m 755 %{buildroot}%{python_sitearch}/%{name}
  36. %{__install} -p -m 644 Source/pysvn/__init__.py %{buildroot}%{python_sitearch}/%{name}
  37. %{__install} -p -m 755 Source/pysvn/_pysvn.so %{buildroot}%{python_sitearch}/%{name}
  38. %check
  39. #pushd Tests
  40. #%{__make} %{?_smp_mflags}
  41. %clean
  42. %{__rm} -rf %{buildroot}
  43. %files
  44. %defattr(-, root, root, -)
  45. %doc Docs/pysvn.html Docs/pysvn_prog_guide.html Docs/pysvn_prog_ref.html
  46. %doc Docs/pysvn_prog_ref.js
  47. %doc Examples
  48. %doc LICENSE.txt
  49. %{python_sitearch}/%{name}
  50. %changelog
  51. * Sun Feb 14 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 1.7.0-2
  52. - rebuild with python-2.6 (Seed only)
  53. * Sat May 23 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.7.0-1
  54. - initial build for Vine Linux based of fedora development
  55. - add japanese description and summary
  56. - run backport command to skip reserved keyword check for python 2.6
  57. * Wed Mar 04 2009 Caitlyn O'Hanna <ravenoak@virtualxistenz.com> - 1.6.3-2
  58. - Remove the benchmark patch. Changes included in this release.
  59. * Tue Mar 03 2009 Caitlyn O'Hanna <ravenoak@virtualxistenz.com> - 1.6.3-1
  60. - Update to 1.6.3
  61. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.2-4
  62. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  63. * Sat Jan 17 2009 Tomas Mraz <tmraz@redhat.com> - 1.6.2-3
  64. - rebuild with new openssl
  65. * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.6.2-2
  66. - Rebuild for Python 2.6
  67. * Tue Oct 28 2008 Caitlyn O'Hanna <ravenoak@virtualxistenz.com> - 1.6.2-1
  68. - Upstream to 1.6.2, upstream provided some build fixes to remove patches
  69. - (Thanks Barry!). Re-enabled testing with provided patch to fix whitespace
  70. * Sat Oct 11 2008 Caitlyn O'Hanna <ravenoak@virtualxistenz.com> - 1.6.1-2
  71. - Fixed lingering module versioning in __init__
  72. * Mon Oct 06 2008 Caitlyn O'Hanna <ravenoak@virtualxistenz.com> - 1.6.1-1
  73. - Update to 1.6.1, fix F10 FBFS
  74. - Disabled tests, might be because of subversion 1.5
  75. * Wed Feb 27 2008 Timothy Selivanow <timothy.selivanow@virtualxistenz.com> - 1.5.3-1
  76. - Update to 1.5.3
  77. * Thu Feb 14 2008 Timothy Selivanow <timothy.selivanow@virtualxistenz.com> - 1.5.2-6
  78. - Clean up. Name change (back to upstream)
  79. * Tue Feb 12 2008 Timothy Selivanow <timothy.selivanow@virtualxistenz.com> - 1.5.2-5
  80. - Temporary fix for tests. Need to work with upstream for permanent fix.
  81. * Fri Feb 08 2008 Timothy Selivanow <timothy.selivanow@virtualxistenz.com> - 1.5.2-4
  82. - Fixed build requires, libgssapi-devel was still in there (for EL5 support)
  83. * Fri Jan 11 2008 Timothy Selivanow <timothy.selivanow@virtualxistenz.com> - 1.5.2-3
  84. - Merged patches and spec changes by Terje Røsten <terje.rosten@ntnu.no>
  85. - Fixed the test failures
  86. * Fri Jan 04 2008 Timothy Selivanow <timothy.selivanow@virtualxistenz.com> - 1.5.2-2
  87. - Attempting to make the spec work with different versions of Python
  88. * Mon Sep 03 2007 Timothy Selivanow <timothy.selivanow@virtualxistenz.com> - 1.5.2-1
  89. - Update to 1.5.2
  90. - Some spec clean up
  91. * Fri Jan 12 2007 Timothy Selivanow <timothy.selivanow@virtualxistenz.com> - 1.5.0-1
  92. - Initial spec creation