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