pysvn-vl.spec 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  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.8
  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}-root
  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. Vendor: Project Vine
  20. Distribution: Vine Linux
  21. Packager: kazutaka
  22. %description
  23. Pythonic style bindings for Subversion
  24. %description -l ja
  25. Subversion 用の python バインディングです。
  26. %prep
  27. %setup -q -n %{name}-%{version}
  28. %build
  29. pushd Source
  30. %{__python} setup.py backport
  31. CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py configure --enable-debug --verbose --norpath --fixed-module-name
  32. # Set correct build flags
  33. %{__sed} -i -e 's/-Wall -fPIC -fexceptions -frtti/%{optflags} -fPIC -frtti/' Makefile
  34. %{__make} %{?_smp_mflags}
  35. %install
  36. %{__rm} -rf %{buildroot}
  37. %{__install} -d -m 755 %{buildroot}%{python_sitearch}/%{name}
  38. %{__install} -p -m 644 Source/pysvn/__init__.py %{buildroot}%{python_sitearch}/%{name}
  39. %{__install} -p -m 755 Source/pysvn/_pysvn.so %{buildroot}%{python_sitearch}/%{name}
  40. %clean
  41. %{__rm} -rf %{buildroot}
  42. %files
  43. %defattr(-, root, root, -)
  44. %doc Docs/pysvn.html Docs/pysvn_prog_guide.html Docs/pysvn_prog_ref.html
  45. %doc Docs/pysvn_prog_ref.js
  46. %doc Examples
  47. %doc LICENSE.txt
  48. %{python_sitearch}/%{name}
  49. %changelog
  50. * Fri Sep 02 2016 Toshiaki Ara <ara_t@384.jp> - 1.7.8-2
  51. - rebuild with gcc-5.4.0
  52. * Tue Apr 29 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.7.8-1
  53. - new upstream release
  54. * Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.7.6-3
  55. - rebuild with VineSeed environment
  56. * Sun Sep 23 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.7.6-2
  57. - rebuilt with subversion-1.7.6
  58. * Tue Jul 10 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.7.6-1
  59. - new upstream release
  60. * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.0-4
  61. - rebuild with python-2.7.2
  62. * Sun Feb 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.0-3
  63. - rebuild with openssl-1.0.0c
  64. * Sun Feb 14 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 1.7.0-2
  65. - rebuild with python-2.6 (Seed only)
  66. * Sat May 23 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.7.0-1
  67. - initial build for Vine Linux based of fedora development
  68. - add japanese description and summary
  69. - run backport command to skip reserved keyword check for python 2.6
  70. * Wed Mar 04 2009 Caitlyn O'Hanna <ravenoak@virtualxistenz.com> - 1.6.3-2
  71. - Remove the benchmark patch. Changes included in this release.
  72. * Tue Mar 03 2009 Caitlyn O'Hanna <ravenoak@virtualxistenz.com> - 1.6.3-1
  73. - Update to 1.6.3
  74. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.2-4
  75. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  76. * Sat Jan 17 2009 Tomas Mraz <tmraz@redhat.com> - 1.6.2-3
  77. - rebuild with new openssl
  78. * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.6.2-2
  79. - Rebuild for Python 2.6
  80. * Tue Oct 28 2008 Caitlyn O'Hanna <ravenoak@virtualxistenz.com> - 1.6.2-1
  81. - Upstream to 1.6.2, upstream provided some build fixes to remove patches
  82. - (Thanks Barry!). Re-enabled testing with provided patch to fix whitespace
  83. * Sat Oct 11 2008 Caitlyn O'Hanna <ravenoak@virtualxistenz.com> - 1.6.1-2
  84. - Fixed lingering module versioning in __init__
  85. * Mon Oct 06 2008 Caitlyn O'Hanna <ravenoak@virtualxistenz.com> - 1.6.1-1
  86. - Update to 1.6.1, fix F10 FBFS
  87. - Disabled tests, might be because of subversion 1.5
  88. * Wed Feb 27 2008 Timothy Selivanow <timothy.selivanow@virtualxistenz.com> - 1.5.3-1
  89. - Update to 1.5.3
  90. * Thu Feb 14 2008 Timothy Selivanow <timothy.selivanow@virtualxistenz.com> - 1.5.2-6
  91. - Clean up. Name change (back to upstream)
  92. * Tue Feb 12 2008 Timothy Selivanow <timothy.selivanow@virtualxistenz.com> - 1.5.2-5
  93. - Temporary fix for tests. Need to work with upstream for permanent fix.
  94. * Fri Feb 08 2008 Timothy Selivanow <timothy.selivanow@virtualxistenz.com> - 1.5.2-4
  95. - Fixed build requires, libgssapi-devel was still in there (for EL5 support)
  96. * Fri Jan 11 2008 Timothy Selivanow <timothy.selivanow@virtualxistenz.com> - 1.5.2-3
  97. - Merged patches and spec changes by Terje Røsten <terje.rosten@ntnu.no>
  98. - Fixed the test failures
  99. * Fri Jan 04 2008 Timothy Selivanow <timothy.selivanow@virtualxistenz.com> - 1.5.2-2
  100. - Attempting to make the spec work with different versions of Python
  101. * Mon Sep 03 2007 Timothy Selivanow <timothy.selivanow@virtualxistenz.com> - 1.5.2-1
  102. - Update to 1.5.2
  103. - Some spec clean up
  104. * Fri Jan 12 2007 Timothy Selivanow <timothy.selivanow@virtualxistenz.com> - 1.5.0-1
  105. - Initial spec creation