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