|
Last change
on this file since 2256 was 2240, checked in by Bruno Cornec, 9 years ago |
|
e2fsprogs is needed on rpm based distro (and wasn't installed on opensuse 42.2)
|
|
File size:
1.4 KB
|
| Line | |
|---|
| 1 | #
|
|---|
| 2 | # $Id$
|
|---|
| 3 | #
|
|---|
| 4 | # Avoids to generate debug packages
|
|---|
| 5 | %global debug_package %{nil}
|
|---|
| 6 | %define srcname PBPKG
|
|---|
| 7 |
|
|---|
| 8 | Summary: PBSUMMARY
|
|---|
| 9 | Name: PBPKG
|
|---|
| 10 | Version: PBVER
|
|---|
| 11 | Release: PBTAGPBSUF
|
|---|
| 12 | License: PBLIC
|
|---|
| 13 | Group: PBGRP
|
|---|
| 14 | Url: PBURL
|
|---|
| 15 | Source: PBREPO/PBSRC
|
|---|
| 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)
|
|---|
| 19 | Requires: bash
|
|---|
| 20 | Requires: bzip2 >= 0.9
|
|---|
| 21 | Requires: e2fsprogs
|
|---|
| 22 | Requires: mkisofs
|
|---|
| 23 | Requires: ncurses
|
|---|
| 24 | Requires: binutils
|
|---|
| 25 | Requires: gawk
|
|---|
| 26 | Requires: dosfstools
|
|---|
| 27 | Requires: mindi-busybox >= 1.21.1
|
|---|
| 28 | Requires: parted
|
|---|
| 29 | Requires: perl-MondoRescue
|
|---|
| 30 | Requires: mtools
|
|---|
| 31 | Requires: syslinux
|
|---|
| 32 | Requires: perl-Module-ScanDeps
|
|---|
| 33 | Requires: perl-IO-Interface,PBDEP
|
|---|
| 34 | ExcludeArch: ppc
|
|---|
| 35 | PBOBS
|
|---|
| 36 | # Not on all systems
|
|---|
| 37 | #Conflicts: bonnie++
|
|---|
| 38 |
|
|---|
| 39 | %description
|
|---|
| 40 | PBDESC
|
|---|
| 41 |
|
|---|
| 42 | %prep
|
|---|
| 43 | %setup -q -n %{name}-%{version}PBEXTDIR
|
|---|
| 44 |
|
|---|
| 45 | %build
|
|---|
| 46 |
|
|---|
| 47 | %install
|
|---|
| 48 | rm -rf $RPM_BUILD_ROOT
|
|---|
| 49 | export DONT_RELINK=1
|
|---|
| 50 |
|
|---|
| 51 | export HEAD=${RPM_BUILD_ROOT}
|
|---|
| 52 | export PREFIX=%{_exec_prefix}
|
|---|
| 53 | export CONFDIR=%{_sysconfdir}
|
|---|
| 54 | export MANDIR=%{_mandir}
|
|---|
| 55 | export SBINDIR=%{_sbindir}
|
|---|
| 56 | #export DOCDIR=%{_docdir}
|
|---|
| 57 | export LIBDIR=%{_libdir}
|
|---|
| 58 | export CACHEDIR=%{_var}/cache/%{name}
|
|---|
| 59 | export PKGBUILDMINDI="true"
|
|---|
| 60 |
|
|---|
| 61 | ./install.sh
|
|---|
| 62 |
|
|---|
| 63 | %clean
|
|---|
| 64 | rm -rf $RPM_BUILD_ROOT
|
|---|
| 65 |
|
|---|
| 66 | %files
|
|---|
| 67 | %defattr(-,root,root)
|
|---|
| 68 | %config(noreplace) %{_sysconfdir}/%{name}
|
|---|
| 69 | %doc ChangeLog COPYING README TODO README.* NEWS
|
|---|
| 70 | #svn.log
|
|---|
| 71 | %{_mandir}/man8/*
|
|---|
| 72 | %{_libdir}/%{name}
|
|---|
| 73 | %{_sbindir}/*
|
|---|
| 74 | %{_var}/cache/%{name}
|
|---|
| 75 |
|
|---|
| 76 | %changelog
|
|---|
| 77 | PBLOG
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.