source: ProjectBuilder/projects/mondorescue/pbconf/branches/3.2/mindi-busybox/rpm/mindi-busybox.spec@ 2115

Last change on this file since 2115 was 2115, checked in by Bruno Cornec, 8 years ago

Adapt MondoRescue to pb 0.14.x usage with new naming

File size: 847 bytes
Line 
1#
2# $Id$
3#
4%define srcname PBPKG
5
6Summary: PBSUMMARY
7Name: PBPKG
8Version: PBVER
9Release: PBTAGPBSUF
10License: GPLv2
11Group: PBGRP
12Url: PBURL
13Source: PBREPO/PBSRC
14BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
15PBBUILDREQ
16# Cf: https://bugzilla.redhat.com/show_bug.cgi?id=588550
17ExcludeArch: ppc
18# Avoids to generate debug packages
19%global debug_package %{nil}
20
21%description
22PBDESC
23
24%prep
25%setup -q -n %{name}-%{version}PBEXTDIR
26
27%build
28make oldconfig
29make busybox
30
31%install
32rm -rf $RPM_BUILD_ROOT
33
34export DESTDIR=${RPM_BUILD_ROOT}%{_libdir}/mindi/rootfs
35make CONFIG_PREFIX=$DESTDIR install
36# Make it compatible with latest crazy /bin removal
37./mondo-install.sh
38
39%clean
40rm -rf $RPM_BUILD_ROOT
41
42%files
43%defattr(-,root,root)
44%doc ChangeLog LICENSE AUTHORS README TODO NEWS
45#svn.log
46%{_libdir}/mindi/rootfs
47
48%changelog
49PBLOG
Note: See TracBrowser for help on using the repository browser.