SPECS: distcc.spec - updated to 3.0 (parallel preprocessing support) - incl...

adamg adamg at pld-linux.org
Thu Aug 7 17:09:01 CEST 2008


Author: adamg                        Date: Thu Aug  7 15:09:01 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 3.0 (parallel preprocessing support)
- include_server package
- as-needed.patch no longer needed

---- Files affected:
SPECS:
   distcc.spec (1.99 -> 1.100) 

---- Diffs:

================================================================
Index: SPECS/distcc.spec
diff -u SPECS/distcc.spec:1.99 SPECS/distcc.spec:1.100
--- SPECS/distcc.spec:1.99	Sun Nov 18 19:21:49 2007
+++ SPECS/distcc.spec	Thu Aug  7 17:08:55 2008
@@ -6,12 +6,12 @@
 Summary:	Program to distribute compilation of C or C++
 Summary(pl.UTF-8):	Program do rozdzielania kompilacji programów w C lub C++
 Name:		distcc
-Version:	2.18.3
-Release:	3
+Version:	3.0
+Release:	0.1
 License:	GPL
 Group:		Development/Languages
-Source0:	http://distcc.samba.org/ftp/distcc/%{name}-%{version}.tar.bz2
-# Source0-md5:	0d6b80a1efc3a3d816c4f4175f63eaa2
+Source0:	http://distcc.googlecode.com/files/%{name}-%{version}.tar.bz2
+# Source0-md5:	a3cab94fb8514687805456bcca9a15ea
 Source1:	%{name}.inetd
 Source2:	%{name}.init
 Source3:	%{name}.sh
@@ -19,13 +19,13 @@
 Source5:	%{name}.config
 Source6:	%{name}.logrotate
 Patch0:		%{name}-user.patch
-Patch1:		%{name}-as-needed.patch
-URL:		http://distcc.samba.org/
+URL:		http://www.distcc.org/
 BuildRequires:	autoconf >= 2.53
 BuildRequires:	automake
 %{?with_gnome:BuildRequires:	libgnomeui-devel >= 2.0}
 BuildRequires:	pkgconfig
 BuildRequires:	popt-devel
+BuildRequires:	python-devel-tools
 BuildRequires:	rpmbuild(macros) >= 1.268
 BuildRequires:	sed >= 4.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -70,6 +70,22 @@
 rezultaty jak lokalna kompilacja, jest prosty w instalacji i użyciu
 oraz bardzo często dwa lub więcej razy szybszy niż lokalna kompilacja.
 
+%package include_server
+Summary:	conservative approximation of include dependencies for C/C++
+Group:		Daemons
+
+%description include_server
+include_server.py starts an include server process.  This process
+answers queries from distcc(1) clients about what files to include in
+C/C++ compilations. The include_server.py command itself terminates as
+soon as the include server has been spawned.
+
+%description include_server -l pl.UTF-8
+include_server.py wywołuje proces serwera include. Proces ten odpowiada
+na zapytania klientów distcc(1) dotyczące plików, które należy dołączyć
+na etapie kompilacji C/C++. Polecenie incluse_server.py kończy działanie
+jak tylko wywołany zostanie proces serwera.
+
 %package inetd
 Summary:	inetd configs for distcc
 Summary(pl.UTF-8):	Pliki konfiguracyjne do użycia distcc poprzez inetd
@@ -124,19 +140,19 @@
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
 
 sed -i -e 's#PKGDATADIR#"%{_pixmapsdir}"#g' src/mon-gnome.c
 
 %build
-cp -f /usr/share/automake/config.* .
+%{__aclocal}
 %{__autoconf}
 %{__autoheader}
 %configure \
 	--enable-rfc2553 \
 	%{?with_gnome:--with-gnome}
 
-%{__make}
+%{__make} \
+	CC="%{__cc}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -152,6 +168,10 @@
 install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/distccd
 install %{SOURCE6} $RPM_BUILD_ROOT/etc/logrotate.d/distccd
 
+%py_comp $RPM_BUILD_ROOT%{py_sitedir}
+%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
+%py_postclean
+
 %if %{with gnome}
 mv $RPM_BUILD_ROOT%{_datadir}/%{name}/distccmon-gnome.desktop \
 	$RPM_BUILD_ROOT%{_desktopdir}
@@ -160,6 +180,8 @@
 %endif
 
 touch $RPM_BUILD_ROOT%{_var}/log/distcc
+rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
+
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -196,7 +218,10 @@
 %defattr(644,root,root,755)
 %doc AUTHORS NEWS README *.txt
 %attr(755,root,root) %{_bindir}/%{name}
+%attr(755,root,root) %{_bindir}/lsdistcc
+%attr(755,root,root) %{_bindir}/pump
 %{_mandir}/man?/%{name}.*
+%{_mandir}/man1/pump.1*
 %attr(755,root,root) /etc/profile.d/*sh
 
 %files common
@@ -207,6 +232,11 @@
 %{_mandir}/man?/%{name}d.*
 %attr(640,distcc,root) %ghost %{_var}/log/distcc
 
+%files include_server
+%defattr(644,root,root,755)
+%{py_sitedir}/include_server
+%{_mandir}/man1/include_server.1*
+
 %files inetd
 %defattr(644,root,root,755)
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/distccd
@@ -234,7 +264,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
-Revision 1.99  2007/11/18 18:21:49  sparky
+Revision 1.100  2008/08/07 15:08:55  adamg
+- updated to 3.0 (parallel preprocessing support)
+- include_server package
+- as-needed.patch no longer needed
+
+Revision 1.99  2007-11-18 18:21:49  sparky
 - Suggests, instead of R: gcc, gcc-c++
 
 Revision 1.98  2007-06-04 17:48:21  sparky
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/distcc.spec?r1=1.99&r2=1.100&f=u



More information about the pld-cvs-commit mailing list