]> git.pld-linux.org Git - packages/debootstrap.git/blame - debootstrap.spec
- up to 1.0.57
[packages/debootstrap.git] / debootstrap.spec
CommitLineData
0f915043 1# TODO:
2# - optional package with dev files / links to dev
0f915043 3Summary: Bootstrap a basic Debian system
3c4f728e 4Summary(pl.UTF-8): Instalator podstawowego systemu opartego o pakiety deb
0f915043 5Name: debootstrap
d4f0dd5e 6Version: 1.0.57
82f362c9 7Release: 1
6fd6d5e2 8License: MIT-like
0f915043 9Group: Applications/File
d4f0dd5e
JB
10Source0: http://ftp.debian.org/debian/pool/main/d/debootstrap/%{name}_%{version}.tar.xz
11# Source0-md5: 464c3d461ea396246c7966e6c6ebeb2c
b0588a94 12Source1: devices.tar.gz
4ee2edbe 13# Source1-md5: 8c12b8d845b32080c6c769afb3376ada
8f025928 14BuildRequires: sed >= 4.0
d4f0dd5e
JB
15BuildRequires: tar >= 1:1.22
16BuildRequires: xz
0f915043 17Requires: binutils
18Requires: wget
e8e6545a 19BuildArch: noarch
0f915043 20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23Debootstrap is used to create a Debian base system from scratch,
24without requiring the availability of dpkg or apt. It does this by
25downloading .deb files from a mirror site, and carefully unpacking
26them into a directory which can eventually be chrooted into.
27
9cd39d08 28%description -l pl.UTF-8
0f915043 29Debootstrap jest wykorzystywany do tworzenia podstawowego systemu
9cd39d08
JR
30Debiana od podstaw, bez potrzeby dostępności dpkg lub apt. Ściąga
31pliki .deb z serwera i ostrożnie rozpakowuje je do katalogu, dokąd
32możesz się następnie chrootować.
0f915043 33
34%prep
36bcdbc2 35%setup -q
e8e6545a 36sed -i -e "s|@VERSION@|%{version}|g" %{name}
0f915043 37
38%install
39rm -rf $RPM_BUILD_ROOT
0f915043 40
36bcdbc2 41install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8,%{_datadir}/%{name}}
e8e6545a 42
43install %{name} $RPM_BUILD_ROOT%{_sbindir}/%{name}
44install %{name}.8 $RPM_BUILD_ROOT%{_mandir}/man8/%{name}.8
45
36bcdbc2 46cp -a scripts $RPM_BUILD_ROOT%{_datadir}/%{name}/scripts
e8e6545a 47
e8e6545a 48install functions $RPM_BUILD_ROOT%{_datadir}/%{name}
49install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/%{name}
0f915043 50
51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%files
55%defattr(644,root,root,755)
36bcdbc2 56%doc README TODO debian/copyright debian/changelog
0f915043 57%attr(755,root,root) %{_sbindir}/%{name}
8ea0fe0a 58%{_mandir}/man8/%{name}.8*
e8e6545a 59%dir %{_datadir}/%{name}
60%{_datadir}/%{name}/scripts
61%{_datadir}/%{name}/functions
62%{_datadir}/%{name}/devices.tar.gz
This page took 0.064099 seconds and 4 git commands to generate.