Sisyphus repositório
Última atualização: 27 janeiro 2021 | SRPMs: 17788 | Visitas: 20152364
en ru br
ALT Linux repositórios
4.0: 2.6-alt1

Group :: Desenvolvimento/Outros
RPM: fakechroot

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define fakeroot 1.1.5
Name: fakechroot
Release: alt3

Summary: Run a command in an environment faking root privileges for file manipulation
License: GPL
Group: Development/Other

Source: %{name}-%version+%fakeroot.tar.bz2
Patch0: fakechroot-
Patch1: fakechroot-
Patch2: fakechroot-

BuildPreReq: sharutils

# Automatically added by buildreq on Tue Nov 23 2004

BuildRequires: gcc-c++ libstdc++-devel

fakeroot runs a command in an environment were it appears to have root
privileges for file manipulation.  This is useful for allowing users to
createarchives (tar, ar, .rpm etc.) with files in them with root
permissions/ownership.  Without fakeroot one would have to have root
privileges to create the constituent files of the archives with the
correct permissions and ownership, and then pack them up, or one would
have to construct the archives directly, without using the archiver.

%package -n lib%name
Summary: libfakechroot allow fake chroot() for fakeroot environment.
Group: Development/Other
Requires: fakeroot

%description -n lib%name
libfakechroot allow fake chroot() for fakeroot environment.

%setup -q -n %{name}-%version+%fakeroot
%patch0 -p1
%patch1 -p1
%patch2 -p1

%__grep -FZrl sys: test |
xargs -r0 %__subst -p "s/sys:/bin:/g" --
%__grep -FZrl :sys test |
xargs -r0 %__subst -p "s/:sys/:bin/g" --
autoreconf -fisv
%configure --libdir=%_libdir/libfakeroot --enable-static=no
%{!?__buildreqs:%{!?_without_check:%{!?_disable_check:%make_build check}}}

%makeinstall libdir=%buildroot%_libdir/libfakechroot
find %buildroot%_libdir -type f -name \*.la -print -delete

%files -n lib%name


Todas as alterações você pod ver aqui

projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009