bzr-vl.spec 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303
  1. %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
  2. # All package versioning is found here:
  3. # the actual version is composed from these below, including leading 0 for release candidates
  4. # bzrmajor: main bzr version
  5. # Version: bzr version, add subrelease version here
  6. # bzrrc: release candidate version, if any, line starts with % for rc, # for stable releas (no %).
  7. %define bzrmajor 2.5
  8. %define bzrminor 1
  9. Name: bzr
  10. Version: %{bzrmajor}%{?bzrminor:.}%{?bzrminor}
  11. Release: 1%{?_dist_release}
  12. Summary: Friendly distributed version control system
  13. Summary(ja): bzr - 分散型バージョン管理システム
  14. Group: Development/Tools
  15. License: GPLv2+
  16. URL: http://www.bazaar-vcs.org/
  17. Source0: https://launchpad.net/%{name}/%{bzrmajor}/%{version}/+download/%{name}-%{version}.tar.gz
  18. Source1: https://launchpad.net/%{name}/%{bzrmajor}/%{version}/+download/%{name}-%{version}.tar.gz.sig
  19. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  20. BuildRequires: python-devel zlib-devel
  21. # We're using an old version of Pyrex, use the pregenerated C files instead
  22. # of rebuilding
  23. #BuildRequires: Pyrex
  24. Requires: python-paramiko
  25. # Workaround Bug #230223 otherwise this would be a soft dependency
  26. Requires: python-pycurl
  27. Vendor: Project Vine
  28. Distribution: Vine Linux
  29. %description
  30. Bazaar is a distributed revision control system that is powerful, friendly,
  31. and scalable. It is the successor of Baz-1.x which, in turn, was
  32. a user-friendly reimplementation of GNU Arch.
  33. %prep
  34. %setup -q -n %{name}-%{version}
  35. sed -i '1{/#![[:space:]]*\/usr\/bin\/\(python\|env\)/d}' bzrlib/_patiencediff_py.py
  36. sed -i '1{/#![[:space:]]*\/usr\/bin\/\(python\|env\)/d}' bzrlib/weave.py
  37. %build
  38. CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
  39. chmod a-x contrib/bash/bzrbashprompt.sh
  40. %install
  41. rm -rf $RPM_BUILD_ROOT
  42. %{__python} setup.py install --skip-build --install-data %{_datadir} --root $RPM_BUILD_ROOT
  43. chmod 0644 contrib/bzr_access
  44. chmod 0644 contrib/bzr_ssh_path_limiter
  45. chmod 0755 $RPM_BUILD_ROOT%{python_sitearch}/bzrlib/*.so
  46. install -d $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/
  47. install -m 0644 contrib/bash/bzr $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/
  48. rm contrib/bash/bzr
  49. # This is included in %doc, remove redundancy here
  50. #rm -rf $RPM_BUILD_ROOT%{python_sitearch}/bzrlib/doc/
  51. # Use independently packaged python-elementtree instead
  52. rm -rf $RPM_BUILD_ROOT%{python_sitearch}/bzrlib/util/elementtree/
  53. %{find_lang} %{name}
  54. %clean
  55. rm -rf $RPM_BUILD_ROOT
  56. %files -f %{name}.lang
  57. %defattr(-,root,root,-)
  58. %doc NEWS README TODO COPYING.txt doc/ contrib/
  59. %{_bindir}/bzr
  60. %{_mandir}/man1/*
  61. %{python_sitearch}/bzrlib/
  62. %{python_sitearch}/*.egg-info
  63. %{_sysconfdir}/bash_completion.d/
  64. %changelog
  65. * Thu Jan 3 2013 IWAI, Masaharu <iwai@alib.jp> 2.5.1-1
  66. - new upstream release
  67. - add .mo files
  68. * Mon May 28 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.5.0-1
  69. - new upstream release
  70. * Thu Mar 31 2011 IWAI, Masaharu <iwai@alib.jp> 2.3.1-1
  71. - new upstream release
  72. - add Vendor and Distribution tags
  73. * Sun Dec 12 2010 IWAI, Masaharu <iwai@alib.jp> 2.2.2-1
  74. - new upstream release
  75. * Mon Apr 19 2010 Shu KONNO <owa@bg.wakwak.com> 1.17-2
  76. - rebuilt with python-2.6
  77. * Thu Aug 6 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.17-1
  78. - initial build for VineSeed
  79. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.17-2
  80. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  81. * Mon Jul 20 2009 Henrik Nordstrom <henrik@henriknordstrom.net> - 1.17-1
  82. - Upgade to 1.17
  83. * Mon Jul 13 2009 Henrik Nordstrom <henrik@henriknordstrom.net> - 1.17-0.1
  84. - Update to 1.17rc1
  85. * Fri Jun 26 2009 Henrik Nordstrom <henrik@henriknordstrom.net> - 1.16.1-1
  86. - Update to 1.16.1
  87. * Thu Jun 18 2009 Henrik Nordstrom <henrik@henriknordstrom.net> - 1.16-1
  88. - Update to 1.16
  89. * Wed Jun 10 2009 Henrik Nordstrom <henrik@henriknordstrom.net> - 1.15.1-1
  90. - Update to 1.15.1
  91. * Sat May 23 2009 Henrik Nordstrom <henrik@henriknordstrom.net> - 1.15-2
  92. - Update to 1.15final
  93. * Sat May 16 2009 Henrik Nordstrom <henrik@henriknordstrom.net> - 1.15-0.1
  94. - Update to 1.15rc1
  95. * Sat May 02 2009 Henrik Nordstrom <henrik@henriknordstrom.net> - 1.14.1-1
  96. - Update to 1.14.1
  97. * Wed Apr 29 2009 Henrik Nordstrom <henrik@henriknordstrom.net> - 1.14-1
  98. - Update to 1.14
  99. * Mon Apr 20 2009 Henrik Nordstrom <henrik@henriknordstrom.net> - 1.14-0.3.rc2
  100. - Update to 1.14rc2
  101. * Sat Apr 11 2009 Henrik Nordstrom <henrik@henriknordstrom.net> - 1.14-0.2.rc1
  102. - Correct build dependencies
  103. * Thu Apr 09 2009 Henrik Nordstrom <henrik@henriknordstrom.net> - 1.14-0.1.rc1
  104. - Update to 1.14rc1
  105. * Tue Mar 24 2009 Henrik Nordstrom <henrik@henriknordstrom.net> - 1.13.1-1
  106. - Update to 1.13.1
  107. * Mon Mar 16 2009 Henrik Nordstrom <henrik@henriknordstrom.net> - 1.13-1
  108. - Update to 1.13
  109. * Tue Mar 10 2009 Henrik Nordstrom <henrik@henriknordstrom.net> - 1.13-0.1.rc1
  110. - Update to 1.13rc1
  111. * Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-2
  112. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  113. * Fri Feb 13 2009 Henrik Nordstrom <henrik@henriknordstrom.net> - 1.12-1
  114. - Update to 1.12
  115. * Tue Feb 10 2009 Henrik Nordstrom <henrik@henriknordstrom.net> - 1.12-0.1.rc1
  116. - Update to 1.12rc1
  117. * Mon Jan 19 2009 Henrik Nordstrom <henrik@henriknordstrom.net> - 1.11-1
  118. - Update to 1.11
  119. * Wed Dec 10 2008 Toshio Kuratomi <toshio@fedoraproject.org> - 1.10-1
  120. - Update to 1.10
  121. * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.9-2
  122. - Rebuild for Python 2.6
  123. * Thu Nov 13 2008 Toshio Kuratomi <toshio@fedoraproject.org> - 1.9-1
  124. - Update to 1.9
  125. * Thu Sep 25 2008 Toshio Kuratomi <toshio@fedoraproject.org> - 1.7-1
  126. - 1.7 Final
  127. * Wed Sep 3 2008 Toshio Kuratomi <toshio@fedoraproject.org> - 1.7-0.1.rc2
  128. - 1.7rc2
  129. - Remove executable permission from a %%doc file
  130. * Wed Sep 3 2008 Toshio Kuratomi <toshio@fedoraproject.org> - 1.6.1-0.1.rc2
  131. - New upstream bugfix release.
  132. * Thu May 21 2008 Toshio Kuratomi <toshio@fedoraproject.org> - 1.5-2
  133. - Upload tarball.
  134. * Wed May 21 2008 Toshio Kuratomi <toshio@fedoraproject.org> - 1.5-1
  135. - Update to 1.5.
  136. * Thu May 15 2008 Toshio Kuratomi <toshio@fedoraproject.org> - 1.4-2
  137. - Workaround upstream Bug# 230223 by Requiring python-pycurl.
  138. * Mon May 5 2008 Toshio Kuratomi <toshio@fedoraproject.org> - 1.4-1
  139. - Update to 1.4.
  140. * Sun Apr 27 2008 Toshio Kuratomi <toshio@fedoraproject.org> - 1.3.1-1
  141. - Paramiko/sftp backport from 1.4.0. bz#444325
  142. - Update to 1.3.1 final.
  143. * Sat Apr 4 2008 Toshio Kuratomi <toshio@fedoraproject.org> - 1.3.1-0.1.rc1
  144. - Update to 1.3.1rc1 to fix a bug when you have a pack based remote repo and
  145. knit based local branch.
  146. * Wed Mar 26 2008 Warren Togami <wtogami@redhat.com> - 1.3-1
  147. - Update to 1.3.
  148. * Mon Feb 25 2008 Toshio Kuratomi <toshio@fedoraproject.org> - 1.2-1
  149. - Update to 1.2.
  150. * Fri Feb 8 2008 Toshio Kuratomi <toshio@fedoraproject.org> - 1.1-2
  151. - Rebuild for new gcc.
  152. * Mon Jan 21 2008 Toshio Kuratomi <a.badger@gmail.com> - 1.1-1
  153. - Upstream 1.1 bugfix and performance enhancement release.
  154. - Enable bash completion script from the contrib directory.
  155. * Thu Dec 13 2007 Toshio Kuratomi <a.badger@gmail.com> - 1.0-1
  156. - Update to 1.0 final.
  157. * Tue Dec 11 2007 Toshio Kuratomi <a.badger@gmail.com> - 1.0-0.1.rc3
  158. - Update to 1.0rc3
  159. - The new rawhide python package generates egg-info files.
  160. * Fri Nov 30 2007 Toshio Kuratomi <a.badger@gmail.com> - 1.0-0.1.rc2
  161. - Update to 1.0rc2
  162. * Tue Aug 28 2007 Toshio Kuratomi <a.badger@gmail.com> - 0.91-1
  163. - Update to 0.91.
  164. + Fixes some issues with using tag-enabled branches.
  165. * Tue Aug 28 2007 Toshio Kuratomi <a.badger@gmail.com> - 0.90-1
  166. - Update to 0.90
  167. * Mon Aug 27 2007 Toshio Kuratomi <a.badger@gmail.com> - 0.90-0.1.rc1
  168. - Update to 0.90rc1.
  169. - 0.90 contains some pyrex code to speed things up. bzr is now arch specific.
  170. - Update license tag.
  171. * Wed Jul 25 2007 Warren Togami <wtogami@redhat.com> - 0.18-1
  172. - Update to 0.18.
  173. * Tue Jun 26 2007 Warren Togami <wtogami@redhat.com> - 0.17-2
  174. - Update to 0.17.
  175. * Tue May 08 2007 Toshio Kuratomi <toshio@tiki-lounge.com> - 0.16-1
  176. - Update to 0.16.
  177. * Thu Mar 22 2007 Toshio Kuratomi <toshio@tiki-lounge.com> - 0.15-1
  178. - Update to 0.15.
  179. - Simplify the %%files list.
  180. * Tue Jan 23 2007 Toshio Kuratomi <toshio@tiki-lounge.com> - 0.14-1
  181. - Update to 0.14
  182. * Sun Dec 10 2006 Toshio Kuratomi <toshio@tiki-lounge.com> 0.13-2
  183. - Conditionalize the python-elementtree requires as python2.5 in FC7 includes
  184. elementtree
  185. * Wed Dec 6 2006 Toshio Kuratomi <toshio@tiki-lounge.com> 0.13-1
  186. - Update to 0.13
  187. * Thu Oct 30 2006 Toshio Kuratomi <toshio@tiki-lounge.com> 0.12-1
  188. - Update to 0.12
  189. * Thu Oct 08 2006 Toshio Kuratomi <toshio@tiki-lounge.com> 0.11-1
  190. - Update to 0.11
  191. - New download location.
  192. * Sun Sep 17 2006 Warren Togami <wtogami@redhat.com> 0.10-1
  193. - 0.10
  194. * Fri Aug 11 2006 Shahms E. King <shahms@shahms.com> 0.9-1
  195. - Update to new upstream
  196. * Fri Aug 11 2006 Shahms E. King <shahms@shahms.com> 0.8.2-3
  197. - Include, don't ghost .pyo files per new guidelines
  198. * Mon Jun 26 2006 Shahms E. King <shahms@shahms.com> 0.8.2-2
  199. - Require python-paramiko for sftp support
  200. * Tue May 23 2006 Shahms E. King <shahms@shahms.com> 0.8.2-1
  201. - Update to new upstream version
  202. - Fix dist tag
  203. * Wed May 10 2006 Shahms E. King <shahms@shahms.com> 0.8-1
  204. - Update to new upstream version
  205. - Update bzr-sys-etree.patch for changes
  206. * Mon Feb 13 2006 Shahms E. King <shahms@shahms.com> 0.7-3
  207. - Add python-elementtree to BuildRequires
  208. * Mon Feb 13 2006 Shahms E. King <shahms@shahms.com> 0.7-2
  209. - Add dist tag
  210. * Fri Feb 10 2006 Shahms E. King <shahms@shahms.com> 0.7-1
  211. - Update to 0.7
  212. * Thu Jan 26 2006 Shahms E. King <shahms@shahms.com> 0.6.2-2
  213. - Fix system library patch
  214. * Wed Dec 07 2005 Shahms E. King <shahms@shahms.com> 0.6.2-1
  215. - Initial package