]> git.pld-linux.org Git - packages/debootstrap.git/blame - debootstrap.spec
- 1.0.1
[packages/debootstrap.git] / debootstrap.spec
CommitLineData
0f915043 1# TODO:
2# - optional package with dev files / links to dev
b0588a94 3# - still problems on amd64:/
0f915043 4Summary: Bootstrap a basic Debian system
847697a1 5Summary(pl.UTF-8): Zainstaluj Debiana
0f915043 6Name: debootstrap
4b5c7edb 7Version: 1.0.1
26c9d730 8Release: 0.3
0f915043 9License: Freeware
10Group: Applications/File
4b5c7edb 11Source0: http://archive.ubuntulinux.org/ubuntu/pool/main/d/debootstrap/%{name}_%{version}.tar.gz
12# Source0-md5: afa00d6362c8246560797cb54c502908
b0588a94 13Source1: devices.tar.gz
26c9d730 14BuildRequires: dpkg
8f025928 15BuildRequires: sed >= 4.0
0f915043 16Requires: binutils
17Requires: wget
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
21Debootstrap is used to create a Debian base system from scratch,
22without requiring the availability of dpkg or apt. It does this by
23downloading .deb files from a mirror site, and carefully unpacking
24them into a directory which can eventually be chrooted into.
25
9cd39d08 26%description -l pl.UTF-8
0f915043 27Debootstrap jest wykorzystywany do tworzenia podstawowego systemu
9cd39d08
JR
28Debiana od podstaw, bez potrzeby dostępności dpkg lub apt. Ściąga
29pliki .deb z serwera i ostrożnie rozpakowuje je do katalogu, dokąd
30możesz się następnie chrootować.
0f915043 31
32%prep
4b5c7edb 33%setup -q -n %{name}
0f915043 34
35%build
36%{__make} pkgdetails
37sed -i -e "s@/usr/lib/@%{_libdir}/@g" %{name}
38
39%install
40rm -rf $RPM_BUILD_ROOT
41install -D %{name} $RPM_BUILD_ROOT%{_sbindir}/%{name}
42install -D %{name}.8 $RPM_BUILD_ROOT%{_mandir}/man8/%{name}.8
43
44install -d $RPM_BUILD_ROOT%{_libdir}/%{name}/scripts
4b5c7edb 45install scripts/debian/* $RPM_BUILD_ROOT%{_libdir}/%{name}/scripts
46install scripts/ubuntu/* $RPM_BUILD_ROOT%{_libdir}/%{name}/scripts
0f915043 47install pkgdetails functions $RPM_BUILD_ROOT%{_libdir}/%{name}
b0588a94 48install %{SOURCE1} $RPM_BUILD_ROOT%{_libdir}/%{name}/
0f915043 49echo %{_arch} >$RPM_BUILD_ROOT%{_libdir}/%{name}/arch
50
51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%files
55%defattr(644,root,root,755)
56%doc debian/README.Debian debian/copyright
57%attr(755,root,root) %{_sbindir}/%{name}
58%attr(755,root,root) %{_libdir}/%{name}/pkgdetails
59%{_mandir}/man?/%{name}.*
8f025928 60%dir %{_libdir}/%{name}
0f915043 61%{_libdir}/%{name}/scripts
62%{_libdir}/%{name}/functions
63%{_libdir}/%{name}/arch
b0588a94 64%{_libdir}/%{name}/devices.tar.gz
This page took 0.052286 seconds and 4 git commands to generate.