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