[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 | |
---|
[885] | 4 | %define version 0.0.26 |
---|
[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 | |
---|
[689] | 32 | vbuilder constracts a chroot environment with vbootstrap, and builds |
---|
| 33 | a rpm package inside the chroot. |
---|
| 34 | it is a useful system to check that a package has correct BuildRequires |
---|
| 35 | dependencies. |
---|
| 36 | |
---|
| 37 | |
---|
[118] | 38 | %description -l ja |
---|
| 39 | vbootstrap は Vine Linux の基本システムを既存の Vine Linux システム上で |
---|
| 40 | 作成するスクリプトです。rpm および apt を利用して、指定したディレクトリ |
---|
| 41 | 以下に基本の rpm パッケージをインストールし、chroot できるようにします。 |
---|
| 42 | |
---|
[689] | 43 | vbuilder は vbootstrap を利用して chroot 環境の構築し、 |
---|
| 44 | その chroot の中でパッケージをビルドします。 |
---|
| 45 | パッケージが正しい BuildRequires 依存関係を持っているかを確認するために |
---|
| 46 | 有用なシステムです。 |
---|
[118] | 47 | |
---|
[689] | 48 | |
---|
[118] | 49 | %prep |
---|
| 50 | [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} |
---|
| 51 | |
---|
| 52 | %setup |
---|
| 53 | |
---|
| 54 | %build |
---|
[513] | 55 | %__make |
---|
[118] | 56 | |
---|
| 57 | %install |
---|
[513] | 58 | %__make DESTDIR=$RPM_BUILD_ROOT install |
---|
[118] | 59 | |
---|
| 60 | %clean |
---|
| 61 | [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} |
---|
| 62 | |
---|
| 63 | |
---|
| 64 | %files |
---|
| 65 | %defattr(-,root,root) |
---|
| 66 | %{_sbindir}/vbootstrap |
---|
| 67 | %{_sbindir}/vbuilder |
---|
| 68 | %dir %{_datadir}/vbootstrap |
---|
| 69 | %{_datadir}/vbootstrap/* |
---|
[484] | 70 | %{_sysconfdir}/bash_completion.d/vbuilder |
---|
[323] | 71 | %config(noreplace) %{_sysconfdir}/vbootstrap/vbuilder.conf |
---|
[118] | 72 | |
---|
| 73 | |
---|
| 74 | %changelog |
---|
[921] | 75 | * Mon May 03 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.26-1 |
---|
| 76 | - updated vbuilder.sh.in |
---|
| 77 | - made /dev/random on chroot in Build() |
---|
[885] | 78 | |
---|
[884] | 79 | * Sat Apr 24 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.25-1 |
---|
[800] | 80 | - updated vbuilder.sh.in |
---|
| 81 | - supported "test" category |
---|
[852] | 82 | - added some comments for mount-chroot() |
---|
[800] | 83 | - updated vbuilder-bash-completion.sh |
---|
| 84 | |
---|
[796] | 85 | * Sun Apr 11 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.24-1 |
---|
[791] | 86 | - updated vbootstrap.sh.in (daisuke-san) |
---|
| 87 | - changed to cache /var/lib/apt/lists, /var/cache/apt/archives |
---|
| 88 | in bootstrap (not in host) |
---|
| 89 | - set Dir::State and Dir::Cache in APT_OPTS |
---|
[796] | 90 | |
---|
| 91 | * Sun Apr 11 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.23-1 |
---|
[791] | 92 | - updated vbuilder.sh.in |
---|
| 93 | - added --category option |
---|
| 94 | |
---|
[725] | 95 | * Fri Apr 02 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.22-1 |
---|
[709] | 96 | - updated vbuilder.sh.in: |
---|
[725] | 97 | - added --bootstrap-dir, --built-rpms-dir, --cache-dir options |
---|
| 98 | - added show-info action |
---|
| 99 | - defined write-vbuilder-log() |
---|
| 100 | - added CACHE_DIR in vbuilder.conf.in |
---|
[709] | 101 | - updated vbuilder-bash-completion.sh |
---|
| 102 | |
---|
[679] | 103 | * Fri Mar 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.21-1 |
---|
[688] | 104 | - updated vbuilder.sh.in: |
---|
| 105 | - added a compatible name for actions: |
---|
| 106 | dropped two hyphens "--" from the head of an action "--hoge" |
---|
| 107 | (e.g. build-rpm = --build-rpm) |
---|
[689] | 108 | - added about vbuilder in %%description and %%description -l ja |
---|
[691] | 109 | - updated vbuilder-bash-completion.sh: s/5.0/5.1/ |
---|
[679] | 110 | |
---|
[628] | 111 | * Sun Mar 21 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.20-1 |
---|
| 112 | - fixed RPM_Build() |
---|
| 113 | |
---|
[519] | 114 | * Fri Mar 05 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.0.19-1 |
---|
| 115 | - remove Retry_vbootstrap-post() from the vbuilder script: |
---|
| 116 | the trick (implemented in 0.0.18-1) moved to vbootstrap/scripts/* instead |
---|
| 117 | |
---|
[518] | 118 | * Thu Mar 04 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.0.18-1 |
---|
| 119 | - vbuilder:Retry_vbootstrap-post(): pass --justdb option to rpm |
---|
| 120 | so that apt-get don't have to actually install packages again |
---|
| 121 | (this will help avoid creating annoying .rpmorig/.rpmnew files) |
---|
| 122 | |
---|
[516] | 123 | * Thu Mar 04 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.0.17-1 |
---|
| 124 | - add --help option to vbuilder |
---|
| 125 | - ensure all files/subdirectories under BUILT_RPMS_DIR |
---|
| 126 | (i.e. $HOME/vbuilder/{5.1,VineSeed}/{RPMS/{i686,ppc,x86_64},SRPMS}/*) |
---|
| 127 | have ownerships of the user/group who executed "sudo vbuilder" |
---|
| 128 | |
---|
[485] | 129 | * Mon Feb 22 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.16-1 |
---|
| 130 | - added Requires: unionfs-utils |
---|
| 131 | - updated vbuilder.sh.in |
---|
| 132 | - added --unionfs option |
---|
[513] | 133 | - supported 5.1 (by iwai-san) |
---|
[485] | 134 | |
---|
[484] | 135 | * Sat Feb 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.15-1 |
---|
| 136 | - added vbuilder-bash-completion.sh |
---|
| 137 | |
---|
[464] | 138 | * Sat Feb 13 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.14-1 |
---|
[455] | 139 | - updated vbuilder.sh.in |
---|
| 140 | - used __chroot_sh |
---|
| 141 | - improved some functions for mounting file systems |
---|
[464] | 142 | - defined Retry_vbootstrap-post() |
---|
[455] | 143 | |
---|
[452] | 144 | * Sat Feb 06 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.13-1 |
---|
| 145 | - updated vbuilder.sh.in |
---|
| 146 | - fixed /home/vbuilder/.rpmmacros for VineSeed_i386, VineSeed |
---|
| 147 | - improved some mounting processes |
---|
| 148 | - defined mount_cache_dir() |
---|
| 149 | |
---|
[423] | 150 | * Sun Jan 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.12-1 |
---|
| 151 | - added 4.2_i386 |
---|
| 152 | - updated vbuilder.sh.in |
---|
| 153 | - supported 4.2_i386 chroot on x86_64 |
---|
| 154 | |
---|
[418] | 155 | * Tue Jan 05 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.11-1 |
---|
| 156 | - updated vbuilder.sh.in |
---|
| 157 | - added Japanese translations for error messages |
---|
| 158 | - improved some mounting processes |
---|
| 159 | - defined some mount functions |
---|
[455] | 160 | - defined apt-get-update() function |
---|
| 161 | - defined check-parameter() function |
---|
[412] | 162 | |
---|
[411] | 163 | * Tue Dec 29 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.10-1 |
---|
| 164 | - updated vbuilder.sh.in |
---|
| 165 | - added --dist-upgrade option which provides a flag to build |
---|
| 166 | VineSeed bootstrap via stable relase version |
---|
| 167 | |
---|
[407] | 168 | * Sat Dec 26 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.9-1 |
---|
| 169 | - fixed vbuilder.sh.in around --target option |
---|
| 170 | |
---|
[406] | 171 | * Sat Dec 26 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.8-1 |
---|
| 172 | - updated vbuilder.sh.in |
---|
| 173 | - added --target option which gives a build target of source rpm |
---|
| 174 | |
---|
[396] | 175 | * Sun Nov 22 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.7-1 |
---|
| 176 | - updated vbuilder.sh.in |
---|
| 177 | |
---|
[371] | 178 | * Sat Oct 31 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.6-1 |
---|
| 179 | - updated vbuilder.sh.in, little |
---|
| 180 | |
---|
[370] | 181 | * Sat Oct 31 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.5-1 |
---|
| 182 | - updated vbuilder.sh.in and vbuilder.conf.in |
---|
| 183 | - extended to store built rpms on chroot env. in each arch. of home rpm dir. |
---|
[330] | 184 | |
---|
[323] | 185 | * Sun Sep 13 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.4-1 |
---|
| 186 | - added vine-release in BASE_PKGS of scripts/* |
---|
| 187 | - added vbuilder.conf |
---|
[314] | 188 | - updated vbuilder.sh.in |
---|
| 189 | |
---|
[305] | 190 | * Tue Sep 01 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.3-2 |
---|
| 191 | - rebuilt to add signature |
---|
| 192 | |
---|
[304] | 193 | * Mon Aug 31 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.3-1 |
---|
| 194 | - support 5.0 (by daisuke-san) |
---|
[135] | 195 | - update vbuilder.sh.in |
---|
[304] | 196 | - check chroot archtecture |
---|
[135] | 197 | |
---|
[118] | 198 | * Mon Jun 29 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.2-1 |
---|
| 199 | - add vbuilder |
---|
| 200 | |
---|
| 201 | * Wed Mar 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.1-1 |
---|
| 202 | - initial build |
---|