I would like to get this package into factory. devel:tools seemed like the best devel project for it. OBS-URL: https://build.opensuse.org/request/show/116306 OBS-URL: https://build.opensuse.org/package/show/devel:tools/debootstrap?expand=0&rev=1
52 lines
1.2 KiB
RPMSpec
52 lines
1.2 KiB
RPMSpec
#
|
|
# This file and all modifications and additions to the pristine
|
|
# package are under the same license as the package itself.
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
Name: debootstrap
|
|
Version: 1.0.40
|
|
Release: 1
|
|
Summary: Bootstrap a basic Debian system
|
|
Group: Development/Tools/Other
|
|
Url: http://packages.debian.org/debootstrap
|
|
License: MIT
|
|
Source0: %{name}_%{version}.tar.gz
|
|
Source1: devices.tar.gz
|
|
Patch0: %{name}-norootforbuild.patch
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
AutoReqProv: on
|
|
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
|