Last change
on this file since 2967 was 593, checked in by bcornec, 18 years ago |
Fix a bug in mindi's RPM (deplist listed twice)
New script for mandriva delivery
|
-
Property svn:keywords
set to
Id
|
File size:
1.4 KB
|
Rev | Line | |
---|
[35] | 1 | #
|
---|
| 2 | # $Id: mindi.spec 593 2006-05-29 22:06:39Z bcornec $
|
---|
| 3 | #
|
---|
[313] | 4 | %define mrel RRR
|
---|
[576] | 5 | %define tag TTT
|
---|
[388] | 6 |
|
---|
[1] | 7 | Summary: Mindi creates emergency boot disks/CDs using your kernel, tools and modules
|
---|
[576] | 8 | Name: mindi
|
---|
| 9 | Version: VVV
|
---|
| 10 | Release: %mrel
|
---|
[1] | 11 | License: GPL
|
---|
[576] | 12 | Group: GRP
|
---|
[495] | 13 | Url: http://www.mondorescue.org
|
---|
[576] | 14 | Source: SSS
|
---|
[495] | 15 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
|
---|
[576] | 16 | Requires: bzip2 >= 0.9, mkisofs, ncurses, binutils, gawk, dosfstools DDD
|
---|
[20] | 17 | # Not on all systems
|
---|
| 18 | #Conflicts: bonnie++
|
---|
[1] | 19 |
|
---|
| 20 | %description
|
---|
| 21 | Mindi takes your kernel, modules, tools and libraries, and puts them on N
|
---|
| 22 | bootable disks (or 1 bootable CD image). You may then boot from the disks/CD
|
---|
| 23 | and do system maintenance - e.g. format partitions, backup/restore data,
|
---|
| 24 | verify packages, etc.
|
---|
| 25 |
|
---|
| 26 | %prep
|
---|
[576] | 27 | %setup -n %name-%{version}-%{tag}
|
---|
[1] | 28 |
|
---|
| 29 | %build
|
---|
| 30 | %ifarch ia64
|
---|
[50] | 31 | %{__make} -f Makefile.parted2fdisk clean
|
---|
| 32 | %{__make} -f Makefile.parted2fdisk
|
---|
[1] | 33 | %endif
|
---|
| 34 |
|
---|
| 35 | %install
|
---|
[495] | 36 | %{__rm} -rf $RPM_BUILD_ROOT
|
---|
[50] | 37 | export DONT_RELINK=1
|
---|
| 38 |
|
---|
[235] | 39 | export PREFIX=${RPM_BUILD_ROOT}%{_exec_prefix}
|
---|
| 40 | export CONFDIR=${RPM_BUILD_ROOT}%{_sysconfdir}
|
---|
[179] | 41 | export RPMBUILDMINDI="true"
|
---|
[50] | 42 |
|
---|
[179] | 43 | ./install.sh
|
---|
[50] | 44 |
|
---|
[1] | 45 | %clean
|
---|
| 46 | %{__rm} -rf $RPM_BUILD_ROOT
|
---|
| 47 |
|
---|
| 48 | %post
|
---|
[179] | 49 | if [ -f /usr/local/sbin/mindi ]; then
|
---|
| 50 | echo "WARNING: /usr/local/sbin/mindi exists. You should probably remove your manual mindi installation !"
|
---|
| 51 | fi
|
---|
| 52 |
|
---|
[1] | 53 | %files
|
---|
[495] | 54 | %config(noreplace) %{_sysconfdir}/mindi/deplist.txt
|
---|
[315] | 55 | %doc ChangeLog INSTALL COPYING README TODO README.ia64 README.pxe README.busybox svn.log
|
---|
[423] | 56 | %{_mandir}/man8/*
|
---|
[200] | 57 | %{_libdir}/mindi
|
---|
[576] | 58 | %{_sbindir}/*
|
---|
[1] | 59 |
|
---|
| 60 | %changelog
|
---|
Note:
See
TracBrowser
for help on using the repository browser.