source: MondoRescue/branches/stable/mindi/distributions/rpm/mindi.spec@ 1060

Last change on this file since 1060 was 1060, checked in by Bruno Cornec, 17 years ago
  • mindi now uses completely the configuration file, including for modules description
  • DidMondoCallMe gone for MONDO_SHARE usage rather
  • deplist.txt is now empty and replaced by a lot of files under deplist.d
  • install and package script adapted accordingly
  • delivered in hope others will test and report :-)
  • Property svn:keywords set to Id
File size: 1.6 KB
RevLine 
[35]1#
2# $Id: mindi.spec 1060 2007-01-17 05:03:13Z bruno $
3#
[1]4Summary: Mindi creates emergency boot disks/CDs using your kernel, tools and modules
[550]5Name: mindi
6Version: VVV
[722]7Release: RRR
[1]8License: GPL
[550]9Group: GRP
[542]10Url: http://www.mondorescue.org
[550]11Source: SSS
[542]12BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
[819]13ExcludeArch: ppc
[846]14Requires: bzip2 >= 0.9, mkisofs, ncurses, binutils, gawk, dosfstools, mindi-busybox DDD
[699]15OBS
[20]16# Not on all systems
17#Conflicts: bonnie++
[1]18
19%description
20Mindi takes your kernel, modules, tools and libraries, and puts them on N
21bootable disks (or 1 bootable CD image). You may then boot from the disks/CD
22and do system maintenance - e.g. format partitions, backup/restore data,
23verify packages, etc.
24
25%prep
[722]26%setup -n %name-%{version}
[1]27
28%build
29%ifarch ia64
[50]30%{__make} -f Makefile.parted2fdisk clean
31%{__make} -f Makefile.parted2fdisk
[1]32%endif
33
34%install
[542]35%{__rm} -rf $RPM_BUILD_ROOT
[50]36export DONT_RELINK=1
37
[936]38export HEAD=${RPM_BUILD_ROOT}
39export PREFIX=%{_exec_prefix}
40# Bug on x86_64 on _sysconfdir on rhel4 at least
41%ifarch x86_64
42export CONFDIR=/etc
43%else
44export CONFDIR=%{_sysconfdir}
45%endif
46export MANDIR=%{_mandir}
47export DOCDIR=%{_docdir}
48export LIBDIR=%{_libdir}
[179]49export RPMBUILDMINDI="true"
[50]50
[179]51./install.sh
[50]52
[1]53%clean
54%{__rm} -rf $RPM_BUILD_ROOT
55
56%files
[719]57%defattr(-,root,root)
[542]58%config(noreplace) %{_sysconfdir}/mindi/deplist.txt
[1047]59%config(noreplace) %{_sysconfdir}/mindi/deplist.d/*
60%config(noreplace) %{_sysconfdir}/mindi/mindi.conf
61%config(noreplace) %{_sysconfdir}/mindi/mindi.conf.dist
[1060]62%config(noreplace) %{_sysconfdir}/mindi/mindi.conf.dist.md5
[315]63%doc ChangeLog INSTALL COPYING README TODO README.ia64 README.pxe README.busybox svn.log
[423]64%{_mandir}/man8/*
[200]65%{_libdir}/mindi
[564]66%{_sbindir}/*
[1]67
68%changelog
Note: See TracBrowser for help on using the repository browser.