vbootstrap-vl.spec 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. # This package is maintained on trac svn repository. Please do not change on local.
  2. # If you find a BUG, please report to Vine@vinelinux.org or mailing list or BTS.
  3. %define version 0.0.20
  4. Summary: bootstrap scripts to create a basic Vine Linux system
  5. Summary(ja): Vine Linux の基本システムを作成するためのスクリプト
  6. Name: vbootstrap
  7. Version: %{version}
  8. Release: 1%{?_dist_release}
  9. License: public domain
  10. Group: Development/Tools
  11. Url: http://trac.vinelinux.org/wiki/VineBootstrap
  12. Source0: %{name}-%{version}.tar.bz2
  13. Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
  14. BuildArch: noarch
  15. BuildRequires: sed
  16. Requires: bash, apt
  17. Requires: unionfs-utils
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. Packager: daisuke, munepi
  21. %description
  22. vbootstrap is used to create a basic Vine Linux system on existing Vine Linux
  23. system. It uses rpm and apt to install basic rpm package into a directory
  24. which can be chrooted into.
  25. %description -l ja
  26. vbootstrap は Vine Linux の基本システムを既存の Vine Linux システム上で
  27. 作成するスクリプトです。rpm および apt を利用して、指定したディレクトリ
  28. 以下に基本の rpm パッケージをインストールし、chroot できるようにします。
  29. %prep
  30. [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT}
  31. %setup
  32. %build
  33. %__make
  34. %install
  35. %__make DESTDIR=$RPM_BUILD_ROOT install
  36. %clean
  37. [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT}
  38. %files
  39. %defattr(-,root,root)
  40. %{_sbindir}/vbootstrap
  41. %{_sbindir}/vbuilder
  42. %dir %{_datadir}/vbootstrap
  43. %{_datadir}/vbootstrap/*
  44. %{_sysconfdir}/bash_completion.d/vbuilder
  45. %config(noreplace) %{_sysconfdir}/vbootstrap/vbuilder.conf
  46. %changelog
  47. * Sun Mar 21 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.20-1
  48. - fixed RPM_Build()
  49. * Fri Mar 05 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.0.19-1
  50. - remove Retry_vbootstrap-post() from the vbuilder script:
  51. the trick (implemented in 0.0.18-1) moved to vbootstrap/scripts/* instead
  52. * Thu Mar 04 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.0.18-1
  53. - vbuilder:Retry_vbootstrap-post(): pass --justdb option to rpm
  54. so that apt-get don't have to actually install packages again
  55. (this will help avoid creating annoying .rpmorig/.rpmnew files)
  56. * Thu Mar 04 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.0.17-1
  57. - add --help option to vbuilder
  58. - ensure all files/subdirectories under BUILT_RPMS_DIR
  59. (i.e. $HOME/vbuilder/{5.1,VineSeed}/{RPMS/{i686,ppc,x86_64},SRPMS}/*)
  60. have ownerships of the user/group who executed "sudo vbuilder"
  61. * Mon Feb 22 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.16-1
  62. - added Requires: unionfs-utils
  63. - updated vbuilder.sh.in
  64. - added --unionfs option
  65. - supported 5.1 (by iwai-san)
  66. * Sat Feb 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.15-1
  67. - added vbuilder-bash-completion.sh
  68. * Sat Feb 13 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.14-1
  69. - updated vbuilder.sh.in
  70. - used __chroot_sh
  71. - improved some functions for mounting file systems
  72. - defined Retry_vbootstrap-post()
  73. * Sat Feb 06 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.13-1
  74. - updated vbuilder.sh.in
  75. - fixed /home/vbuilder/.rpmmacros for VineSeed_i386, VineSeed
  76. - improved some mounting processes
  77. - defined mount_cache_dir()
  78. * Sun Jan 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.12-1
  79. - added 4.2_i386
  80. - updated vbuilder.sh.in
  81. - supported 4.2_i386 chroot on x86_64
  82. * Tue Jan 05 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.11-1
  83. - updated vbuilder.sh.in
  84. - added Japanese translations for error messages
  85. - improved some mounting processes
  86. - defined some mount functions
  87. - defined apt-get-update() function
  88. - defined check-parameter() function
  89. * Tue Dec 29 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.10-1
  90. - updated vbuilder.sh.in
  91. - added --dist-upgrade option which provides a flag to build
  92. VineSeed bootstrap via stable relase version
  93. * Sat Dec 26 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.9-1
  94. - fixed vbuilder.sh.in around --target option
  95. * Sat Dec 26 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.8-1
  96. - updated vbuilder.sh.in
  97. - added --target option which gives a build target of source rpm
  98. * Sun Nov 22 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.7-1
  99. - updated vbuilder.sh.in
  100. * Sat Oct 31 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.6-1
  101. - updated vbuilder.sh.in, little
  102. * Sat Oct 31 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.5-1
  103. - updated vbuilder.sh.in and vbuilder.conf.in
  104. - extended to store built rpms on chroot env. in each arch. of home rpm dir.
  105. * Sun Sep 13 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.4-1
  106. - added vine-release in BASE_PKGS of scripts/*
  107. - added vbuilder.conf
  108. - updated vbuilder.sh.in
  109. * Tue Sep 01 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.3-2
  110. - rebuilt to add signature
  111. * Mon Aug 31 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.3-1
  112. - support 5.0 (by daisuke-san)
  113. - update vbuilder.sh.in
  114. - check chroot archtecture
  115. * Mon Jun 29 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.2-1
  116. - add vbuilder
  117. * Wed Mar 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.1-1
  118. - initial build