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

Last change on this file since 1663 was 1663, checked in by Bruno Cornec, 17 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
RevLine 
[35]1#
2# $Id: mondo.spec 1663 2007-09-27 10:21:18Z bruno $
3#
[1]4
[1663]5Summary: A program to create a rescue/restore CD/tape
6Summary(fr): Un programme pour créer un media de sauvegarde/restauration
[1]7Summary(it): Un programma per utenti Linux per creare un CD/tape di rescue
[1663]8Summary(sp): Un programa por crear una CD/cinta de restoracion/rescate
[53]9
[1593]10Name: PBPKG
11Version: PBVER
[1633]12Release: PBTAGPBSUF
[1]13License: GPL
[1593]14Group: PBGRP
[543]15Url: http://www.mondorescue.org
[1593]16Source: PBSRC
[543]17BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
[1076]18BuildRequires: newt-devel >= 0.50, gettext-devel
[825]19ExcludeArch: ppc
[1603]20PBOBS
[1593]21Requires: mindi >= 1.2.1, bzip2 >= 0.9, afio, mkisofs, binutils, newt >= 0.50, gettext, buffer, cdrecord, PBDEP
[1]22%ifarch ia64
[825]23Requires: elilo, parted
[1]24%else
[825]25Requires: syslinux >= 1.52
[1]26%endif
27
28%description
[423]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.
[1]32
33%description -l fr
34Objectif
35""""""""
[1663]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.
[1]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
[1121]57%setup -q
[1]58
[53]59%build
[825]60%configure
61make %{?_smp_mflags} VERSION=%{version}
[1]62
63%install
[53]64%{__rm} -rf $RPM_BUILD_ROOT
[825]65make DESTDIR=$RPM_BUILD_ROOT install
[1513]66mkdir -p $RPM_BUILD_ROOT/%{_var}/cache/%{name}
[1]67
68%clean
69%{__rm} -rf $RPM_BUILD_ROOT
70
71%files
[719]72%defattr(-,root,root)
[1568]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
[367]77%doc ChangeLog svn.log
[53]78%doc INSTALL COPYING README TODO AUTHORS NEWS
[402]79%doc docs/en/mondorescue-howto.html docs/en/mondorescue-howto.pdf
[1]80
[1388]81%{_datadir}/locale/*/LC_MESSAGES/%{name}.mo
[567]82%{_sbindir}/*
[568]83%{_datadir}/%{name}
[423]84%{_mandir}/man8/*
[1513]85%{_var}/cache/%{name}
[53]86
[402]87%changelog
[1593]88PBLOG
Note: See TracBrowser for help on using the repository browser.