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

Last change on this file since 722 was 722, checked in by Bruno Cornec, 18 years ago

Remove TAG also from SPEC files

  • Property svn:keywords set to Id
File size: 1.4 KB
RevLine 
[35]1#
2# $Id: mindi.spec 722 2006-07-28 23:53:46Z 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)
[550]13Requires: bzip2 >= 0.9, mkisofs, ncurses, binutils, gawk, dosfstools DDD
[699]14OBS
[20]15# Not on all systems
16#Conflicts: bonnie++
[1]17
18%description
19Mindi takes your kernel, modules, tools and libraries, and puts them on N
20bootable disks (or 1 bootable CD image). You may then boot from the disks/CD
21and do system maintenance - e.g. format partitions, backup/restore data,
22verify packages, etc.
23
24%prep
[722]25%setup -n %name-%{version}
[1]26
27%build
28%ifarch ia64
[50]29%{__make} -f Makefile.parted2fdisk clean
30%{__make} -f Makefile.parted2fdisk
[1]31%endif
32
33%install
[542]34%{__rm} -rf $RPM_BUILD_ROOT
[50]35export DONT_RELINK=1
36
[235]37export PREFIX=${RPM_BUILD_ROOT}%{_exec_prefix}
38export CONFDIR=${RPM_BUILD_ROOT}%{_sysconfdir}
[179]39export RPMBUILDMINDI="true"
[50]40
[179]41./install.sh
[50]42
[1]43%clean
44%{__rm} -rf $RPM_BUILD_ROOT
45
46%post
[179]47if [ -f /usr/local/sbin/mindi ]; then
48 echo "WARNING: /usr/local/sbin/mindi exists. You should probably remove your manual mindi installation !"
49fi
50
[1]51%files
[719]52%defattr(-,root,root)
[542]53%config(noreplace) %{_sysconfdir}/mindi/deplist.txt
[315]54%doc ChangeLog INSTALL COPYING README TODO README.ia64 README.pxe README.busybox svn.log
[423]55%{_mandir}/man8/*
[200]56%{_libdir}/mindi
[564]57%{_sbindir}/*
[1]58
59%changelog
Note: See TracBrowser for help on using the repository browser.