source: MondoRescue/trunk/mindi/distributions/rpm/mindi.spec @ 729

Last change on this file since 729 was 729, checked in by Bruno Cornec, 14 years ago

merge -r686:728 $SVN_M/branches/stable

  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1#
2# $Id: mindi.spec 729 2006-07-30 14:06:39Z bruno $
3#
4Summary:    Mindi creates emergency boot disks/CDs using your kernel, tools and modules
5Name:       mindi
6Version:    VVV
7Release:    RRR
8License:    GPL
9Group:      GRP
10Url:        http://www.mondorescue.org
11Source:     SSS
12BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
13Requires:   bzip2 >= 0.9, mkisofs, ncurses, binutils, gawk, dosfstools DDD
14OBS
15# Not on all systems
16#Conflicts: bonnie++
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
25%setup -n %name-%{version}
26
27%build
28%ifarch ia64
29%{__make} -f Makefile.parted2fdisk clean
30%{__make} -f Makefile.parted2fdisk
31%endif
32
33%install
34%{__rm}  -rf $RPM_BUILD_ROOT
35export DONT_RELINK=1
36
37export PREFIX=${RPM_BUILD_ROOT}%{_exec_prefix}
38export CONFDIR=${RPM_BUILD_ROOT}%{_sysconfdir}
39export RPMBUILDMINDI="true"
40
41./install.sh
42
43%clean
44%{__rm} -rf $RPM_BUILD_ROOT
45
46%post
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
51%files
52%defattr(-,root,root)
53%config(noreplace) %{_sysconfdir}/mindi/deplist.txt
54%config(noreplace) %{_sysconfdir}/mindi/deplist.d/*
55%config(noreplace) %{_sysconfdir}/mindi/mindi.conf
56%doc ChangeLog INSTALL COPYING README TODO README.ia64 README.pxe README.busybox svn.log
57%{_mandir}/man8/*
58%{_libdir}/mindi
59%{_sysconfdir}/mindi/mindi.conf
60%{_sbindir}/*
61
62%changelog
Note: See TracBrowser for help on using the repository browser.