[2743] | 1 | Summary: Gives a fake chroot environment |
---|
| 2 | Summary(ja): 擬似 chroot 環境を提供するツール |
---|
| 3 | Name: fakechroot |
---|
| 4 | Version: 2.9 |
---|
| 5 | Release: 1%{?_dist_release} |
---|
| 6 | License: LGPLv2+ |
---|
| 7 | Group: Development/Tools |
---|
| 8 | URL: http://fakechroot.alioth.debian.org/ |
---|
| 9 | |
---|
| 10 | Source0: http://ftp.debian.org/debian/pool/main/f/fakechroot/%{name}_%{version}.orig.tar.gz |
---|
| 11 | |
---|
| 12 | # Fix build problems with recent glibc. Sent upstream 20090414. |
---|
| 13 | Patch0: fakechroot-scandir.patch |
---|
| 14 | |
---|
| 15 | # Add FAKECHROOT_CMD_SUBST feature. |
---|
| 16 | # Sent upstream 20090413. Accepted upstream 20090418. |
---|
| 17 | Patch1: fakechroot-cmd-subst.patch |
---|
| 18 | |
---|
| 19 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 20 | # Required for patch0: |
---|
| 21 | BuildRequires: autoconf, automake >= 1.10, libtool |
---|
| 22 | |
---|
| 23 | |
---|
| 24 | # autogen script depends on a specific automake version, for no |
---|
| 25 | # real reason AFAICT. This means the package breaks everytime |
---|
| 26 | # a new version of automake is released. - RWMJ. |
---|
| 27 | Patch2: fakechroot-no-automake-version.patch |
---|
| 28 | |
---|
| 29 | %description |
---|
| 30 | fakechroot runs a command in an environment were is additionally |
---|
| 31 | possible to use the chroot(8) call without root privileges. This is |
---|
| 32 | useful for allowing users to create their own chrooted environment |
---|
| 33 | with possibility to install another packages without need for root |
---|
| 34 | privileges. |
---|
| 35 | |
---|
| 36 | %prep |
---|
| 37 | %setup -q |
---|
| 38 | |
---|
| 39 | %patch0 -p0 |
---|
| 40 | %patch1 -p0 |
---|
| 41 | %patch2 -p1 |
---|
| 42 | |
---|
| 43 | # Patch0 updates autoconf, so rerun this: |
---|
| 44 | ./autogen.sh |
---|
| 45 | |
---|
| 46 | %build |
---|
| 47 | %configure \ |
---|
| 48 | --disable-dependency-tracking \ |
---|
| 49 | --disable-static |
---|
| 50 | make |
---|
| 51 | |
---|
| 52 | %install |
---|
| 53 | rm -rf %{buildroot} |
---|
| 54 | make install DESTDIR=%{buildroot} |
---|
| 55 | |
---|
| 56 | %check |
---|
| 57 | #make check |
---|
| 58 | |
---|
| 59 | %clean |
---|
| 60 | rm -rf %{buildroot} |
---|
| 61 | |
---|
| 62 | %files |
---|
| 63 | %defattr(-,root,root,-) |
---|
| 64 | %doc LICENSE scripts/ldd.fake scripts/restoremode.sh scripts/savemode.sh |
---|
| 65 | %{_bindir}/fakechroot |
---|
| 66 | %{_mandir}/man1/fakechroot.1.gz |
---|
| 67 | %dir %{_libdir}/fakechroot |
---|
| 68 | %exclude %{_libdir}/fakechroot/libfakechroot.la |
---|
| 69 | %{_libdir}/fakechroot/libfakechroot.so |
---|
| 70 | |
---|
| 71 | %changelog |
---|
| 72 | * Wed Feb 23 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.9-1 |
---|
| 73 | - initial build for Vine Linux |
---|
| 74 | |
---|
| 75 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.9-25 |
---|
| 76 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 77 | |
---|
| 78 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.9-24 |
---|
| 79 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 80 | |
---|
| 81 | * Fri Jun 12 2009 Richard W.M. Jones <rjones@redhat.com> - 2.9-23 |
---|
| 82 | - Added patch to remove test for specific version of automake. |
---|
| 83 | |
---|
| 84 | * Sat Apr 18 2009 Richard W.M. Jones <rjones@redhat.com> - 2.9-22 |
---|
| 85 | - FAKECHROOT_CMD_SUBST patch has now been accepted upstream. |
---|
| 86 | |
---|
| 87 | * Tue Apr 14 2009 Richard W.M. Jones <rjones@redhat.com> - 2.9-20 |
---|
| 88 | - Add fakechroot-scandir.patch to fix builds on Rawhide. |
---|
| 89 | |
---|
| 90 | * Tue Apr 14 2009 Axel Thimm <Axel.Thimm@ATrpms.net> - 2.9-19 |
---|
| 91 | - Update to 2.9. |
---|
| 92 | - Removed fakechroot-2.8-initsocketlen.patch (upstream now). |
---|
| 93 | - Removed int->ssize_t readlink type change (upstream testing for type |
---|
| 94 | now). |
---|
| 95 | - Removed permission fix for scripts/ldd.fake scripts/restoremode.sh |
---|
| 96 | scripts/savemode.sh (fixed upstream). |
---|
| 97 | |
---|
| 98 | * Wed Mar 18 2009 Richard W.M. Jones <rjones@redhat.com> - 2.8-18 |
---|
| 99 | - Create a fakeroot-libs subpackage so that the package is multilib aware. |
---|
| 100 | |
---|
| 101 | * Thu Jan 15 2009 Rakesh Pandit <rakesh@fedoraproject.org> 2.8-16 |
---|
| 102 | - Fixed URL |
---|
| 103 | |
---|
| 104 | * Sun Oct 5 2008 Axel Thimm <Axel.Thimm@ATrpms.net> - 2.8-15 |
---|
| 105 | - Fix getpeername/getsockname socklen initialization. |
---|
| 106 | |
---|
| 107 | * Sun Aug 24 2008 Axel Thimm <Axel.Thimm@ATrpms.net> - 2.8-14 |
---|
| 108 | - %%check || : does not work anymore. |
---|
| 109 | |
---|
| 110 | * Sun Aug 3 2008 Axel Thimm <Axel.Thimm@ATrpms.net> - 2.8-13 |
---|
| 111 | - Update to 2.8. |
---|
| 112 | |
---|
| 113 | * Mon Jan 1 2007 Axel Thimm <Axel.Thimm@ATrpms.net> - 2.5-12 |
---|
| 114 | - Remove executable bits from scripts in documentation. |
---|
| 115 | |
---|
| 116 | * Sun Dec 31 2006 Axel Thimm <Axel.Thimm@ATrpms.net> - 2.5-11 |
---|
| 117 | - Add %%{_libdir}/fakechroot to %%files. |
---|
| 118 | - Fix license (is LGPL, not GPL). |
---|
| 119 | - Add commented %%check (currently broken). |
---|
| 120 | - Add ldd.fake and save/restoremode.sh to %%doc |
---|
| 121 | |
---|
| 122 | * Fri Dec 29 2006 Axel Thimm <Axel.Thimm@ATrpms.net> - 2.5-10 |
---|
| 123 | - Extend the %%description a bit. |
---|
| 124 | |
---|
| 125 | * Thu Dec 28 2006 Axel Thimm <Axel.Thimm@ATrpms.net> - 2.5-9 |
---|
| 126 | - Don't build static lib. |
---|
| 127 | - Exclude libtool lib. |
---|
| 128 | |
---|
| 129 | * Thu Nov 24 2005 Axel Thimm <Axel.Thimm@ATrpms.net> |
---|
| 130 | - Update to 2.5. |
---|
| 131 | |
---|
| 132 | * Sat Sep 17 2005 Axel Thimm <Axel.Thimm@ATrpms.net> |
---|
| 133 | - Update to 2.4. |
---|
| 134 | |
---|
| 135 | * Sun Jul 3 2005 Axel Thimm <Axel.Thimm@ATrpms.net> |
---|
| 136 | - Update to 0.9+1.3. |
---|
| 137 | |
---|
| 138 | * Sun Feb 6 2005 Axel Thimm <Axel.Thimm@ATrpms.net> |
---|
| 139 | - Update to 0.5+1.2.4. |
---|
| 140 | |
---|
| 141 | * Sun Jan 25 2004 Axel Thimm <Axel.Thimm@ATrpms.net> |
---|
| 142 | - Initial build. |
---|