]> git.pld-linux.org Git - packages/fakeroot.git/blob - fakeroot.spec
5d1d37992be37bb1f8d31c00545d867e6d629da8
[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 Group(de):      Entwicklung/Werkzeuge
11 Group(fr):      Development/Outils
12 Group(pl):      Programowanie/Narzêdzia
13 Source0:        ftp://ftp.debian.org/debian/pool/main/f/fakeroot/%{name}_%{version}-%{debver}.tar.gz
14 Patch0:         %{name}-ac_fix.patch
15 BuildRequires:  libtool
16 BuildRequires:  autoconf
17 BuildRequires:  automake
18 BuildRequires:  libstdc++-devel
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
49 %build
50 rm missing
51 libtoolize --copy --force
52 aclocal
53 autoconf
54 automake -a -c
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.087469 seconds and 3 git commands to generate.