]> git.pld-linux.org Git - packages/fakeroot.git/blob - fakeroot.spec
- rewrited in PLD style.
[packages/fakeroot.git] / fakeroot.spec
1 Summary:        Gives a fake root environment
2 Name:           fakeroot
3 Version:        0.4.4
4 Release:        1
5 %define         debver 9
6 License:        GPL
7 Group:          Development/Tools
8 Group(de):      Entwicklung/Werkzeuge
9 Group(fr):      Development/Outils
10 Group(pl):      Programowanie/Narzêdzia
11 Source0:        ftp://ftp.debian.org/debian/pool/main/f/fakeroot/%{name}_%{version}-%{debver}.tar.gz
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 This package is intended to enable something like: fakeroot rpm
16 --rebuild i.e. to remove the need to become root for a package
17 build. This is done by setting LD_PRELOAD to a "libfakeroot.so.0.0",
18 that provides wrappers around chown, chmod, mknod, stat, etc.
19
20 If you don't understand any of this, you do not need this!
21
22 %prep
23 %setup -q -n %{name}
24
25 %build
26 %configure
27 %{__make}
28
29 %install
30 rm -rf $RPM_BUILD_ROOT
31
32 %{__make} install DESTDIR=$RPM_BUILD_ROOT
33
34 gzip -9nf DEBUG
35
36 %clean
37 rm -rf $RPM_BUILD_ROOT
38
39 %files
40 %defattr(644,root,root,755)
41 %doc *.gz
42 %attr(755,root,root) %{_bindir}/*
43 %dir %{_libdir}/libfakeroot
44 %attr(755,root,root) %{_libdir}/libfakeroot/lib*so.*
45 %{_mandir}/man*/*
This page took 0.620901 seconds and 4 git commands to generate.