Last change
on this file since 3358 was 1866, checked in by Bruno Cornec, 17 years ago |
improve spec file by factoring all README
|
-
Property svn:keywords
set to
Id
|
File size:
1.4 KB
|
Rev | Line | |
---|
[35] | 1 | #
|
---|
| 2 | # $Id: mindi.spec 1866 2008-01-16 15:29:04Z bruno $
|
---|
| 3 | #
|
---|
[1] | 4 | Summary: Mindi creates emergency boot disks/CDs using your kernel, tools and modules
|
---|
[1593] | 5 | Name: PBPKG
|
---|
| 6 | Version: PBVER
|
---|
[1632] | 7 | Release: PBTAGPBSUF
|
---|
[1] | 8 | License: GPL
|
---|
[1593] | 9 | Group: PBGRP
|
---|
[542] | 10 | Url: http://www.mondorescue.org
|
---|
[1593] | 11 | Source: PBSRC
|
---|
[1677] | 12 | # Not yet possible as busybox is a binary that should go alongside
|
---|
| 13 | # BuildArch: noarch
|
---|
[542] | 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
|
---|
[1778] | 15 | Requires: bzip2 >= 0.9, mkisofs, ncurses, binutils, gawk, dosfstools, mindi-busybox, parted, perl, mtools, PBDEP
|
---|
[1593] | 16 | PBOBS
|
---|
[20] | 17 | # Not on all systems
|
---|
| 18 | #Conflicts: bonnie++
|
---|
[1] | 19 |
|
---|
| 20 | %description
|
---|
| 21 | Mindi takes your kernel, modules, tools and libraries, and puts them on N
|
---|
| 22 | bootable disks (or 1 bootable CD image). You may then boot from the disks/CD
|
---|
| 23 | and do system maintenance - e.g. format partitions, backup/restore data,
|
---|
| 24 | verify packages, etc.
|
---|
| 25 |
|
---|
| 26 | %prep
|
---|
[1121] | 27 | %setup -q
|
---|
[1] | 28 |
|
---|
| 29 | %build
|
---|
| 30 |
|
---|
| 31 | %install
|
---|
[542] | 32 | %{__rm} -rf $RPM_BUILD_ROOT
|
---|
[50] | 33 | export DONT_RELINK=1
|
---|
| 34 |
|
---|
[936] | 35 | export HEAD=${RPM_BUILD_ROOT}
|
---|
| 36 | export PREFIX=%{_exec_prefix}
|
---|
| 37 | export CONFDIR=%{_sysconfdir}
|
---|
| 38 | export MANDIR=%{_mandir}
|
---|
[1682] | 39 | #export DOCDIR=%{_docdir}
|
---|
[936] | 40 | export LIBDIR=%{_libdir}
|
---|
[1513] | 41 | export CACHEDIR=%{_var}/cache/%{name}
|
---|
| 42 | export 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}
|
---|
[1866] | 52 | %doc ChangeLog INSTALL COPYING README TODO README.* NEWS
|
---|
[1808] | 53 | #svn.log
|
---|
[423] | 54 | %{_mandir}/man8/*
|
---|
[1388] | 55 | %{_libdir}/%{name}
|
---|
[564] | 56 | %{_sbindir}/*
|
---|
[1513] | 57 | %{_var}/cache/%{name}
|
---|
[1] | 58 |
|
---|
| 59 | %changelog
|
---|
[1593] | 60 | PBLOG
|
---|
Note:
See
TracBrowser
for help on using the repository browser.