bzr-vl.spec 9.9 KB

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