source: projects/mondorescue/pbconf/branches/3.2/mindi/rpm/mindi.spec @ 1829

Last change on this file since 1829 was 1829, checked in by Bruno Cornec, 6 years ago
File size: 1.2 KB
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.21.1, parted, perl-MondoRescue, mtools, syslinux, 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}
37export SBINDIR=%{_sbindir}
38#export DOCDIR=%{_docdir}
39export LIBDIR=%{_libdir}
40export CACHEDIR=%{_var}/cache/%{name}
41export PKGBUILDMINDI="true"
42
43./install.sh
44
45%clean
46rm -rf $RPM_BUILD_ROOT
47
48%files
49%defattr(-,root,root)
50%config(noreplace) %{_sysconfdir}/%{name}
51%doc ChangeLog COPYING README TODO README.* NEWS
52#svn.log
53%{_mandir}/man8/*
54%{_libdir}/%{name}
55%{_sbindir}/*
56%{_var}/cache/%{name}
57
58%changelog
59PBLOG
Note: See TracBrowser for help on using the repository browser.