Last change
on this file since 2527 was 928, checked in by Bruno Cornec, 15 years ago |
mindi in 2.2.9 doesn't build for ppc. It could in 2.2.10 had busybox is removed
|
File size:
1.4 KB
|
Line | |
---|
1 | #
|
---|
2 | # $Id: mindi.spec 1866 2008-01-16 15:29:04Z bruno $
|
---|
3 | #
|
---|
4 | Summary: Mindi creates emergency boot disks/CDs using your kernel, tools and modules
|
---|
5 | Name: PBPKG
|
---|
6 | Version: PBVER
|
---|
7 | Release: PBTAGPBSUF
|
---|
8 | License: PBLIC
|
---|
9 | Group: PBGRP
|
---|
10 | Url: PBURL
|
---|
11 | Source: PBREPO/PBSRC
|
---|
12 | # Not yet possible as busybox is a binary that should go alongside
|
---|
13 | # BuildArch: noarch
|
---|
14 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
|
---|
15 | Requires: bzip2 >= 0.9, mkisofs, ncurses, binutils, gawk, dosfstools, mindi-busybox >= 1.7.3, parted, perl, mtools, PBDEP
|
---|
16 | ExcludeArch: ppc
|
---|
17 | PBOBS
|
---|
18 | # Not on all systems
|
---|
19 | #Conflicts: bonnie++
|
---|
20 |
|
---|
21 | %description
|
---|
22 | Mindi takes your kernel, modules, tools and libraries, and puts them on N
|
---|
23 | bootable disks (or 1 bootable CD image). You may then boot from the disks/CD
|
---|
24 | and do system maintenance - e.g. format partitions, backup/restore data,
|
---|
25 | verify packages, etc.
|
---|
26 |
|
---|
27 | %prep
|
---|
28 | %setup -q
|
---|
29 |
|
---|
30 | %build
|
---|
31 |
|
---|
32 | %install
|
---|
33 | rm -rf $RPM_BUILD_ROOT
|
---|
34 | export DONT_RELINK=1
|
---|
35 |
|
---|
36 | export HEAD=${RPM_BUILD_ROOT}
|
---|
37 | export PREFIX=%{_exec_prefix}
|
---|
38 | export CONFDIR=%{_sysconfdir}
|
---|
39 | export MANDIR=%{_mandir}
|
---|
40 | #export DOCDIR=%{_docdir}
|
---|
41 | export LIBDIR=%{_libdir}
|
---|
42 | export CACHEDIR=%{_var}/cache/%{name}
|
---|
43 | export PKGBUILDMINDI="true"
|
---|
44 |
|
---|
45 | ./install.sh
|
---|
46 |
|
---|
47 | %clean
|
---|
48 | rm -rf $RPM_BUILD_ROOT
|
---|
49 |
|
---|
50 | %files
|
---|
51 | %defattr(-,root,root)
|
---|
52 | %config(noreplace) %{_sysconfdir}/%{name}
|
---|
53 | %doc ChangeLog INSTALL COPYING README TODO README.* NEWS
|
---|
54 | #svn.log
|
---|
55 | %{_mandir}/man8/*
|
---|
56 | %{_libdir}/%{name}
|
---|
57 | %{_sbindir}/*
|
---|
58 | %{_var}/cache/%{name}
|
---|
59 |
|
---|
60 | %changelog
|
---|
61 | PBLOG
|
---|
Note:
See
TracBrowser
for help on using the repository browser.