1 Summary: Program to distribute compilation of C or C++
2 Summary(pl): Program do rozdzielania kompilacji programów w C lub C++
4 Group: Development/Languages
8 URL: http://distcc.samba.org
9 Source0: http://distcc.samba.org/ftp/distcc/%{name}-%{version}.tar.bz2
10 Source1: %{name}.inetd
13 Patch0: %{name}-user.patch
14 Patch1: %{name}-hostfile.patch
15 Patch2: %{name}-hostopt.patch
16 Patch3: %{name}d-version.patch
20 BuildRequires: popt-devel
21 Prereq: /sbin/chkconfig
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 distcc is a program to distribute compilation of C or C++ code across
26 several machines on a network. distcc should always generate the same
27 results as a local compile, is simple to install and use, and is often
28 two or more times faster than a local compile.
31 distcc jest programem pozwalaj±cym na dystrybucjê kompilacji C lub C++
32 na kilka maszyn w sieci. distcc powinien zawsze generowaæ takie same
33 rezultaty jak lokalna kompilacja, jest prosty w instalacji i u¿yciu
34 oraz bardzo czêsto dwa lub wiêcej razy szybszy ni¿ lokalna kompilacja.
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd \
51 $RPM_BUILD_ROOT/etc/profile.d
54 install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/distccd
55 install %{SOURCE2} %{SOURCE3} $RPM_BUILD_ROOT/etc/profile.d
58 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
59 if [ -f /var/lock/subsys/rc-inetd ]; then
60 /etc/rc.d/init.d/rc-inetd reload 1>&2
62 echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet server" 1>&2
66 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
67 if [ -f /var/lock/subsys/rc-inetd ]; then
68 /etc/rc.d/init.d/rc-inetd reload
72 rm -rf ${RPM_BUILD_ROOT}
75 %defattr(644,root,root,755)
76 %doc AUTHORS NEWS README linuxdoc/html/*
77 %attr(755,root,root) %{_bindir}/*
78 %attr(644,root,root) %{_mandir}/man?/*
79 %attr(640,root,root) /etc/sysconfig/rc-inetd/distccd
80 %attr(644,root,root) /etc/profile.d/*sh