auto-import fakechroot-2.5-12.at on branch devel from

fakechroot-2.5-12.at.src.rpm
This commit is contained in:
athimm 2007-01-01 21:08:17 +00:00
parent 792742746f
commit b47282212f
3 changed files with 81 additions and 0 deletions

View File

@ -0,0 +1 @@
fakechroot_2.5.orig.tar.gz

79
fakechroot.spec Normal file
View File

@ -0,0 +1,79 @@
Summary: Gives a fake chroot environment
Name: fakechroot
Version: 2.5
Release: 12%{?dist}
License: LGPL
Group: Development/Tools
URL: http://packages.debian.org/unstable/utils/fakechroot.html
Source0: http://ftp.debian.org/debian/pool/main/f/fakechroot/%{name}_%{version}.orig.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
%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.
%prep
%setup -q
perl -pi -e's,int readlink,ssize_t readlink,' src/libfakechroot.c
chmod -x scripts/ldd.fake scripts/restoremode.sh scripts/savemode.sh
%build
%configure \
--disable-dependency-tracking \
--disable-static
make
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
%check || :
#currently broken: No rule to make target `t.pwd'
#make check
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc LICENSE scripts/ldd.fake scripts/restoremode.sh scripts/savemode.sh
%{_bindir}/fakechroot
%dir %{_libdir}/fakechroot
%exclude %{_libdir}/fakechroot/libfakechroot.la
%{_libdir}/fakechroot/libfakechroot.so
%{_mandir}/man1/fakechroot.1.gz
%changelog
* Mon Jan 1 2007 Axel Thimm <Axel.Thimm@ATrpms.net> - 2.5-12
- Remove executable bits from scripts in documentation.
* Sun Dec 31 2006 Axel Thimm <Axel.Thimm@ATrpms.net> - 2.5-11
- Add %%{_libdir}/fakechroot to %%files.
- Fix license (is LGPL, not GPL).
- Add commented %%check (currently broken).
- Add ldd.fake and save/restoremode.sh to %%doc
* Fri Dec 29 2006 Axel Thimm <Axel.Thimm@ATrpms.net> - 2.5-10
- Extend the %%description a bit.
* Thu Dec 28 2006 Axel Thimm <Axel.Thimm@ATrpms.net> - 2.5-9
- Don't build static lib.
- Exclude libtool lib.
* Thu Nov 24 2005 Axel Thimm <Axel.Thimm@ATrpms.net>
- Update to 2.5.
* Sat Sep 17 2005 Axel Thimm <Axel.Thimm@ATrpms.net>
- Update to 2.4.
* Sun Jul 3 2005 Axel Thimm <Axel.Thimm@ATrpms.net>
- Update to 0.9+1.3.
* Sun Feb 6 2005 Axel Thimm <Axel.Thimm@ATrpms.net>
- Update to 0.5+1.2.4.
* Sun Jan 25 2004 Axel Thimm <Axel.Thimm@ATrpms.net>
- Initial build.

View File

@ -0,0 +1 @@
b885951b98f4316f9686699e9853513d fakechroot_2.5.orig.tar.gz