source: projects/mondorescue/pbconf/branches/3.0/mindi/rpm/mindi.spec @ 1617

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