b472822
Summary: Gives a fake chroot environment
b472822
Name: fakechroot
28a117e
Version: 2.9
305497f
Release: 24%{?dist}
973ddc0
License: LGPLv2+
b472822
Group: Development/Tools
c59901a
URL: http://fakechroot.alioth.debian.org/
b472822
Source0: http://ftp.debian.org/debian/pool/main/f/fakechroot/%{name}_%{version}.orig.tar.gz
b472822
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
c568cf0
Requires: fakechroot-libs = %{version}-%{release}
b472822
33705f2
# Required for patch0:
7759174
BuildRequires: autoconf, automake >= 1.10, libtool
33705f2
33705f2
# Fix build problems with recent glibc.  Sent upstream 20090414.
33705f2
Patch0: fakechroot-scandir.patch
33705f2
156e891
# Add FAKECHROOT_CMD_SUBST feature.
156e891
# Sent upstream 20090413.  Accepted upstream 20090418.
b318423
Patch1: fakechroot-cmd-subst.patch
156e891
7759174
# autogen script depends on a specific automake version, for no
7759174
# real reason AFAICT.  This means the package breaks everytime
7759174
# a new version of automake is released. - RWMJ.
7759174
Patch2: fakechroot-no-automake-version.patch
7759174
b472822
%description
b472822
fakechroot runs a command in an environment were is additionally
b472822
possible to use the chroot(8) call without root privileges. This is
b472822
useful for allowing users to create their own chrooted environment
b472822
with possibility to install another packages without need for root
b472822
privileges.
b472822
c568cf0
%package libs
c568cf0
Summary: Gives a fake chroot environment (libraries)
c568cf0
Group: Development/Tools
c568cf0
c568cf0
%description libs
c568cf0
This package contains the libraries required by %{name}.
c568cf0
b472822
%prep
b472822
%setup -q
b472822
33705f2
%patch0 -p0
156e891
%patch1 -p0
7759174
%patch2 -p1
33705f2
33705f2
# Patch0 updates autoconf, so rerun this:
33705f2
./autogen.sh
33705f2
b472822
%build
b472822
%configure \
b472822
  --disable-dependency-tracking \
b472822
  --disable-static
b472822
make
b472822
b472822
%install
b472822
rm -rf %{buildroot}
b472822
make install DESTDIR=%{buildroot}
b472822
ba87674
%check
156e891
#make check
b472822
b472822
%clean
b472822
rm -rf %{buildroot}
b472822
b472822
%files
b472822
%defattr(-,root,root,-)
b472822
%doc LICENSE scripts/ldd.fake scripts/restoremode.sh scripts/savemode.sh
b472822
%{_bindir}/fakechroot
c568cf0
%{_mandir}/man1/fakechroot.1.gz
c568cf0
c568cf0
%files libs
b472822
%dir %{_libdir}/fakechroot
b472822
%exclude %{_libdir}/fakechroot/libfakechroot.la
b472822
%{_libdir}/fakechroot/libfakechroot.so
b472822
b472822
%changelog
305497f
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.9-24
305497f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
305497f
7759174
* Fri Jun 12 2009 Richard W.M. Jones <rjones@redhat.com> - 2.9-23
7759174
- Added patch to remove test for specific version of automake.
7759174
b318423
* Sat Apr 18 2009 Richard W.M. Jones <rjones@redhat.com> - 2.9-22
156e891
- FAKECHROOT_CMD_SUBST patch has now been accepted upstream.
156e891
33705f2
* Tue Apr 14 2009 Richard W.M. Jones <rjones@redhat.com> - 2.9-20
33705f2
- Add fakechroot-scandir.patch to fix builds on Rawhide.
33705f2
28a117e
* Tue Apr 14 2009 Axel Thimm <Axel.Thimm@ATrpms.net> - 2.9-19
28a117e
- Update to 2.9.
28a117e
- Removed fakechroot-2.8-initsocketlen.patch (upstream now).
28a117e
- Removed int->ssize_t readlink type change (upstream testing for type
28a117e
  now).
28a117e
- Removed permission fix for scripts/ldd.fake scripts/restoremode.sh
28a117e
  scripts/savemode.sh (fixed upstream).
28a117e
c568cf0
* Wed Mar 18 2009 Richard W.M. Jones <rjones@redhat.com> - 2.8-18
c568cf0
- Create a fakeroot-libs subpackage so that the package is multilib aware.
c7bebf5
c59901a
* Thu Jan 15 2009 Rakesh Pandit <rakesh@fedoraproject.org> 2.8-16
c59901a
- Fixed URL
c59901a
1f32b23
* Sun Oct  5 2008 Axel Thimm <Axel.Thimm@ATrpms.net> - 2.8-15
1f32b23
- Fix getpeername/getsockname socklen initialization.
1f32b23
ba87674
* Sun Aug 24 2008 Axel Thimm <Axel.Thimm@ATrpms.net> - 2.8-14
ba87674
- %%check || : does not work anymore.
ba87674
9cece6b
* Sun Aug  3 2008 Axel Thimm <Axel.Thimm@ATrpms.net> - 2.8-13
9cece6b
- Update to 2.8.
24bb56f
b472822
* Mon Jan  1 2007 Axel Thimm <Axel.Thimm@ATrpms.net> - 2.5-12
b472822
- Remove executable bits from scripts in documentation.
b472822
b472822
* Sun Dec 31 2006 Axel Thimm <Axel.Thimm@ATrpms.net> - 2.5-11
b472822
- Add %%{_libdir}/fakechroot to %%files.
b472822
- Fix license (is LGPL, not GPL).
b472822
- Add commented %%check (currently broken).
b472822
- Add ldd.fake and save/restoremode.sh to %%doc
b472822
b472822
* Fri Dec 29 2006 Axel Thimm <Axel.Thimm@ATrpms.net> - 2.5-10
b472822
- Extend the %%description a bit.
b472822
b472822
* Thu Dec 28 2006 Axel Thimm <Axel.Thimm@ATrpms.net> - 2.5-9
b472822
- Don't build static lib.
b472822
- Exclude libtool lib.
b472822
b472822
* Thu Nov 24 2005 Axel Thimm <Axel.Thimm@ATrpms.net>
b472822
- Update to 2.5.
b472822
b472822
* Sat Sep 17 2005 Axel Thimm <Axel.Thimm@ATrpms.net>
b472822
- Update to 2.4.
b472822
b472822
* Sun Jul  3 2005 Axel Thimm <Axel.Thimm@ATrpms.net>
b472822
- Update to 0.9+1.3.
b472822
b472822
* Sun Feb  6 2005 Axel Thimm <Axel.Thimm@ATrpms.net>
b472822
- Update to 0.5+1.2.4.
b472822
b472822
* Sun Jan 25 2004 Axel Thimm <Axel.Thimm@ATrpms.net>
b472822
- Initial build.