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

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

Improve spec files after Mageia cauldron delivery

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