Группа :: Разработка/Прочее
Пакет: fakeroot
Главная Изменения Спек Патчи Загрузить Bugs and FR
Name: fakeroot
Version: 1.2
Release: alt3.M24.1
Packager: Dmitry V. Levin <ldv at altlinux.org>
Summary: Run a command in an environment faking root privileges for file manipulation
License: GPL
Group: Development/Other
Url: http://packages.debian.org/%name
# ftp://ftp.debian.org/debian/pool/main/f/%name/%{name}_%version.tar.bz2
Source: %name-%version.tar.bz2
Patch1: %name-0.7.3-alt-test.patch
Patch2: %name-1.2-alt-script-fixes.patch
Patch3: %name-1.2-alt-versioning.patch
Requires: getopt
BuildPreReq: sharutils, gcc-c++
%description
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.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
%build
%__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
%make_build LIBCPATH=/%_lib/libc.so.6
%{!?__buildreqs:%{!?_without_check:%{!?_disable_check:%make_build check}}}
%__bzip2 -9fk debian/changelog
%install
%makeinstall libdir=%buildroot%_libdir/libfakeroot
find %buildroot%_libdir -type f -name \*.la -delete -print
%files
%_bindir/*
%_libdir/libfakeroot
%_mandir/man?/*
%doc debian/changelog.bz2 doc/README* DEBUG
%changelog
…
Полный changelog можно просмотреть здесь
Version: 1.2
Release: alt3.M24.1
Packager: Dmitry V. Levin <ldv at altlinux.org>
Summary: Run a command in an environment faking root privileges for file manipulation
License: GPL
Group: Development/Other
Url: http://packages.debian.org/%name
# ftp://ftp.debian.org/debian/pool/main/f/%name/%{name}_%version.tar.bz2
Source: %name-%version.tar.bz2
Patch1: %name-0.7.3-alt-test.patch
Patch2: %name-1.2-alt-script-fixes.patch
Patch3: %name-1.2-alt-versioning.patch
Requires: getopt
BuildPreReq: sharutils, gcc-c++
%description
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.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
%build
%__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
%make_build LIBCPATH=/%_lib/libc.so.6
%{!?__buildreqs:%{!?_without_check:%{!?_disable_check:%make_build check}}}
%__bzip2 -9fk debian/changelog
%install
%makeinstall libdir=%buildroot%_libdir/libfakeroot
find %buildroot%_libdir -type f -name \*.la -delete -print
%files
%_bindir/*
%_libdir/libfakeroot
%_mandir/man?/*
%doc debian/changelog.bz2 doc/README* DEBUG
%changelog
…
Полный changelog можно просмотреть здесь