2012-05-03 07:44:03 +00:00
|
|
|
#
|
2012-05-10 23:23:23 +00:00
|
|
|
# spec file for package debootstrap
|
2012-05-03 07:44:03 +00:00
|
|
|
#
|
2015-03-21 11:29:27 +00:00
|
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
2012-05-10 23:23:23 +00:00
|
|
|
# Copyright (c) 2012 Frank Lichtenheld <frank@lichtenheld.de>
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2012-05-03 07:44:03 +00:00
|
|
|
|
2012-05-10 23:23:23 +00:00
|
|
|
Name: debootstrap
|
2015-03-21 11:29:27 +00:00
|
|
|
Version: 1.0.67
|
2012-05-10 23:23:23 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Bootstrap a basic Debian system
|
|
|
|
License: MIT
|
|
|
|
Group: Development/Tools/Other
|
2015-03-21 11:29:27 +00:00
|
|
|
Url: https://packages.debian.org/debootstrap
|
|
|
|
Source0: http://http.debian.net/debian/pool/main/d/%{name}/%{name}_%{version}.tar.gz
|
2012-05-10 23:23:23 +00:00
|
|
|
Source1: devices.tar.gz
|
|
|
|
Patch0: %{name}-norootforbuild.patch
|
2012-05-03 07:44:03 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2012-05-10 23:23:23 +00:00
|
|
|
BuildArch: noarch
|
2012-05-03 07:44:03 +00:00
|
|
|
|
|
|
|
%description
|
2012-05-03 19:16:54 +00:00
|
|
|
debootstrap is used to create a Debian base system from scratch,
|
|
|
|
without requiring the availability of dpkg or apt. It does this
|
|
|
|
by downloading .deb files from a mirror site, and carefully
|
|
|
|
unpacking them into a directory which can eventually be chrooted
|
|
|
|
into.
|
2012-05-03 07:44:03 +00:00
|
|
|
|
|
|
|
%prep
|
2015-03-21 11:29:27 +00:00
|
|
|
%setup -q
|
2012-05-03 07:44:03 +00:00
|
|
|
%patch0 -p1
|
2015-03-21 11:29:27 +00:00
|
|
|
cp -f %{SOURCE1} .
|
2012-05-03 07:44:03 +00:00
|
|
|
|
|
|
|
%build
|
2015-03-21 11:29:27 +00:00
|
|
|
# Nothing to build.
|
2012-05-03 07:44:03 +00:00
|
|
|
|
|
|
|
%install
|
2015-03-21 11:29:27 +00:00
|
|
|
%make_install
|
|
|
|
install -Dm 0644 %{name}.8 %{buildroot}%{_mandir}/man8/%{name}.8
|
2012-05-03 07:44:03 +00:00
|
|
|
|
|
|
|
%files
|
2015-03-21 11:29:27 +00:00
|
|
|
%defattr(-,root,root)
|
2012-05-03 07:44:03 +00:00
|
|
|
%doc README TODO debian/changelog debian/copyright
|
2015-03-21 11:29:27 +00:00
|
|
|
%{_sbindir}/%{name}
|
|
|
|
%{_datadir}/%{name}/
|
|
|
|
%{_mandir}/man?/%{name}.?%{?ext_man}
|
2012-05-03 07:44:03 +00:00
|
|
|
|
|
|
|
%changelog
|