| [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 | |
|---|
| [484] | 4 | %define version 0.0.15 |
|---|
| [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 |
|---|
| 21 | |
|---|
| 22 | Vendor: Project Vine |
|---|
| 23 | Distribution: Vine Linux |
|---|
| 24 | Packager: daisuke, munepi |
|---|
| 25 | |
|---|
| 26 | %description |
|---|
| 27 | vbootstrap is used to create a basic Vine Linux system on existing Vine Linux |
|---|
| 28 | system. It uses rpm and apt to install basic rpm package into a directory |
|---|
| 29 | which can be chrooted into. |
|---|
| 30 | |
|---|
| 31 | %description -l ja |
|---|
| 32 | vbootstrap は Vine Linux の基本システムを既存の Vine Linux システム上で |
|---|
| 33 | 作成するスクリプトです。rpm および apt を利用して、指定したディレクトリ |
|---|
| 34 | 以下に基本の rpm パッケージをインストールし、chroot できるようにします。 |
|---|
| 35 | |
|---|
| 36 | |
|---|
| 37 | %prep |
|---|
| 38 | [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} |
|---|
| 39 | |
|---|
| 40 | %setup |
|---|
| 41 | |
|---|
| 42 | %build |
|---|
| 43 | make |
|---|
| 44 | |
|---|
| 45 | %install |
|---|
| 46 | make DESTDIR=$RPM_BUILD_ROOT install |
|---|
| 47 | |
|---|
| 48 | %clean |
|---|
| 49 | [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} |
|---|
| 50 | |
|---|
| 51 | |
|---|
| 52 | %files |
|---|
| 53 | %defattr(-,root,root) |
|---|
| 54 | %{_sbindir}/vbootstrap |
|---|
| 55 | %{_sbindir}/vbuilder |
|---|
| 56 | %dir %{_datadir}/vbootstrap |
|---|
| 57 | %{_datadir}/vbootstrap/* |
|---|
| [484] | 58 | %{_sysconfdir}/bash_completion.d/vbuilder |
|---|
| [323] | 59 | %config(noreplace) %{_sysconfdir}/vbootstrap/vbuilder.conf |
|---|
| [118] | 60 | |
|---|
| 61 | |
|---|
| 62 | %changelog |
|---|
| [484] | 63 | * Sat Feb 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.15-1 |
|---|
| 64 | - added vbuilder-bash-completion.sh |
|---|
| 65 | |
|---|
| [464] | 66 | * Sat Feb 13 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.14-1 |
|---|
| [455] | 67 | - updated vbuilder.sh.in |
|---|
| 68 | - used __chroot_sh |
|---|
| 69 | - improved some functions for mounting file systems |
|---|
| [464] | 70 | - defined Retry_vbootstrap-post() |
|---|
| [455] | 71 | |
|---|
| [452] | 72 | * Sat Feb 06 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.13-1 |
|---|
| 73 | - updated vbuilder.sh.in |
|---|
| 74 | - fixed /home/vbuilder/.rpmmacros for VineSeed_i386, VineSeed |
|---|
| 75 | - improved some mounting processes |
|---|
| 76 | - defined mount_cache_dir() |
|---|
| 77 | |
|---|
| [423] | 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 | |
|---|
| [418] | 83 | * Tue Jan 05 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.11-1 |
|---|
| 84 | - updated vbuilder.sh.in |
|---|
| 85 | - added Japanese translations for error messages |
|---|
| 86 | - improved some mounting processes |
|---|
| 87 | - defined some mount functions |
|---|
| [455] | 88 | - defined apt-get-update() function |
|---|
| 89 | - defined check-parameter() function |
|---|
| [412] | 90 | |
|---|
| [411] | 91 | * Tue Dec 29 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.10-1 |
|---|
| 92 | - updated vbuilder.sh.in |
|---|
| 93 | - added --dist-upgrade option which provides a flag to build |
|---|
| 94 | VineSeed bootstrap via stable relase version |
|---|
| 95 | |
|---|
| [407] | 96 | * Sat Dec 26 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.9-1 |
|---|
| 97 | - fixed vbuilder.sh.in around --target option |
|---|
| 98 | |
|---|
| [406] | 99 | * Sat Dec 26 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.8-1 |
|---|
| 100 | - updated vbuilder.sh.in |
|---|
| 101 | - added --target option which gives a build target of source rpm |
|---|
| 102 | |
|---|
| [396] | 103 | * Sun Nov 22 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.7-1 |
|---|
| 104 | - updated vbuilder.sh.in |
|---|
| 105 | |
|---|
| [371] | 106 | * Sat Oct 31 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.6-1 |
|---|
| 107 | - updated vbuilder.sh.in, little |
|---|
| 108 | |
|---|
| [370] | 109 | * Sat Oct 31 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.5-1 |
|---|
| 110 | - updated vbuilder.sh.in and vbuilder.conf.in |
|---|
| 111 | - extended to store built rpms on chroot env. in each arch. of home rpm dir. |
|---|
| [330] | 112 | |
|---|
| [323] | 113 | * Sun Sep 13 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.4-1 |
|---|
| 114 | - added vine-release in BASE_PKGS of scripts/* |
|---|
| 115 | - added vbuilder.conf |
|---|
| [314] | 116 | - updated vbuilder.sh.in |
|---|
| 117 | |
|---|
| [305] | 118 | * Tue Sep 01 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.3-2 |
|---|
| 119 | - rebuilt to add signature |
|---|
| 120 | |
|---|
| [304] | 121 | * Mon Aug 31 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.3-1 |
|---|
| 122 | - support 5.0 (by daisuke-san) |
|---|
| [135] | 123 | - update vbuilder.sh.in |
|---|
| [304] | 124 | - check chroot archtecture |
|---|
| [135] | 125 | |
|---|
| [118] | 126 | * Mon Jun 29 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.2-1 |
|---|
| 127 | - add vbuilder |
|---|
| 128 | |
|---|
| 129 | * Wed Mar 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.1-1 |
|---|
| 130 | - initial build |
|---|