source: branches/stable/pbconf/mondo/rpm/mondo.spec @ 1663

Last change on this file since 1663 was 1663, checked in by Bruno Cornec, 13 years ago
  • Fix bug #197 (based on an initial patch of Scott Cummings)
  • Fix a bug where df was using locale to print messages and wasn't filtered correctly
  • mkdtemp checked in configure
  • reset_bkpinfo called as early as possible by both main program.
  • It creates a tmpdir cleanly with mkdtemp in setup_tmpdir subfunction, which takes in account TMPIR and TMP env var. Remains to see what tmpfs does and tests
  • configure.in should also be filtered.
  • Remove g_bkpinfo_DONTUSETHIS
  • remove bkpinfo also from header files
  • Render bkpinfo global (potential issue on thread, but should not be a problem as that structure is indeed static during archive)
  • Apply patch from Andree Leidenfrost, modified a bit to use bkpinfo->tmpdir instead of /tmp or MINDI_CACHE when appropriate. Fix security issues in mondo. Thanks al ot Andree for catching all those issues.
  • /tmp => /var/log for mondorestore.log in mindi
  • Update linux terminfo to fix a color issue (Andree Leidenfrost)
  • Removes useless log file (Andree Leidenfrost)
  • replace vi with find_my_editor during restore (Andree Leidenfrost)
  • sync in bg in mindi (VMWare issue to look at)
  • mindi/mindi-busybox have a different version than mondo for pb
  • PB-SUF also added to spec file
  • Fix a bug for pb build (omission of PB-SUF declaration)

(merge -r1631:1662 $SVN_M/branches/2.2.5)

  • Property svn:keywords set to Id
File size: 2.4 KB
Line 
1#
2# $Id: mondo.spec 1663 2007-09-27 10:21:18Z bruno $
3#
4
5Summary:    A program to create a rescue/restore CD/tape
6Summary(fr):    Un programme pour créer un media de sauvegarde/restauration
7Summary(it):    Un programma per utenti Linux per creare un CD/tape di rescue
8Summary(sp):    Un programa por crear una CD/cinta de restoracion/rescate
9
10Name:       PBPKG
11Version:    PBVER
12Release:    PBTAGPBSUF
13License:    GPL
14Group:      PBGRP
15Url:        http://www.mondorescue.org
16Source:     PBSRC
17BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
18BuildRequires:  newt-devel >= 0.50, gettext-devel
19ExcludeArch:    ppc
20PBOBS
21Requires:   mindi >= 1.2.1, bzip2 >= 0.9, afio, mkisofs, binutils, newt >= 0.50, gettext, buffer, cdrecord, PBDEP
22%ifarch ia64
23Requires:   elilo, parted
24%else
25Requires:   syslinux >= 1.52
26%endif
27
28%description
29Mondo is a GPL disaster recovery solution to create backup media
30(CD, DVD, tape, network images) that can be used to redeploy the
31damaged system, as well as deploy similar or less similar systems.
32
33%description -l fr
34Objectif
35""""""""
36Mondo est une solution GPL de sauvegarde en cas de désastre pour
37créer des médias (CD, DVD, bande, images réseau) qui peuvent être
38utilisés pour redéployer le système endomangé, aussi bien que des
39systèmes similaires, ou moins similaires.
40
41%description -l it
42Scopo
43"""""
44Mondo e' un programma che permette a qualsiasi utente Linux
45di creare un cd di rescue/restore (o piu' cd qualora l'installazione
46dovesse occupare piu' di 2Gb circa). Funziona con gli azionamenti di
47nastro, ed il NFS, anche.
48
49%description -l sp
50Objectivo
51"""""""""
52Mondo es un programa que permite cualquier usuario de Linux a crear una CD
53de restoracion/rescate (o CDs, si su instalacion es >2GO aprox.).  Funciona
54con cintas y NFS, tambien.
55
56%prep
57%setup -q
58
59%build
60%configure
61make %{?_smp_mflags} VERSION=%{version}
62
63%install
64%{__rm} -rf $RPM_BUILD_ROOT
65make DESTDIR=$RPM_BUILD_ROOT install
66mkdir -p $RPM_BUILD_ROOT/%{_var}/cache/%{name}
67
68%clean
69%{__rm} -rf $RPM_BUILD_ROOT
70
71%files
72%defattr(-,root,root)
73%config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
74%config %{_sysconfdir}/%{name}/%{name}.conf.sample
75%config %{_sysconfdir}/%{name}/%{name}.conf.dist
76%config %{_sysconfdir}/%{name}/%{name}.conf.dist.md5
77%doc ChangeLog svn.log
78%doc INSTALL COPYING README TODO AUTHORS NEWS
79%doc docs/en/mondorescue-howto.html docs/en/mondorescue-howto.pdf
80
81%{_datadir}/locale/*/LC_MESSAGES/%{name}.mo
82%{_sbindir}/*
83%{_datadir}/%{name}
84%{_mandir}/man8/*
85%{_var}/cache/%{name}
86
87%changelog
88PBLOG
Note: See TracBrowser for help on using the repository browser.