source: MondoRescue/branches/2.2.4/mindi/distributions/rpm/mindi.spec@ 1477

Last change on this file since 1477 was 1477, checked in by Bruno Cornec, 17 years ago

RedHat has fixed their pb with _sysconfdir on x86_64 so spec file back to normal.
Reference: http://rhn.redhat.com/errata/RHBA-2007-0315.html
+ FAQ

  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1#
2# $Id: mindi.spec 1477 2007-05-31 17:03:36Z 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
12BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
13ExcludeArch: ppc
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 -n %name-%{version}
27
28%build
29%ifarch ia64
30%{__make} -f Makefile.parted2fdisk clean
31%{__make} -f Makefile.parted2fdisk
32%endif
33
34%install
35%{__rm} -rf $RPM_BUILD_ROOT
36export DONT_RELINK=1
37
38export HEAD=${RPM_BUILD_ROOT}
39export PREFIX=%{_exec_prefix}
40export CONFDIR=%{_sysconfdir}
41export MANDIR=%{_mandir}
42export DOCDIR=%{_docdir}
43export LIBDIR=%{_libdir}
44export RPMBUILDMINDI="true"
45
46./install.sh
47
48%clean
49%{__rm} -rf $RPM_BUILD_ROOT
50
51%files
52%defattr(-,root,root)
53%config(noreplace) %{_sysconfdir}/%{name}
54%doc ChangeLog INSTALL COPYING README TODO README.ia64 README.pxe README.busybox svn.log
55%{_mandir}/man8/*
56%{_libdir}/%{name}
57%{_sbindir}/*
58
59%changelog
Note: See TracBrowser for help on using the repository browser.