source: branches/2.2.5/pbconf/mindi/rpm/mindi.spec @ 1632

Last change on this file since 1632 was 1632, checked in by Bruno Cornec, 13 years ago

PB-SUF also added to spec file

  • Property svn:keywords set to Id
File size: 1.3 KB
RevLine 
[35]1#
2# $Id: mindi.spec 1632 2007-09-12 00:15:00Z bruno $
3#
[1]4Summary:    Mindi creates emergency boot disks/CDs using your kernel, tools and modules
[1593]5Name:       PBPKG
6Version:    PBVER
[1632]7Release:    PBTAGPBSUF
[1]8License:    GPL
[1593]9Group:      PBGRP
[542]10Url:        http://www.mondorescue.org
[1593]11Source:     PBSRC
[1121]12BuildArch:  noarch
[542]13BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
[1593]14Requires:   bzip2 >= 0.9, mkisofs, ncurses, binutils, gawk, dosfstools, mindi-busybox, parted, PBDEP
15PBOBS
[20]16# Not on all systems
17#Conflicts: bonnie++
[1]18
19%description
20Mindi takes your kernel, modules, tools and libraries, and puts them on N
21bootable disks (or 1 bootable CD image). You may then boot from the disks/CD
22and do system maintenance - e.g. format partitions, backup/restore data,
23verify packages, etc.
24
25%prep
[1121]26%setup -q
[1]27
28%build
29
30%install
[542]31%{__rm}  -rf $RPM_BUILD_ROOT
[50]32export DONT_RELINK=1
33
[936]34export HEAD=${RPM_BUILD_ROOT}
35export PREFIX=%{_exec_prefix}
36export CONFDIR=%{_sysconfdir}
37export MANDIR=%{_mandir}
38export DOCDIR=%{_docdir}
39export LIBDIR=%{_libdir}
[1513]40export CACHEDIR=%{_var}/cache/%{name}
41export PKGBUILDMINDI="true"
[50]42
[179]43./install.sh
[50]44
[1]45%clean
46%{__rm} -rf $RPM_BUILD_ROOT
47
48%files
[719]49%defattr(-,root,root)
[1388]50%config(noreplace) %{_sysconfdir}/%{name}
[315]51%doc ChangeLog INSTALL COPYING README TODO README.ia64 README.pxe README.busybox svn.log
[423]52%{_mandir}/man8/*
[1388]53%{_libdir}/%{name}
[564]54%{_sbindir}/*
[1513]55%{_var}/cache/%{name}
[1]56
57%changelog
[1593]58PBLOG
Note: See TracBrowser for help on using the repository browser.