source: MondoRescue/branches/stable/mindi/distributions/rpm/mindi.spec @ 1513

Last change on this file since 1513 was 1513, checked in by Bruno Cornec, 13 years ago
  • Fix a memory allocation bug where strings were freed to early (Nick Hajek <Nick.Hajek_at_Vishay.com>)
  • Removal of acpi=off causing more problems nowadays than solving issues.
  • RPMBUILDMINDI => PKGBUILDMINDI
  • /var/cache/mindi added to the build process + pkgs
  • Prepare the delivery of the yum conf file from SVN (instead of having static files in ftp server) (inputs from Mark Nienberg)
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1#
2# $Id: mindi.spec 1513 2007-06-24 22:42:59Z bruno $
3#
4Summary:    Mindi creates emergency boot disks/CDs using your kernel, tools and modules
5Name:       mindi
6Version:    VVV
7Release:    RRR
8License:    GPL
9Group:      GRP
10Url:        http://www.mondorescue.org
11Source:     SSS
12BuildArch:  noarch
13BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
14Requires:   bzip2 >= 0.9, mkisofs, ncurses, binutils, gawk, dosfstools, mindi-busybox, parted DDD
15OBS
16# Not on all systems
17#Conflicts: bonnie++
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
26%setup -q
27
28%build
29
30%install
31%{__rm}  -rf $RPM_BUILD_ROOT
32export DONT_RELINK=1
33
34export HEAD=${RPM_BUILD_ROOT}
35export PREFIX=%{_exec_prefix}
36export CONFDIR=%{_sysconfdir}
37export MANDIR=%{_mandir}
38export DOCDIR=%{_docdir}
39export LIBDIR=%{_libdir}
40export CACHEDIR=%{_var}/cache/%{name}
41export PKGBUILDMINDI="true"
42
43./install.sh
44
45%clean
46%{__rm} -rf $RPM_BUILD_ROOT
47
48%files
49%defattr(-,root,root)
50%config(noreplace) %{_sysconfdir}/%{name}
51%doc ChangeLog INSTALL COPYING README TODO README.ia64 README.pxe README.busybox svn.log
52%{_mandir}/man8/*
53%{_libdir}/%{name}
54%{_sbindir}/*
55%{_var}/cache/%{name}
56
57%changelog
Note: See TracBrowser for help on using the repository browser.