# $Id: evms-cvs.spec,v 1.6 2001/12/02 23:15:19 lars Exp lars $ %define use_kgcc 0 %define use_efence 0 %{?_with_kgcc: %{expand: %%define use_kgcc 1}} %{?_without_kgcc: %{expand: %%define use_kgcc 0}} %{?_with_efence: %{expand: %%define use_efence 1}} %{?_without_efence: %{expand: %%define use_efence 0}} %if %{use_kgcc} %define ccompiler kgcc %else %define ccompiler gcc %endif %if %{use_efence} %define efence_config_params "--with-efence" %else %define efence_config_params "--without-efence" %endif Name: evms Version: cvs%(date +"%Y%m%d") Release: 2 Summary: EVMS user-space tools. Group: System Environment/Base License: GPL Packager: lars@larsshack.org URL: http://www.sourceforge.net/projects/evms Buildrequires: cvs gtk+-devel autoconf glib-devel %if %{use_efence} Buildrequires: ElectricFence %endif BuildRoot: %{_tmppath}/%{name}-%{version}-root %description This package contains the user-space tools needed to manage EVMS (Enterprise Volume Management System) volumes. In order to use these user-space tools, you must also have your kernel patched with the most recent EVMS code. This code is available in the source package on the project web page http://www.sf.net/projects/evms/. Please see the EVMS-HOWTO on the project web page or in the source package for detailed instructions on patching your kernel with EVMS and using the tools after installation. %package md Summary: Experimental multiple device ('md') plugin. Group: System Environment/Base Requires: %{name} = %{version} %if %{use_efence} Requires: ElectricFence %endif %description md This package contains an experimental evms plugin that offers compatability with the standard Linux 'md' software RAID driver. %package lvm Summary: EVMS command-line compatability with Linux LVM tools. Group: System Environment/Base Requires: %{name} = %{version} %if %{use_efence} Requires: ElectricFence %endif %description lvm The evms-lvm package provides command-line software that emulates the behavior of the traditional Linux LVM tools. %package gui Summary: Graphic configuration for EVMS. Group: System Environment/Base Requires: %{name} = %{version} gtk+ glib Buildrequires: gtk+-devel glib-devel %if %{use_efence} Requires: ElectricFence %endif %description gui A graphic tool for configuring EVMS services. %package devel Summary: EVMS development libraries and header files. Group: Development/Libraries Requires: %{name} = %{version} %description devel The evms-devel package contains C libraries and header files necessary for building EVMS-aware applications. %prep export CVSPASS=$RPM_SOURCE_DIR/evms-cvs-password if [ ! -d "$CVSPASS" ]; then cat > $CVSPASS < - fetch linux repository for header files * Thu Nov 30 2001 Lars Kellogg-Stedman - created spec file.