debootstrap/debootstrap.spec
Frank Lichtenheld 1216aee690 - update to 1.0.43
* Add (Ubuntu) raring as a symlink to gutsy.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/debootstrap?expand=0&rev=8
2012-11-05 21:15:04 +00:00

67 lines
2.0 KiB
RPMSpec

#
# spec file for package debootstrap
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# 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/
#
Name: debootstrap
Version: 1.0.43
Release: 0
Summary: Bootstrap a basic Debian system
License: MIT
Group: Development/Tools/Other
Url: http://packages.debian.org/debootstrap
Source0: http://ftp.de.debian.org/debian/pool/main/d/debootstrap/%{name}_%{version}.tar.gz
Source1: devices.tar.gz
Patch0: %{name}-norootforbuild.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
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.
Authors:
--------
Anthony Towns
%prep
%setup
%patch0 -p1
%build
cp %{SOURCE1} .
%install
%{__make} install DESTDIR=%{?buildroot}
gzip -9 debootstrap.8
install -D -m644 debootstrap.8.gz %{buildroot}/%{_mandir}/man8/debootstrap.8.gz
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,0755)
%doc README TODO debian/changelog debian/copyright
%{_sbindir}/debootstrap
%{_datadir}/debootstrap
%{_mandir}/man8/debootstrap.8.gz
%changelog