]> git.pld-linux.org Git - packages/distcc.git/commitdiff
- initial pld release RA-1_0 distcc-0_12-1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 12 Oct 2002 16:00:36 +0000 (16:00 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    distcc.spec -> 1.1

distcc.spec [new file with mode: 0644]

diff --git a/distcc.spec b/distcc.spec
new file mode 100644 (file)
index 0000000..091ba11
--- /dev/null
@@ -0,0 +1,67 @@
+Summary:       Program to distribute compilation of C or C++
+Summary(pl):   Program do dystrybuowania kompilacji C lub C++
+Name:          distcc
+Group:         Development/Languages
+Version:       0.12
+Release:       1
+License:       GPL
+URL:           http://distcc.samba.org
+Source0:       http://distcc.samba.org/ftp/distcc/%{name}-%{version}.tar.gz
+Source1:       %{name}.inetd
+Requires:      gcc
+Requires:      gcc-c++
+Requires:      inetdaemon
+BuildRequires: popt-devel
+Prereq:         /sbin/chkconfig
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+distcc is a program to distribute compilation of C or C++ code across
+several machines on a network. distcc should always generate the same
+results as a local compile, is simple to install and use, and is often
+two or more times faster than a local compile.
+
+%description -l pl
+distcc jest programem pozwalaj±cym na dystrybucjê kompilacji C lub C++
+na kilka maszyn w sieci. distcc powinien zawsze generowaæ takie same
+rezultaty jak lokalna kompilacja, jest prosty w instalacji i u¿yciu
+oraz bardzo czêsto dwa lub wiêcej razy szybszy ni¿ lokalna kompilacja.
+
+%prep
+%setup -q
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd
+
+%{makeinstall}
+install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/distccd
+
+%post
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+if [ -f /var/lock/subsys/rc-inetd ]; then
+        /etc/rc.d/init.d/rc-inetd reload 1>&2
+else
+        echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet server" 1>&2
+fi
+
+%postun
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+if [ -f /var/lock/subsys/rc-inetd ]; then
+        /etc/rc.d/init.d/rc-inetd reload
+fi
+
+%clean
+rm -rf ${RPM_BUILD_ROOT}
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS NEWS OLDNEWS README
+%attr(755,root,root) %{_bindir}/*
+%attr(644,root,root) %{_mandir}/man?/*
+%attr(640,root,root) /etc/sysconfig/rc-inetd/distccd
+%{_infodir}/distcc*
This page took 0.110674 seconds and 4 git commands to generate.