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
Line 
1#
2# $Id: mindi.spec 1866 2008-01-16 15:29:04Z bruno $
3#
4%global debug_package %{nil}
5
6Summary: PBSUMMARY
7Name: PBPKG
8Version: PBVER
9Release: PBTAGPBSUF
10License: PBLIC
11Group: PBGRP
12Url: PBURL
13Source: PBREPO/PBSRC
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)
17Requires: bash, bzip2 >= 0.9, mkisofs, ncurses, binutils, gawk, dosfstools, mindi-busybox >= 1.7.3, parted, perl, mtools, syslinux, PBDEP
18ExcludeArch: ppc
19PBOBS
20# Not on all systems
21#Conflicts: bonnie++
22
23%description
24PBDESC
25
26%prep
27%setup -q
28
29%build
30
31%install
32rm -rf $RPM_BUILD_ROOT
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
47rm -rf $RPM_BUILD_ROOT
48
49%files
50%defattr(-,root,root)
51%config(noreplace) %{_sysconfdir}/%{name}
52%doc ChangeLog COPYING README TODO README.* NEWS
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.