fakechroot-vl.spec 4.3 KB

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