Search
SailfishOS Open Build Service
>
Projects
>
home:plfiorini
:
maui:devel
:
x86_64
>
fakechroot
> _service:tar_git:fakechroot.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File _service:tar_git:fakechroot.spec of Package fakechroot
Summary: Gives a fake chroot environment Name: fakechroot Version: 2.9 Release: 1 License: LGPLv2+ Group: Development/Tools URL: http://fakechroot.alioth.debian.org/ Source0: http://ftp.debian.org/debian/pool/main/f/fakechroot/%{name}_%{version}.orig.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Requires: fakechroot-libs = %{version}-%{release} # Required for patch0: BuildRequires: autoconf, automake >= 1.10, libtool # Fix build problems with recent glibc. Sent upstream 20090414. Patch0: fakechroot-scandir.patch # Add FAKECHROOT_CMD_SUBST feature. # Sent upstream 20090413. Accepted upstream 20090418. Patch1: fakechroot-cmd-subst.patch # autogen script depends on a specific automake version, for no # real reason AFAICT. This means the package breaks everytime # a new version of automake is released. - RWMJ. Patch2: fakechroot-no-automake-version.patch # Add aarch64 support to autoconf scripts. Patch3: fakechroot-2.9-aarch64.patch %description fakechroot runs a command in an environment were is additionally possible to use the chroot(8) call without root privileges. This is useful for allowing users to create their own chrooted environment with possibility to install another packages without need for root privileges. %package libs Summary: Gives a fake chroot environment (libraries) Group: Development/Tools %description libs This package contains the libraries required by %{name}. %prep %setup -q %patch0 -p0 %patch1 -p0 %patch2 -p1 %patch3 -p1 # Patch0 updates autoconf, so rerun this: ./autogen.sh %build %configure \ --disable-dependency-tracking \ --disable-static make %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} %check #make check %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc LICENSE scripts/ldd.fake scripts/restoremode.sh scripts/savemode.sh %{_bindir}/fakechroot %{_mandir}/man1/fakechroot.1.gz %files libs %dir %{_libdir}/fakechroot %exclude %{_libdir}/fakechroot/libfakechroot.la %{_libdir}/fakechroot/libfakechroot.so