1 | Summary: Gives a fake root environment |
---|
2 | Summary(ja): 疑似 root 環境を提供するツール |
---|
3 | Name: fakeroot |
---|
4 | Version: 1.12.4 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | License: GPL+ |
---|
7 | Group: Development/Tools |
---|
8 | URL: http://fakeroot.alioth.debian.org/ |
---|
9 | Source0: http://ftp.debian.org/debian/pool/main/f/fakeroot/%{name}_%{version}.tar.gz |
---|
10 | |
---|
11 | BuildRoot: %{_tmppath}/%{name}-%{ver}-root |
---|
12 | BuildRequires: sharutils, util-linux-ng |
---|
13 | Requires: util-linux-ng |
---|
14 | |
---|
15 | %description |
---|
16 | Fakeroot gives a fake root environment. |
---|
17 | |
---|
18 | %prep |
---|
19 | %setup |
---|
20 | |
---|
21 | %build |
---|
22 | for type in sysv tcp; do |
---|
23 | mkdir obj-$type |
---|
24 | cd obj-$type |
---|
25 | cat >> configure << 'EOF' |
---|
26 | #! /bin/sh |
---|
27 | exec ../configure "$@" |
---|
28 | EOF |
---|
29 | chmod +x configure |
---|
30 | %configure \ |
---|
31 | --disable-dependency-tracking \ |
---|
32 | --disable-static \ |
---|
33 | --libdir=%{_libdir}/libfakeroot \ |
---|
34 | --with-ipc=$type \ |
---|
35 | --program-suffix=-$type |
---|
36 | make |
---|
37 | cd .. |
---|
38 | done |
---|
39 | |
---|
40 | %install |
---|
41 | rm -rf %{buildroot} |
---|
42 | for type in sysv tcp; do |
---|
43 | make -C obj-$type install libdir=%{_libdir}/libfakeroot DESTDIR=%{buildroot} |
---|
44 | chmod 644 %{buildroot}%{_libdir}/libfakeroot/libfakeroot-0.so |
---|
45 | mv %{buildroot}%{_libdir}/libfakeroot/libfakeroot-0.so \ |
---|
46 | %{buildroot}%{_libdir}/libfakeroot/libfakeroot-$type.so |
---|
47 | strip -s %{buildroot}%{_libdir}/libfakeroot/libfakeroot-$type.so |
---|
48 | rm -f %{buildroot}%{_libdir}/libfakeroot/libfakeroot.so |
---|
49 | rm -f %{buildroot}%{_libdir}/libfakeroot/libfakeroot.*a* |
---|
50 | done |
---|
51 | |
---|
52 | ln -s faked-tcp %{buildroot}%{_bindir}/faked |
---|
53 | ln -s fakeroot-tcp %{buildroot}%{_bindir}/fakeroot |
---|
54 | ln -s libfakeroot-tcp.so %{buildroot}%{_libdir}/libfakeroot/libfakeroot-0.so |
---|
55 | |
---|
56 | %clean |
---|
57 | rm -rf %buildroot |
---|
58 | |
---|
59 | %post |
---|
60 | /sbin/ldconfig -n %{_libdir}/libfakeroot |
---|
61 | |
---|
62 | %files |
---|
63 | %defattr(-,root,root,-) |
---|
64 | %doc COPYING AUTHORS BUGS DEBUG doc/README.saving debian/changelog |
---|
65 | %{_bindir}/faked-* |
---|
66 | %{_bindir}/faked |
---|
67 | %{_bindir}/fakeroot-* |
---|
68 | %{_bindir}/fakeroot |
---|
69 | %{_mandir}/man1/faked-*.1* |
---|
70 | %{_mandir}/man1/fakeroot-*.1* |
---|
71 | %lang(es) %{_mandir}/es/man1/faked-*.1* |
---|
72 | %lang(es) %{_mandir}/es/man1/fakeroot-*.1* |
---|
73 | %lang(fr) %{_mandir}/fr/man1/faked-*.1* |
---|
74 | %lang(fr) %{_mandir}/fr/man1/fakeroot-*.1* |
---|
75 | %lang(sv) %{_mandir}/sv/man1/faked-*.1* |
---|
76 | %lang(sv) %{_mandir}/sv/man1/fakeroot-*.1* |
---|
77 | %lang(nl) %{_mandir}/nl/man1/faked-*.1* |
---|
78 | %lang(nl) %{_mandir}/nl/man1/fakeroot-*.1* |
---|
79 | %dir %{_libdir}/libfakeroot |
---|
80 | %{_libdir}/libfakeroot/libfakeroot-*.so |
---|
81 | %{_libdir}/libfakeroot/libfakeroot-0.so |
---|
82 | |
---|
83 | |
---|
84 | %changelog |
---|
85 | * Tue Feb 22 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.12.4-1 |
---|
86 | - new upstream release |
---|
87 | - build with --with-ipc=tcp and --with-ipc=sysv, default is tcp. |
---|
88 | - fakeroot-{tcp,sysv} |
---|
89 | |
---|
90 | * Thu Sep 25 2008 Shu KONNO <owa@bg.wakwak.com> 1.5.10-1vl5 |
---|
91 | - applied new versioning policy, spec in utf-8 |
---|
92 | - removed *.la |
---|
93 | |
---|
94 | * Sun Jul 8 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.5.10-0vl1 |
---|
95 | - new upstream release |
---|
96 | - rebuilt with new toolchain |
---|
97 | |
---|
98 | * Wed Jun 18 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.3-0vl1 |
---|
99 | - build for Vine Linux |
---|