Last change
on this file since 3384 was 1510, checked in by Bruno Cornec, 17 years ago |
- RPMBUILDMINDI => PKGBUILDMINDI
- /var/cache/mindi added to the build process + pkgs
|
-
Property svn:keywords
set to
Id
|
File size:
1.4 KB
|
Rev | Line | |
---|
[35] | 1 | #
|
---|
| 2 | # $Id: mindi.spec 1510 2007-06-20 10:12:34Z bruno $
|
---|
| 3 | #
|
---|
[1] | 4 | Summary: Mindi creates emergency boot disks/CDs using your kernel, tools and modules
|
---|
[550] | 5 | Name: mindi
|
---|
| 6 | Version: VVV
|
---|
[722] | 7 | Release: RRR
|
---|
[1] | 8 | License: GPL
|
---|
[550] | 9 | Group: GRP
|
---|
[542] | 10 | Url: http://www.mondorescue.org
|
---|
[550] | 11 | Source: SSS
|
---|
[542] | 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
|
---|
[819] | 13 | ExcludeArch: ppc
|
---|
[1461] | 14 | Requires: bzip2 >= 0.9, mkisofs, ncurses, binutils, gawk, dosfstools, mindi-busybox, parted DDD
|
---|
[699] | 15 | OBS
|
---|
[20] | 16 | # Not on all systems
|
---|
| 17 | #Conflicts: bonnie++
|
---|
[1] | 18 |
|
---|
| 19 | %description
|
---|
| 20 | Mindi takes your kernel, modules, tools and libraries, and puts them on N
|
---|
| 21 | bootable disks (or 1 bootable CD image). You may then boot from the disks/CD
|
---|
| 22 | and do system maintenance - e.g. format partitions, backup/restore data,
|
---|
| 23 | verify 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] | 36 | export DONT_RELINK=1
|
---|
| 37 |
|
---|
[936] | 38 | export HEAD=${RPM_BUILD_ROOT}
|
---|
| 39 | export PREFIX=%{_exec_prefix}
|
---|
| 40 | export CONFDIR=%{_sysconfdir}
|
---|
| 41 | export MANDIR=%{_mandir}
|
---|
| 42 | export DOCDIR=%{_docdir}
|
---|
| 43 | export LIBDIR=%{_libdir}
|
---|
[1510] | 44 | export CACHEDIR=%{_var}/cache/%{name}
|
---|
| 45 | export PKGBUILDMINDI="true"
|
---|
[50] | 46 |
|
---|
[179] | 47 | ./install.sh
|
---|
[50] | 48 |
|
---|
[1] | 49 | %clean
|
---|
| 50 | %{__rm} -rf $RPM_BUILD_ROOT
|
---|
| 51 |
|
---|
| 52 | %files
|
---|
[719] | 53 | %defattr(-,root,root)
|
---|
[1389] | 54 | %config(noreplace) %{_sysconfdir}/%{name}
|
---|
[315] | 55 | %doc ChangeLog INSTALL COPYING README TODO README.ia64 README.pxe README.busybox svn.log
|
---|
[423] | 56 | %{_mandir}/man8/*
|
---|
[1389] | 57 | %{_libdir}/%{name}
|
---|
[564] | 58 | %{_sbindir}/*
|
---|
[1510] | 59 | %{_var}/cache/%{name}
|
---|
[1] | 60 |
|
---|
| 61 | %changelog
|
---|
Note:
See
TracBrowser
for help on using the repository browser.