source: ProjectBuilder/projects/mondorescue/pbconf/branches/3.0-mindi-2.1/mindi/rpm/mindi.spec@ 2069

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

No debug package mentoioned to allow Fedora 23 generation

File size: 1.1 KB
RevLine 
[384]1#
2# $Id: mindi.spec 1866 2008-01-16 15:29:04Z bruno $
3#
[2069]4%global debug_package %{nil}
5
[1199]6Summary: PBSUMMARY
[384]7Name: PBPKG
8Version: PBVER
9Release: PBTAGPBSUF
[488]10License: PBLIC
[384]11Group: PBGRP
[488]12Url: PBURL
[429]13Source: PBREPO/PBSRC
[384]14# Not yet possible as busybox is a binary that should go alongside
15# BuildArch: noarch
16BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
[1676]17Requires: bash, bzip2 >= 0.9, mkisofs, ncurses, binutils, gawk, dosfstools, mindi-busybox >= 1.7.3, parted, perl, mtools, syslinux, PBDEP
[928]18ExcludeArch: ppc
[384]19PBOBS
20# Not on all systems
21#Conflicts: bonnie++
22
23%description
[1199]24PBDESC
[384]25
26%prep
27%setup -q
28
29%build
30
31%install
[488]32rm -rf $RPM_BUILD_ROOT
[384]33export DONT_RELINK=1
34
35export HEAD=${RPM_BUILD_ROOT}
36export PREFIX=%{_exec_prefix}
37export CONFDIR=%{_sysconfdir}
38export MANDIR=%{_mandir}
39#export DOCDIR=%{_docdir}
40export LIBDIR=%{_libdir}
41export CACHEDIR=%{_var}/cache/%{name}
42export PKGBUILDMINDI="true"
43
44./install.sh
45
46%clean
[488]47rm -rf $RPM_BUILD_ROOT
[384]48
49%files
50%defattr(-,root,root)
51%config(noreplace) %{_sysconfdir}/%{name}
[1770]52%doc ChangeLog COPYING README TODO README.* NEWS
[384]53#svn.log
54%{_mandir}/man8/*
55%{_libdir}/%{name}
56%{_sbindir}/*
57%{_var}/cache/%{name}
58
59%changelog
60PBLOG
Note: See TracBrowser for help on using the repository browser.