%define name dolly %define version 0.57 %define release 3mdk %define lib_name_orig lib%{name} %define lib_major 0 %define lib_name %{lib_name_orig}%{lib_major} Name: %{name} Summary: Clone the installation of one machine to many other machines Group: System/Deploiment Version: %{version} Release: %{release} License: GPL URL: http://www.cs.inf.ethz.ch/stricker/CoPs/patagonia/dolly.html #Requires: Provides: %{name} BuildRoot: %{_tmppath}/%{name}-%{version} Prefix: %{_prefix} Packager: Antoine Ginies <aginies@mandrakesoft.com> Source: %{name}-%{version}.tar.bz2 Source10: dolly.html #Patch0: %description Dolly is used to clone the installation of one machine to (possibly many) other machines. It can distribute image-files (even gnu-zipped), partitions or whole hard disk drives to other partitions or hard disk drives. As it forms a "virtual TCP ring" to distribute data, it works best with fast switched networks (we were able to clone a 2 GB Windows NT partition to 15 machines in our cluster over Gigabit Ethernet in less than 4 minutes). As dolly clones whole partitions block-wise it works for most filesystems. We used it to clone partitions of the following type: Linux, Windows NT, Oberon, Solaris (most of our machines have multi boot setups). We have a small (additional) Linux installation on all of our machines or use a small one-floppy-disk-linux (e.g. muLinux) to do the cloning. %prep rm -rf %{RPM_BUILD_ROOT} %setup -q -n %{name}-%{version} #%patch0 -p0 %build gcc dolly.c -o dolly %install mkdir -p %{buildroot}%{_bindir} install -m755 $RPM_BUILD_DIR/%{name}-%{version}/dolly %{buildroot}%{_bindir}/dolly cp -v %{SOURCE10} ${RPM_BUILD_DIR}/%{name}-%{version} %clean rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,root) %doc README dolly.html %attr(755,root,root) %{_bindir}/dolly %changelog * Mon Mar 21 2005 Antoine Ginies <aginies@n1.mandrakesoft.com> 0.57-3mdk - add html doc * Sun Feb 08 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.57-2mdk - fix group (aka make it at least coherent with other cluster packages) * Mon Aug 18 2003 Antoine Ginies <aginies@bi.mandrakesoft.com> 0.57-1mdk - release 0.57 * Mon Feb 17 2003 Antoine Ginies <aginies@mandrakesoft.com> 0.2-1mdk - first release for Mandrakesoft