source: MondoRescue/branches/stable/pbconf/mindi/rpm/mindi.spec@ 1681

Last change on this file since 1681 was 1681, checked in by Bruno Cornec, 17 years ago
  • Update ChangeLogs for upcoming 2.2.5 official release
  • logfile now automatically added to changelog debian file
  • mindi should not be a noarch right now (postponed to 3.0.x)
  • Adds changelog file template for Debian via pbconf
  • Migrate build files to pb
  • Remove old build files under distributions
  • adds a simpler script setupqemu to call pb for VM setup

(merge -r1669:1680 $SVN_M/branches/2.2.5)

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