]> git.pld-linux.org Git - packages/fakechroot.git/blob - fakechroot.spec
- added doc and scripts to %doc
[packages/fakechroot.git] / fakechroot.spec
1 Summary:        Provides a fake chroot environment to programs
2 Name:           fakechroot
3 Version:        2.3
4 Release:        1
5 License:        GPL
6 Group:          Development/Tools
7 Source0:        http://ftp.debian.org/debian/pool/main/f/fakechroot/%{name}_%{version}.tar.gz
8 # Source0-md5:  9df72412f6a209a63bdac02d3088d604
9 URL:            http://fakechroot.alioth.debian.org/
10 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
11
12 %define         _libdir         %{_prefix}/%{_lib}/libfakechroot
13
14 %description
15 fakechroot provides a fake chroot environment to programs. A fake
16 chroot allows you to run programs which require root privileges on an
17 unprivileged user account. For example, you can create a Debian
18 bootstrap or a development environment and build packages inside a
19 chroot'ed system using a standard non-root user account. You can then
20 use the apt-get command to install other packages without root
21 privileges.
22
23 %prep
24 %setup -q
25
26 %build
27 %configure \
28         --disable-static
29 %{__make}
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33
34 %{__make} install \
35         DESTDIR=$RPM_BUILD_ROOT
36
37 install -d $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/scripts
38 cp -a doc/[!M]* $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
39 cp -a scripts/[!M]* $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/scripts
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %doc %{_docdir}/%{name}-%{version}/*
47 %attr(755,root,root) %{_bindir}/*
48 %dir %{_libdir}
49 %attr(755,root,root) %{_libdir}/libfakechroot.so
50 %{_mandir}/man1/*
This page took 0.050653 seconds and 4 git commands to generate.