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: 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
|
---|
33 | ExcludeArch: ppc
|
---|
34 | PBOBS
|
---|
35 | # Not on all systems
|
---|
36 | #Conflicts: bonnie++
|
---|
37 |
|
---|
38 | %description
|
---|
39 | PBDESC
|
---|
40 |
|
---|
41 | %prep
|
---|
42 | %setup -q -n %{name}-%{version}PBEXTDIR
|
---|
43 |
|
---|
44 | %build
|
---|
45 |
|
---|
46 | %install
|
---|
47 | rm -rf $RPM_BUILD_ROOT
|
---|
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}
|
---|
54 | export SBINDIR=%{_sbindir}
|
---|
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
|
---|
63 | rm -rf $RPM_BUILD_ROOT
|
---|
64 |
|
---|
65 | %files
|
---|
66 | %defattr(-,root,root)
|
---|
67 | %config(noreplace) %{_sysconfdir}/%{name}
|
---|
68 | %doc ChangeLog COPYING README TODO README.* NEWS
|
---|
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.