source: projects/mondorescue/pbconf/branches/2.2.9/mindi/rpm/mindi.spec @ 928

Last change on this file since 928 was 928, checked in by Bruno Cornec, 10 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#
4Summary:    Mindi creates emergency boot disks/CDs using your kernel, tools and modules
5Name:       PBPKG
6Version:    PBVER
7Release:    PBTAGPBSUF
8License:    PBLIC
9Group:      PBGRP
10Url:        PBURL
11Source:     PBREPO/PBSRC
12# Not yet possible as busybox is a binary that should go alongside
13# BuildArch:    noarch
14BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
15Requires:   bzip2 >= 0.9, mkisofs, ncurses, binutils, gawk, dosfstools, mindi-busybox >= 1.7.3, parted, perl, mtools, PBDEP
16ExcludeArch:    ppc
17PBOBS
18# Not on all systems
19#Conflicts: bonnie++
20
21%description
22Mindi takes your kernel, modules, tools and libraries, and puts them on N
23bootable disks (or 1 bootable CD image). You may then boot from the disks/CD
24and do system maintenance - e.g. format partitions, backup/restore data,
25verify packages, etc.
26
27%prep
28%setup -q
29
30%build
31
32%install
33rm  -rf $RPM_BUILD_ROOT
34export DONT_RELINK=1
35
36export HEAD=${RPM_BUILD_ROOT}
37export PREFIX=%{_exec_prefix}
38export CONFDIR=%{_sysconfdir}
39export MANDIR=%{_mandir}
40#export DOCDIR=%{_docdir}
41export LIBDIR=%{_libdir}
42export CACHEDIR=%{_var}/cache/%{name}
43export PKGBUILDMINDI="true"
44
45./install.sh
46
47%clean
48rm -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
61PBLOG
Note: See TracBrowser for help on using the repository browser.