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