Last change
on this file since 2280 was 2280, checked in by Bruno Cornec, 7 years ago |
Fix SLES12 & OpenSUSE deps for mkisofs missing now
|
File size:
1.4 KB
|
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
|
---|
[2240] | 21 | Requires: e2fsprogs
|
---|
[2082] | 22 | Requires: ncurses
|
---|
| 23 | Requires: binutils
|
---|
| 24 | Requires: gawk
|
---|
| 25 | Requires: dosfstools
|
---|
| 26 | Requires: mindi-busybox >= 1.21.1
|
---|
| 27 | Requires: parted
|
---|
[2280] | 28 | Requires: which
|
---|
| 29 | Requires: grep >= 2.5
|
---|
[2082] | 30 | Requires: perl-MondoRescue
|
---|
| 31 | Requires: mtools
|
---|
| 32 | Requires: syslinux
|
---|
| 33 | Requires: perl-Module-ScanDeps
|
---|
| 34 | Requires: perl-IO-Interface,PBDEP
|
---|
[928] | 35 | ExcludeArch: ppc
|
---|
[384] | 36 | PBOBS
|
---|
| 37 | # Not on all systems
|
---|
| 38 | #Conflicts: bonnie++
|
---|
| 39 |
|
---|
| 40 | %description
|
---|
[1199] | 41 | PBDESC
|
---|
[384] | 42 |
|
---|
| 43 | %prep
|
---|
[2115] | 44 | %setup -q -n %{name}-%{version}PBEXTDIR
|
---|
[384] | 45 |
|
---|
| 46 | %build
|
---|
| 47 |
|
---|
| 48 | %install
|
---|
[488] | 49 | rm -rf $RPM_BUILD_ROOT
|
---|
[384] | 50 | export DONT_RELINK=1
|
---|
| 51 |
|
---|
| 52 | export HEAD=${RPM_BUILD_ROOT}
|
---|
| 53 | export PREFIX=%{_exec_prefix}
|
---|
| 54 | export CONFDIR=%{_sysconfdir}
|
---|
| 55 | export MANDIR=%{_mandir}
|
---|
[1806] | 56 | export SBINDIR=%{_sbindir}
|
---|
[384] | 57 | #export DOCDIR=%{_docdir}
|
---|
| 58 | export LIBDIR=%{_libdir}
|
---|
| 59 | export CACHEDIR=%{_var}/cache/%{name}
|
---|
| 60 | export PKGBUILDMINDI="true"
|
---|
| 61 |
|
---|
| 62 | ./install.sh
|
---|
| 63 |
|
---|
| 64 | %clean
|
---|
[488] | 65 | rm -rf $RPM_BUILD_ROOT
|
---|
[384] | 66 |
|
---|
| 67 | %files
|
---|
| 68 | %defattr(-,root,root)
|
---|
| 69 | %config(noreplace) %{_sysconfdir}/%{name}
|
---|
[1770] | 70 | %doc ChangeLog COPYING README TODO README.* NEWS
|
---|
[384] | 71 | #svn.log
|
---|
| 72 | %{_mandir}/man8/*
|
---|
| 73 | %{_libdir}/%{name}
|
---|
| 74 | %{_sbindir}/*
|
---|
| 75 | %{_var}/cache/%{name}
|
---|
| 76 |
|
---|
| 77 | %changelog
|
---|
| 78 | PBLOG
|
---|
Note:
See
TracBrowser
for help on using the repository browser.