vbootstrap-vl.spec 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  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.19
  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. * Fri Mar 05 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.0.19-1
  48. - remove Retry_vbootstrap-post() from the vbuilder script:
  49. the trick (implemented in 0.0.18-1) moved to vbootstrap/scripts/* instead
  50. * Thu Mar 04 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.0.18-1
  51. - vbuilder:Retry_vbootstrap-post(): pass --justdb option to rpm
  52. so that apt-get don't have to actually install packages again
  53. (this will help avoid creating annoying .rpmorig/.rpmnew files)
  54. * Thu Mar 04 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.0.17-1
  55. - add --help option to vbuilder
  56. - ensure all files/subdirectories under BUILT_RPMS_DIR
  57. (i.e. $HOME/vbuilder/{5.1,VineSeed}/{RPMS/{i686,ppc,x86_64},SRPMS}/*)
  58. have ownerships of the user/group who executed "sudo vbuilder"
  59. * Mon Feb 22 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.16-1
  60. - added Requires: unionfs-utils
  61. - updated vbuilder.sh.in
  62. - added --unionfs option
  63. - supported 5.1 (by iwai-san)
  64. * Sat Feb 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.15-1
  65. - added vbuilder-bash-completion.sh
  66. * Sat Feb 13 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.14-1
  67. - updated vbuilder.sh.in
  68. - used __chroot_sh
  69. - improved some functions for mounting file systems
  70. - defined Retry_vbootstrap-post()
  71. * Sat Feb 06 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.13-1
  72. - updated vbuilder.sh.in
  73. - fixed /home/vbuilder/.rpmmacros for VineSeed_i386, VineSeed
  74. - improved some mounting processes
  75. - defined mount_cache_dir()
  76. * Sun Jan 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.12-1
  77. - added 4.2_i386
  78. - updated vbuilder.sh.in
  79. - supported 4.2_i386 chroot on x86_64
  80. * Tue Jan 05 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.11-1
  81. - updated vbuilder.sh.in
  82. - added Japanese translations for error messages
  83. - improved some mounting processes
  84. - defined some mount functions
  85. - defined apt-get-update() function
  86. - defined check-parameter() function
  87. * Tue Dec 29 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.10-1
  88. - updated vbuilder.sh.in
  89. - added --dist-upgrade option which provides a flag to build
  90. VineSeed bootstrap via stable relase version
  91. * Sat Dec 26 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.9-1
  92. - fixed vbuilder.sh.in around --target option
  93. * Sat Dec 26 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.8-1
  94. - updated vbuilder.sh.in
  95. - added --target option which gives a build target of source rpm
  96. * Sun Nov 22 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.7-1
  97. - updated vbuilder.sh.in
  98. * Sat Oct 31 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.6-1
  99. - updated vbuilder.sh.in, little
  100. * Sat Oct 31 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.5-1
  101. - updated vbuilder.sh.in and vbuilder.conf.in
  102. - extended to store built rpms on chroot env. in each arch. of home rpm dir.
  103. * Sun Sep 13 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.4-1
  104. - added vine-release in BASE_PKGS of scripts/*
  105. - added vbuilder.conf
  106. - updated vbuilder.sh.in
  107. * Tue Sep 01 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.3-2
  108. - rebuilt to add signature
  109. * Mon Aug 31 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.3-1
  110. - support 5.0 (by daisuke-san)
  111. - update vbuilder.sh.in
  112. - check chroot archtecture
  113. * Mon Jun 29 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.2-1
  114. - add vbuilder
  115. * Wed Mar 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.1-1
  116. - initial build