%define icecreamdir %{_libdir}/icecc Name: icecream Version: 0.7.8 Release: %mkrel 2 Epoch: 2 Group: Development/C Summary: Icecream is a distributed p2p based compile system License: GPL URL: http://en.opensuse.org/Icecream Source0: ftp://ftp.suse.com/pub/projects/icecream/icecc-%{version}.tar.bz2 Source1: init.icecream Source2: init.icecream-scheduler Source3: sysconfig.icecream Source4: icecream.sh Source5: icecream.csh Source7: logrotate.icecream Source8: logrotate.icecream-scheduler BuildRequires: kdelibs-devel Requires: chkconfig PreReq: rpm-helper Buildroot: %{_tmppath}/%{name}-%{version}-root %description Icecream is a distributed p2p based compile system %post %_post_service icecream %preun %_preun_service icecream %files %defattr(-,root,root,0755) %_libdir/icecc/icecc-create-env %attr(0755,root,root) %_bindir/create-env %{_sbindir}/iceccd %{_bindir}/icecc %{icecreamdir}/bin/*cc %{icecreamdir}/bin/*g++ %{icecreamdir}/bin/*c++ %{_sysconfdir}/rc.d/init.d/icecream %config(noreplace) %{_sysconfdir}/sysconfig/icecream %attr(0755,root,root) %{_sysconfdir}/profile.d/* %config(noreplace) %{_sysconfdir}/logrotate.d/icecream %defattr(0644,root,root,1777) %dir /var/cache/icecream #------------------------------------------------------------------------------- %package scheduler Summary: Icecream scheduler Group: Development/C Requires: chkconfig Requires: icecream = %{epoch}:%{version} PreReq: rpm-helper %description scheduler %{name} scheduler %post scheduler %_post_service icecream-scheduler %preun scheduler %_preun_service icecream-scheduler %files scheduler %defattr(-,root,root,0755) %{_sbindir}/scheduler %{_sysconfdir}/rc.d/init.d/icecream-scheduler %config(noreplace) %{_sysconfdir}/logrotate.d/icecream-scheduler #------------------------------------------------------------------------------- %package devel Summary: Icecream devel Group: Development/C Requires: icecream = %{epoch}:%{version} PreReq: rpm-helper %description devel %name devel %files devel %defattr(-,root,root,0755) %{_libdir}/libicecc* %{_libdir}/pkgconfig/* %{_includedir}/* #--------------------------------------------------------------------------------- %prep rm -rf %{buildroot} %setup -q -n %{name} %build make -f Makefile.cvs %configure2_5x %make %install rm -rf %{buildroot} install -d %{buildroot}%{_sysconfdir}/rc.d/init.d install -d %{buildroot}%{_sysconfdir}/sysconfig install -d %{buildroot}%{_sysconfdir}/profile.d install -d %{buildroot}%{_sysconfdir}/logrotate.d install -d %{buildroot}%{icecreamdir}/bin install -d %{buildroot}%{_prefix} install -d %{buildroot}%{_datadir} install -d %{buildroot}%{_bindir} install -d %{buildroot}/var/cache/icecream make DESTDIR=%{buildroot} install install -m 755 %{SOURCE1} %buildroot%_sysconfdir/rc.d/init.d/icecream install -m 755 %{SOURCE2} %buildroot%_sysconfdir/rc.d/init.d/icecream-scheduler install -m 644 %{SOURCE3} %buildroot%_sysconfdir/sysconfig/icecream install -m 644 %{SOURCE4} %buildroot%_sysconfdir/profile.d install -m 644 %{SOURCE5} %buildroot%_sysconfdir/profile.d install -m 644 %{SOURCE7} %buildroot%_sysconfdir/logrotate.d/icecream install -m 644 %{SOURCE8} %buildroot%_sysconfdir/logrotate.d/icecream-scheduler # symlinks for libtool cd %{buildroot}%{icecreamdir}/bin/ pref=`gcc -dumpmachine` for a in cc gcc g++ c++; do ln -s %_bindir/icecc $pref-$a ln -s %_bindir/icecc $a rm -f %buildroot%_bindir/$a done # Fix profile locations sed -i "s,@DEFINEDBYRPMSPEC@,%{icecreamdir},g" %buildroot%{_sysconfdir}/profile.d/* cat << EOF > %buildroot%_bindir/create-env #!/bin/bash GCC="%_bindir/gcc" GCPP="%_bindir/g++" if [ ! -z $1 ]; then GCC=\$1 fi if [ ! -z \$2 ]; then GCPP=\$2 fi %{icecreamdir}/icecc-create-env \$GCC \$GCPP EOF %clean rm -rf %{buildroot} %changelog * Wed Sep 06 2006 Helio Chissini de Castro <helio@mandriva.com> + 2006-09-06 18:21:42 (60343) - Added script for simulate old behavior create-env * Mon Sep 04 2006 Helio Chissini de Castro <helio@mandriva.com> + 2006-09-04 15:48:21 (59808) - Fixed new daemons placement * Mon Sep 04 2006 Helio Chissini de Castro <helio@mandriva.com> + 2006-09-04 15:20:29 (59791) - Profiles now have own path substituted by spec file - icecream monitor now is provided in a different package * Sat Sep 02 2006 Helio Chissini de Castro <helio@mandriva.com> + 2006-09-02 01:06:55 (59570) - New upstream version - New base directory * Mon May 29 2006 Helio Chissini de Castro <helio@mandriva.com> + 2006-05-29 21:59:08 (31669) - Upgrade with most recent svn code. - Rebuild against new qt. * Mon May 29 2006 Andreas Hasenack <andreas@mandriva.com> + 2006-05-29 14:36:37 (31646) - renamed mdv to packages because mdv is too generic and it's hosting only packages anyway * Tue Dec 13 2005 Helio Chissini de Castro <helio@mandriva.com> + 2005-12-13 00:04:31 (1292) - Raised epoch to allow upgrade - Fixed changelog from subversion (none) * Mon Dec 12 2005 Helio Chissini de Castro <helio@mandriva.com> + 2005-12-12 21:38:16 (1291) - Remove invlaid tweakload patch - Updated for 2005/12/12 release - Fix symlinks ( rebuild ) * Wed Jun 22 2005 Helio Chissini de Castro <helio@mandriva.com> + 2005-06-22 11:32:22 (235) - Add test for ccache presence. ccache will have precedence on icecream if they are present * Tue Jun 14 2005 Helio Chissini de Castro <helio@mandriva.com> + 2005-06-14 11:51:26 (213) - Fixed lib64 for x86_64 archs * Thu Jun 09 2005 Helio Chissini de Castro <helio@mandriva.com> + 2005-06-09 09:18:50 (154) - Uploaded icecream package to subversion - New release 0.6.20050608 - Fixed tweakload patch - Removed gcc4 specific patch - Moved documentation and monitor GUI to base kde dir * Fri May 6 2005 Gwenole Beauchesne <gbeauchesne@mandriva.com> 0.6.20041221-7mdk - fix build on MDK 10.1 too (no makekdewidgets) - fix create-env to not try sending the specs if it doesn't exist * Fri Jan 28 2005 Laurent MONTEL <lmontel@mandrakesoft.com> 0.6.20041221-6mdk - Fix build on MDK 10.0 * Fri Jan 28 2005 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 0.6.20041221-5mdk - try to find out a working version of unsermake * Wed Jan 26 2005 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 0.6.20041221-4mdk - lib64 fixes * Sat Jan 22 2005 Frederic Lepied <flepied@mandrakesoft.com> 0.6.20041221-3mdk - fix icecream-scheduler: service lock file name and logrotate file name. - add symlinks for compiler names * Tue Dec 28 2004 Frederic Lepied <flepied@mandrakesoft.com> 0.6.20041221-2mdk - switch to libdir instead of /opt * Tue Dec 28 2004 Frederic Lepied <flepied@mandrakesoft.com> 0.6.20041221-1mdk - init Mandrakelinux package * Tue Dec 21 2004 Helio Chissini de Castro <helio@conectiva.com.br> + 2004-12-21 14:19:26 (73293) - Fixed new paths * Tue Dec 21 2004 Helio Chissini de Castro <helio@conectiva.com.br> + 2004-12-21 12:02:37 (73256) - Update config tools * Mon Dec 20 2004 Herton Ronaldo Krzesinski <herton@conectiva.com.br> + 2004-12-20 18:40:08 (73136) - Fixed typo in icecream initscript, the right lock file is /var/lock/subsys/icecream not /var/lock/subsys/iceccd (This was also breaking the automatic icecream stop when restarting/shutting down a computer). * Tue Nov 30 2004 Helio Chissini de Castro <helio@conectiva.com.br> + 2004-11-30 11:41:02 (72030) - Added missing source * Tue Nov 30 2004 Helio Chissini de Castro <helio@conectiva.com.br> + 2004-11-30 11:33:05 (72029) - Removed patch in create-env, already commited to upstream - Minor redraw problem: when the monitor comes up in star view, the nodes aren't drawn. Force an update to show all nodes. - Allow suppression of domain names (default off) * Mon Nov 29 2004 Helio Chissini de Castro <helio@conectiva.com.br> + 2004-11-29 18:35:22 (72017) - Fixed LD_ASUME_KERNEL on create-env * Fri Nov 19 2004 Helio Chissini de Castro <helio@conectiva.com.br> + 2004-11-19 17:06:08 (71444) - Fiz unsermake build * Fri Nov 19 2004 Helio Chissini de Castro <helio@conectiva.com.br> + 2004-11-19 15:32:29 (71441) - New cvs release from 20041120 * Fri Oct 15 2004 Helio Chissini de Castro <helio@conectiva.com.br> + 2004-10-15 15:45:52 (69720) - New upstream version * Fri Oct 08 2004 Marcelo Ricardo Leitner <mrl@conectiva.com.br> + 2004-10-08 17:21:52 (69404) - Added missing tons of BuildRequires. * Fri Oct 08 2004 Marcelo Ricardo Leitner <mrl@conectiva.com.br> + 2004-10-08 16:45:08 (69403) - Added missing BuildRequires to xfree86-devel. * Fri Oct 01 2004 Helio Chissini de Castro <helio@conectiva.com.br> + 2004-10-01 14:33:48 (68958) - Fixed initscript * Fri Oct 01 2004 Helio Chissini de Castro <helio@conectiva.com.br> + 2004-10-01 13:37:38 (68945) - Added patch to fix missing libraries on environment - Added temp patch to tweak load * Thu Sep 23 2004 Helio Chissini de Castro <helio@conectiva.com.br> + 2004-09-23 10:04:30 (68340) - Add root owner for cache an mark with 1777 * Thu Sep 23 2004 Helio Chissini de Castro <helio@conectiva.com.br> + 2004-09-23 09:16:39 (68335) - Make all users see /var/cache/icecream directory * Wed Sep 22 2004 Helio Chissini de Castro <helio@conectiva.com.br> + 2004-09-22 19:00:58 (68307) - /var/cache/icecream must be writable for nobody user * Wed Sep 22 2004 Helio Chissini de Castro <helio@conectiva.com.br> + 2004-09-22 18:01:48 (68291) - Fixed epoch * Wed Sep 22 2004 Helio Chissini de Castro <helio@conectiva.com.br> + 2004-09-22 17:47:09 (68290) - scheduler must requires icecream to have proper net connections * Wed Sep 22 2004 Helio Chissini de Castro <helio@conectiva.com.br> + 2004-09-22 17:45:35 (68289) - Another initscript fix and proper start/restart on package install * Wed Sep 22 2004 Helio Chissini de Castro <helio@conectiva.com.br> + 2004-09-22 15:35:55 (68251) - Fixed initscripts status and parameter for scheduler - Changed name for logs - Added logrotate ( hit from Andreas ) * Tue Sep 21 2004 Helio Chissini de Castro <helio@conectiva.com.br> + 2004-09-21 18:05:21 (68198) - Added fixed arch links for libtool requires. Usually conectiva ships just i386 compiler, but it's possible to use in test environments i686 compiler, so both symlinks are added * Tue Sep 21 2004 Helio Chissini de Castro <helio@conectiva.com.br> + 2004-09-21 17:14:20 (68185) - Fixed build of new version * Tue Sep 21 2004 Helio Chissini de Castro <helio@conectiva.com.br> + 2004-09-21 16:23:05 (68163) - Non block processes for scheduler * Tue Sep 21 2004 Helio Chissini de Castro <helio@conectiva.com.br> + 2004-09-21 13:50:26 (68118) - Fixed initscripts * Tue Sep 21 2004 Helio Chissini de Castro <helio@conectiva.com.br> + 2004-09-21 13:49:07 (68117) - Fixed initscripts * Tue Sep 21 2004 Helio Chissini de Castro <helio@conectiva.com.br> + 2004-09-21 11:42:24 (68098) - fix params on daemons * Fri Sep 17 2004 Helio Chissini de Castro <helio@conectiva.com.br> + 2004-09-17 11:46:17 (67956) - Added menu file and fixed initscripts * Wed Sep 15 2004 Helio Chissini de Castro <helio@conectiva.com.br> + 2004-09-15 15:49:49 (67905) - Fixed profile * Wed Sep 15 2004 Helio Chissini de Castro <helio@conectiva.com.br> + 2004-09-15 09:27:30 (67877) - Missing add icecream path for icemon in ccache case. * Tue Sep 14 2004 Helio Chissini de Castro <helio@conectiva.com.br> + 2004-09-14 17:42:14 (67849) - Last ccache changes * Tue Sep 14 2004 Helio Chissini de Castro <helio@conectiva.com.br> + 2004-09-14 17:02:26 (67843) - Prepares for ccache * Tue Sep 14 2004 Helio Chissini de Castro <helio@conectiva.com.br> + 2004-09-14 15:45:10 (67833) - fixed libpath * Tue Sep 14 2004 Helio Chissini de Castro <helio@conectiva.com.br> + 2004-09-14 15:28:02 (67831) - Fixed kde paths to compile * Tue Sep 14 2004 Helio Chissini de Castro <helio@conectiva.com.br> + 2004-09-14 15:09:35 (67825) - Fixed paths * Tue Sep 14 2004 Helio Chissini de Castro <helio@conectiva.com.br> + 2004-09-14 14:53:18 (67812) - Added missing source * Tue Sep 14 2004 Helio Chissini de Castro <helio@conectiva.com.br> + 2004-09-14 14:52:35 (67811) - New upstream version - Fixed paths * Thu Sep 02 2004 Helio Chissini de Castro <helio@conectiva.com.br> + 2004-09-02 15:22:19 (67271) - Fixed permissions * Thu Sep 02 2004 Helio Chissini de Castro <helio@conectiva.com.br> + 2004-09-02 15:09:37 (67270) - Added sources and specs * Wed Sep 01 2004 Helio Chissini de Castro <helio@conectiva.com.br> + 2004-09-01 18:24:24 (67223) - Created dir structure