Summary: A highly-available distributed filesystem Name: intermezzo Version: 0.93 Release: 1 Source: ftp://ftp.inter-mezzo.org/pub/intermezzo/intermezzo-0.93.tar.gz Copyright: GPL BuildRoot: /var/tmp/%{name}-%{version}-root Group: Networking/Daemons URL: http://www.inter-mezzo.org/ Requires: perl-Time-HiRes perl-Storable perl-POE perl-Term-ReadLine-Gnu # This is a funky way to to BuildRequires, but it makes cross-building # SRPMS a little easier. %(rpm -q rpm >/dev/null 2>&1 && echo 'BuildRequires: %{requires}') # Finally, we require the kernel-source package to build Presto. Requires: kernel-source %description InterMezzo is a distributed filesystem inspired by Coda, but much simpler. %prep %setup -n intermezzo-0.93 %build make all PRESTO= %install rm -rf $RPM_BUILD_ROOT make install PRESTO= DOC= DESTDIR=$RPM_BUILD_ROOT # Install the Presto sources. SRCPRESTO=$RPM_BUILD_ROOT/usr/src/presto-%{version} mkdir -p $SRCPRESTO (cd presto && tar -cf - .) | (cd $SRCPRESTO && tar -xvBpf -) %clean #rm -rf $RPM_BUILD_ROOT %post chkconfig --add presto # FIXME: We may eventually support and presto RPMs for stock kernels. # Even if we do, we leave this option open for people with custom # kernels. cat < - Initial spec