Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:coolspirit86
debootstrap
debootstrap.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File debootstrap.spec of Package debootstrap
%define __spec_install_post %{nil} Name: debootstrap Group: Development/Languages Version: 1.0.23 Release: 1 License: MIT style Summary: Bootstrap a basic Debian system #Autoreqprov: on Source: http://archive.ubuntulinux.org/ubuntu/pool/main/d/debootstrap/%{name}_%{version}.tar.gz BuildRoot:%{_tmppath}/%{name}-%{version}-build Requires: gettext, wget, tar, gzip, binutils BuildRequires: makedev 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. %package -n debootstrap-udeb Summary: Bootstrap the Debian system Group: Development/Languages Requires: mounted-partitions %description -n debootstrap-udeb %prep rm -rf %{name}-%{version} %setup -q -n %{name} #%setup -D -T -n %{name}-%{version} #/usr/lib/deb2suse/bin/fix-rules %build sed -i -e 's;/usr/sbin;%{_sbindir};' Makefile sed -i -e 's|std ptmx fd consoleonly| -d ./ std pty fd console|' Makefile sed -i -e 's|install -o root -g root|install|' Makefile sed -i -e 's|chown 0:0 dev||' Makefile make %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_datadir}/debootstrap install -d $RPM_BUILD_ROOT%{_datadir}/debootstrap/scripts/ install -d $RPM_BUILD_ROOT%{_sbindir} install -d $RPM_BUILD_ROOT%{_mandir}/man8 install -p -m 0644 debootstrap.8 $RPM_BUILD_ROOT%{_mandir}/man8 make install DESTDIR=$RPM_BUILD_ROOT \ VERSION="%{version}-%{release}" \ DSDIR=$RPM_BUILD_ROOT%{_datadir}/debootstrap # substitute the rpm macro path sed -i -e 's;/usr/share;%{_datadir};' $RPM_BUILD_ROOT%{_sbindir}/debootstrap # correct the debootstrap script timestamp touch -r debootstrap $RPM_BUILD_ROOT%{_sbindir}/debootstrap %files %defattr(-,root,root,-) %{_datadir}/debootstrap %{_sbindir}/debootstrap %{_mandir}/man8/debootstrap.8* %doc debian/changelog debian/copyright %clean rm -rf $RPM_BUILD_ROOT %changelog * Tue Jul 15 2008 Lubomir Rintel <lkundrak@v3.sk> - 1.0.10-1 - New upstream version
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor