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