Rev | Line | |
---|
[384] | 1 | #
|
---|
[2115] | 2 | # $Id$
|
---|
[384] | 3 | #
|
---|
[2064] | 4 | # Avoids to generate debug packages
|
---|
| 5 | %global debug_package %{nil}
|
---|
[2115] | 6 | %define srcname PBPKG
|
---|
[2064] | 7 |
|
---|
[1199] | 8 | Summary: PBSUMMARY
|
---|
[384] | 9 | Name: PBPKG
|
---|
| 10 | Version: PBVER
|
---|
| 11 | Release: PBTAGPBSUF
|
---|
[488] | 12 | License: PBLIC
|
---|
[384] | 13 | Group: PBGRP
|
---|
[488] | 14 | Url: PBURL
|
---|
[429] | 15 | Source: PBREPO/PBSRC
|
---|
[384] | 16 | # Not yet possible as busybox is a binary that should go alongside
|
---|
| 17 | # BuildArch: noarch
|
---|
| 18 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
|
---|
[2082] | 19 | Requires: bash
|
---|
| 20 | Requires: bzip2 >= 0.9
|
---|
| 21 | Requires: mkisofs
|
---|
| 22 | Requires: ncurses
|
---|
| 23 | Requires: binutils
|
---|
| 24 | Requires: gawk
|
---|
| 25 | Requires: dosfstools
|
---|
| 26 | Requires: mindi-busybox >= 1.21.1
|
---|
| 27 | Requires: parted
|
---|
| 28 | Requires: perl-MondoRescue
|
---|
| 29 | Requires: mtools
|
---|
| 30 | Requires: syslinux
|
---|
| 31 | Requires: perl-Module-ScanDeps
|
---|
| 32 | Requires: perl-IO-Interface,PBDEP
|
---|
[928] | 33 | ExcludeArch: ppc
|
---|
[384] | 34 | PBOBS
|
---|
| 35 | # Not on all systems
|
---|
| 36 | #Conflicts: bonnie++
|
---|
| 37 |
|
---|
| 38 | %description
|
---|
[1199] | 39 | PBDESC
|
---|
[384] | 40 |
|
---|
| 41 | %prep
|
---|
[2115] | 42 | %setup -q -n %{name}-%{version}PBEXTDIR
|
---|
[384] | 43 |
|
---|
| 44 | %build
|
---|
| 45 |
|
---|
| 46 | %install
|
---|
[488] | 47 | rm -rf $RPM_BUILD_ROOT
|
---|
[384] | 48 | export DONT_RELINK=1
|
---|
| 49 |
|
---|
| 50 | export HEAD=${RPM_BUILD_ROOT}
|
---|
| 51 | export PREFIX=%{_exec_prefix}
|
---|
| 52 | export CONFDIR=%{_sysconfdir}
|
---|
| 53 | export MANDIR=%{_mandir}
|
---|
[1806] | 54 | export SBINDIR=%{_sbindir}
|
---|
[384] | 55 | #export DOCDIR=%{_docdir}
|
---|
| 56 | export LIBDIR=%{_libdir}
|
---|
| 57 | export CACHEDIR=%{_var}/cache/%{name}
|
---|
| 58 | export PKGBUILDMINDI="true"
|
---|
| 59 |
|
---|
| 60 | ./install.sh
|
---|
| 61 |
|
---|
| 62 | %clean
|
---|
[488] | 63 | rm -rf $RPM_BUILD_ROOT
|
---|
[384] | 64 |
|
---|
| 65 | %files
|
---|
| 66 | %defattr(-,root,root)
|
---|
| 67 | %config(noreplace) %{_sysconfdir}/%{name}
|
---|
[1770] | 68 | %doc ChangeLog COPYING README TODO README.* NEWS
|
---|
[384] | 69 | #svn.log
|
---|
| 70 | %{_mandir}/man8/*
|
---|
| 71 | %{_libdir}/%{name}
|
---|
| 72 | %{_sbindir}/*
|
---|
| 73 | %{_var}/cache/%{name}
|
---|
| 74 |
|
---|
| 75 | %changelog
|
---|
| 76 | PBLOG
|
---|
Note:
See
TracBrowser
for help on using the repository browser.