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