1 Summary: Bootstrap a basic Debian system
2 Summary(pl.UTF-8): Instalator podstawowego systemu opartego o pakiety deb
7 Group: Applications/File
8 Source0: http://ftp.debian.org/debian/pool/main/d/debootstrap/%{name}_%{version}.tar.gz
9 # Source0-md5: ee53f65c28365994e5776c4378c69595
10 Source1: devices.tar.gz
11 # Source1-md5: 8c12b8d845b32080c6c769afb3376ada
12 URL: https://wiki.debian.org/Debootstrap
13 BuildRequires: sed >= 4.0
14 BuildRequires: tar >= 1:1.22
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 Debootstrap is used to create a Debian base system from scratch,
23 without requiring the availability of dpkg or apt. It does this by
24 downloading .deb files from a mirror site, and carefully unpacking
25 them into a directory which can eventually be chrooted into.
27 %description -l pl.UTF-8
28 Debootstrap jest wykorzystywany do tworzenia podstawowego systemu
29 Debiana od podstaw, bez potrzeby dostępności dpkg lub apt. Ściąga
30 pliki .deb z serwera i ostrożnie rozpakowuje je do katalogu, dokąd
31 możesz się następnie chrootować.
35 sed -i -e "s|@VERSION@|%{version}|g" %{name}
38 rm -rf $RPM_BUILD_ROOT
40 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8,%{_datadir}/%{name}}
42 install %{name} $RPM_BUILD_ROOT%{_sbindir}/%{name}
43 install %{name}.8 $RPM_BUILD_ROOT%{_mandir}/man8/%{name}.8
45 cp -a scripts $RPM_BUILD_ROOT%{_datadir}/%{name}/scripts
47 install functions $RPM_BUILD_ROOT%{_datadir}/%{name}
48 install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/%{name}
51 rm -rf $RPM_BUILD_ROOT
54 %defattr(644,root,root,755)
55 %doc README TODO debian/copyright debian/changelog
56 %attr(755,root,root) %{_sbindir}/%{name}
57 %{_mandir}/man8/%{name}.8*
58 %dir %{_datadir}/%{name}
59 %{_datadir}/%{name}/scripts
60 %{_datadir}/%{name}/functions
61 %{_datadir}/%{name}/devices.tar.gz