]> git.pld-linux.org Git - packages/fakeroot.git/blob - fakeroot.spec
7686885ab3be5cb814483f33ef81181a0e5beba4
[packages/fakeroot.git] / fakeroot.spec
1 Summary:        Gives a fake root environment
2 Summary(pl):    Umo¿liwia uzyskanie ,,podrobionego'' ¶rodowiska roota
3 Summary(pt_BR): Cria um falso ambiente de root
4 Name:           fakeroot
5 Version:        0.4.5
6 Release:        7
7 %define         debver 2.3
8 License:        GPL (see COPYING)
9 Group:          Development/Tools
10 Source0:        ftp://ftp.debian.org/debian/pool/main/f/fakeroot/%{name}_%{version}-%{debver}.tar.gz
11 # Source0-md5:  dfbd103e515ec41301936d439598c645
12 Patch0:         %{name}-ac_fix.patch
13 Patch1:         %{name}-amfix.patch
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  libstdc++-devel
17 BuildRequires:  libtool
18 Requires:       util-linux
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 This package is intended to enable something like: fakeroot rpm
23 --rebuild i.e. to remove the need to become root for a package
24 build. This is done by setting LD_PRELOAD to a "libfakeroot.so.0.0",
25 that provides wrappers around chown, chmod, mknod, stat, etc.
26
27 If you don't understand any of this, you do not need this!
28
29 %description -l pl
30 Pakiet w zamierzeniu pozwala na wykonanie operacji takich jak:
31 fakeroot rpm --rebuild by usun±æ potrzebê operowania z u¿ytkownika
32 root w celu zbudowania pakietu. Fakeroot wykorzystuje LD_PRELOAD,
33 któr± to zmienn± ustawia na "libfakeroot.so.0.0" - bibliotekê, która
34 dostarcza w³asne chown, chmod, mknod, stat itp.
35
36 Je¶li nie rozumiesz niczego z powy¿szych informacji to nie
37 potrzebujesz tego pakietu!
38
39 %description -l pt_BR
40 Este pacote permite a construção de pacotes por usuários sem
41 privilégios de root. Isso e' feito utilizando libfakeroot.so com
42 LD_PRELOAD, que prove implementacoes de getuid, chown, chmod, mknod,
43 stat e outros, criando um falso ambiente de root.
44
45 %prep
46 %setup -q -n %{name}-%{version}
47 %patch0 -p1
48 %patch1 -p1
49
50 %build
51 rm -f missing
52 %{__libtoolize}
53 %{__aclocal}
54 %{__autoconf}
55 %{__automake}
56 %configure
57 %{__make}
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61
62 %{__make} install DESTDIR=$RPM_BUILD_ROOT
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %post   -p /sbin/ldconfig
68 %postun -p /sbin/ldconfig
69
70 %files
71 %defattr(644,root,root,755)
72 %doc DEBUG AUTHORS COPYING README.fake BUGS debian/changelog
73 %attr(755,root,root) %{_bindir}/*
74 %dir %{_libdir}/libfakeroot
75 %attr(755,root,root) %{_libdir}/libfakeroot/lib*so.*
76 %{_mandir}/man*/*
This page took 0.104256 seconds and 3 git commands to generate.