source: ProjectBuilder/projects/mondorescue/pbconf/branches/3.3/mindi-busybox/rpm/mindi-busybox.spec@ 2660

Last change on this file since 2660 was 2660, checked in by Bruno Cornec, 3 years ago

Fixes to allow compilation on Fedora 33

File size: 869 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}
[2660]20PBPATCHSRC
[384]21
22%description
[1199]23PBDESC
[384]24
25%prep
[2115]26%setup -q -n %{name}-%{version}PBEXTDIR
[2660]27PBPATCHCMD
[384]28
29%build
30make oldconfig
31make busybox
32
33%install
[488]34rm -rf $RPM_BUILD_ROOT
[384]35
[1805]36export DESTDIR=${RPM_BUILD_ROOT}%{_libdir}/mindi/rootfs
[384]37make CONFIG_PREFIX=$DESTDIR install
[1805]38# Make it compatible with latest crazy /bin removal
39./mondo-install.sh
[384]40
41%clean
[488]42rm -rf $RPM_BUILD_ROOT
[384]43
44%files
45%defattr(-,root,root)
[2082]46%doc ChangeLog LICENSE AUTHORS README TODO NEWS
[384]47#svn.log
[1788]48%{_libdir}/mindi/rootfs
[384]49
50%changelog
51PBLOG
Note: See TracBrowser for help on using the repository browser.