9aee50a
Name:           fakechroot
ce10e2e
Version:        2.19
3cad9d1
Release:        4%{?dist}
9aee50a
Summary:        Gives a fake chroot environment
9aee50a
License:        LGPLv2+
9aee50a
URL:            https://github.com/dex4er/fakechroot
Igor Gnatenko b915f0b
Source0:        %{url}/archive/%{version}/%{name}-%{version}.tar.gz
3cad9d1
# https://github.com/dex4er/fakechroot/pull/50
3cad9d1
Patch0:         0001-Add-support-of-LFS-compatible-fts-functions.patch
Igor Gnatenko b915f0b
Igor Gnatenko b915f0b
Requires:       %{name}-libs%{?_isa} = %{version}-%{release}
3cad9d1
BuildRequires:  autoconf
3cad9d1
BuildRequires:  automake
3cad9d1
BuildRequires:  libtool
3cad9d1
BuildRequires:  gcc
9aee50a
# Required for manpage
9aee50a
BuildRequires:  /usr/bin/pod2man
6d88e98
BuildRequires:  perl-generators
9aee50a
# ldd.fakechroot
9aee50a
Requires:       /usr/bin/objdump
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
9aee50a
%package        libs
9aee50a
Summary:        Libraries of %{name}
c568cf0
9aee50a
%description    libs
c568cf0
This package contains the libraries required by %{name}.
c568cf0
b472822
%prep
Igor Gnatenko b915f0b
%autosetup -p1
9aee50a
# For %%doc dependency-clean.
9aee50a
chmod -x scripts/{relocatesymlinks,restoremode,savemode}.sh
33705f2
b472822
%build
3cad9d1
autoreconf -vfi
9aee50a
%configure --disable-static --disable-silent-rules
9aee50a
%make_build
b472822
b472822
%install
9aee50a
%make_install
Igor Gnatenko b915f0b
# Drop libtool files
Igor Gnatenko b915f0b
find %{buildroot}%{_libdir} -name '*.la' -delete -print
b472822
ba87674
%check
Igor Gnatenko b915f0b
make %{?_smp_mflags} check
b472822
b472822
%files
9aee50a
%doc scripts/{relocatesymlinks,restoremode,savemode}.sh
ce10e2e
%doc NEWS.md README.md THANKS.md
9aee50a
%license COPYING LICENSE
Igor Gnatenko b915f0b
%{_bindir}/%{name}
Igor Gnatenko b915f0b
%{_bindir}/env.%{name}
Igor Gnatenko b915f0b
%{_bindir}/ldd.%{name}
Igor Gnatenko b915f0b
%{_sbindir}/chroot.%{name}
Igor Gnatenko b915f0b
%dir %{_sysconfdir}/%{name}/
Igor Gnatenko b915f0b
%config(noreplace) %{_sysconfdir}/%{name}/chroot.env
Igor Gnatenko b915f0b
%config(noreplace) %{_sysconfdir}/%{name}/debootstrap.env
Igor Gnatenko b915f0b
%config(noreplace) %{_sysconfdir}/%{name}/rinse.env
Igor Gnatenko b915f0b
%{_mandir}/man1/%{name}.1*
c568cf0
c568cf0
%files libs
Igor Gnatenko b915f0b
%{_libdir}/%{name}/
b472822
b472822
%changelog
3cad9d1
* Mon Aug 21 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.19-4
3cad9d1
- Add support for LFS
3cad9d1
dda5fa9
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.19-3
dda5fa9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
dda5fa9
82f1f26
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.19-2
82f1f26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
82f1f26
ce10e2e
* Tue Feb 07 2017 Sérgio Basto <sergio@serjux.com> - 2.19-1
ce10e2e
- Update fakechroot to 2.19 (#1396855)
ce10e2e
Igor Gnatenko b915f0b
* Wed May 18 2016 Igor Gnatenko <ignatenko@redhat.com> - 2.18-1
Igor Gnatenko b915f0b
- Update to 2.18
Igor Gnatenko b915f0b
7b90ebd
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.17.2-3
7b90ebd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
7b90ebd
2a5886e
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.17.2-2
2a5886e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2a5886e
9aee50a
* Mon Mar 02 2015 Christopher Meng <rpm@cicku.me> - 2.17.2-1
9aee50a
- Update to 2.17.2
9aee50a
d2690ee
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.9-32
d2690ee
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
d2690ee
3e02683
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.9-31
3e02683
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
3e02683
58ad431
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.9-30
58ad431
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
58ad431
8f1b202
* Mon Feb 25 2013 Ralf Corsépius <corsepiu@fedoraproject.org> - 2.9-29
8f1b202
- Add BR: /usr/bin/pod2man (Fix FTBFS #913997).
8f1b202
bd63d48
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.9-28
bd63d48
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
bd63d48
974480d
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.9-27
974480d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
974480d
86899dd
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.9-26
86899dd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
86899dd
84691ea
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.9-25
84691ea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
84691ea
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.