mindi/mindi.spec

Name: mindi
Summary: Mindi creates emergency boot disks/CDs using your kernel, tools and modules
Version: 2.0.7.5
Release: 1
License: GPL
Group: Applications/Archiving
URL: http://www.mondorescue.org/
Description: Mindi takes your kernel, modules, tools and libraries, and puts them on N bootable disks (or 1 bootable CD image). You may then boot from the disks/CD and do system maintenance - e.g. format partitions, backup/restore data, verify packages, etc.

CentOS 7 x86_64

The build was succesful. The following RPMs were generated:

Build Status

CentOS 6 x86_64

The build was succesful. The following RPMs were generated:

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag

Summary: Mindi creates emergency boot disks/CDs using your kernel, tools and modules
Name: mindi
Version: 2.0.7.5
Release: 1%{?dist}
License: GPL
Group: Applications/Archiving
URL: http://www.mondorescue.org/

Source: ftp://ftp.mondorescue.org/src/mindi-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

### Not yet possible as busybox is a binary that should go alongside
#BuildArch: noarch
Requires: binutils
Requires: bzip2 >= 0.9
Requires: dosfstools
Requires: gawk
Requires: grep >= 2.5
Requires: mindi-busybox
Requires: mkisofs
Requires: mtools
Requires: ncurses
Requires: parted
Requires: perl
Requires: which

### Not on all systems
#Conflicts: bonnie++

%description
Mindi takes your kernel, modules, tools and libraries, and puts them on N
bootable disks (or 1 bootable CD image). You may then boot from the disks/CD
and do system maintenance - e.g. format partitions, backup/restore data,
verify packages, etc.

%prep
%setup

%build

%install
%{__rm} -rf %{buildroot}
export DONT_RELINK="1"
export HEAD="%{buildroot}"
export PREFIX="%{_prefix}"
export CONFDIR="%{_sysconfdir}"
export MANDIR="%{_mandir}"
#export DOCDIR="%{_docdir}"
export LIBDIR="%{_libdir}"
export CACHEDIR="%{_localstatedir}/cache/mindi"
export PKGBUILDMINDI="true"
sh -x install.sh

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc ChangeLog COPYING INSTALL NEWS README* TODO
%doc %{_mandir}/man8/mindi.8*
%config(noreplace) %{_sysconfdir}/mindi/
%{_libdir}/mindi/
%{_localstatedir}/cache/mindi/
%{_sbindir}/mindi
%{_sbindir}/mindi-bkphw
%{_sbindir}/mindi-get-perl-modules
%{_sbindir}/parted2fdisk
%{_sbindir}/parted2fdisk.pl

%changelog
* Sun Jul 04 2010 Dag Wieers <dag@wieers.com> - 2.0.7.5-1
- Updated to release 2.0.7.5.

* Tue Jun 08 2010 Dag Wieers <dag@wieers.com> - 2.0.7.3-1
- Updated to release 2.0.7.3.

* Fri Nov 09 2007 Dag Wieers <dag@wieers.com> - 2.0.0-1
- Initial package. (using DAR)