source: ProjectBuilder/projects/mondorescue/pbconf/tags/3.2.2/mindi-busybox/rpm/mindi-busybox.spec@ 2081

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