source: branches/2.0.7/mondo/distributions/rpm/mondo.spec @ 444

Last change on this file since 444 was 444, checked in by bcornec, 14 years ago

mondo depends on mindi > 1.0.7

  • Property svn:keywords set to Id
File size: 2.6 KB
RevLine 
[35]1#
2# $Id: mondo.spec 444 2006-03-16 00:02:37Z bcornec $
3#
[1]4
[53]5%define name    mondo
[237]6%define version VVV
[313]7%define mrel    RRR
[316]8# if mandriva official build (rpm --with is_official)
9%{?is_official:%define rel %{mkrel} %{mrel}}%{!?is_official:%define rel %{mrel}}
[388]10%define src     SSS
11%define grp     GRP
[444]12%define addreqb mindi >= 1.0.7, bzip2 >= 0.9, afio, mkisofs, binutils, newt >= 0.50, slang >= 1.4.1
[395]13%define addreq  DDD
[423]14%define rel     %{mrel}
[53]15
[1]16Summary:    A program which a Linux user can utilize to create a rescue/restore CD/tape
17Summary(fr):    Un programme pour les utilisateurs de Linux pour cr�r un CD/tape de sauvegarde/restauration
18Summary(it):    Un programma per utenti Linux per creare un CD/tape di rescue
19Summary(sp):    Un programa para los usuarios de Linux por crear una CD/cinta de restoracion/rescate
[53]20
21Name:       %{name}
22Version:    %{version}
[423]23Release:    %{rel}
[1]24License:    GPL
[313]25Group:      %{grp}
[53]26Url:        http://mondorescue.berlios.de
27Source:     %{src}
28BuildRoot:  %{_tmppath}/%{name}-%{version}
[1]29BuildRequires:  newt-devel >= 0.50, slang-devel >= 1.4.1, gcc
30%ifarch ia64
[315]31Requires:   %{addreq}, elilo, parted
[1]32%else
[315]33Requires:   %{addreq}, syslinux >= 1.52
[1]34%endif
35
36%description
[423]37Mondo is a GPL disaster recovery solution to create backup media
38(CD, DVD, tape, network images) that can be used to redeploy the
39damaged system, as well as deploy similar or less similar systems.
[1]40
41%description -l fr
42Objectif
43""""""""
[423]44Mondo est une solution GPL de sauvegarde en cas de désastre pour
45créer des médias (CD, DVD, bande, images réseau) qui peuvent être
46utilisés pour redéployer le système endomangé, aussi bien que des
47systèmes similaires, ou moins similaires.
[1]48
49%description -l it
50Scopo
51"""""
52Mondo e' un programma che permette a qualsiasi utente Linux
53di creare un cd di rescue/restore (o piu' cd qualora l'installazione
54dovesse occupare piu' di 2Gb circa). Funziona con gli azionamenti di
55nastro, ed il NFS, anche.
56
57%description -l sp
58Objectivo
59"""""""""
60Mondo es un programa que permite cualquier usuario de Linux a crear una CD
61de restoracion/rescate (o CDs, si su instalacion es >2GO aprox.).  Funciona
62con cintas y NFS, tambien.
63
64%prep
[53]65%setup -q -n %name-%{version}
[1]66
[53]67%build
[402]68%configure
[415]69%{__make} VERSION=%{version}
[1]70
71%install
[53]72%{__rm} -rf $RPM_BUILD_ROOT
73%makeinstall
[1]74
75%clean
76%{__rm} -rf $RPM_BUILD_ROOT
77
78%files
[53]79%defattr(644,root,root,755)
[367]80%doc ChangeLog svn.log
[53]81%doc INSTALL COPYING README TODO AUTHORS NEWS
[402]82%doc docs/en/mondorescue-howto.html docs/en/mondorescue-howto.pdf
[1]83
[53]84%attr(755,root,root) %{_sbindir}/*
[424]85%attr(755,root,root) %{_datadir}/%{name}/restore-scripts/%{name}/*
86%attr(755,root,root) %{_datadir}/%{name}/autorun
87%attr(755,root,root) %{_datadir}/%{name}/post-nuke.sample/usr/bin/post-nuke
88%{_datadir}/%{name}/*
[423]89%{_mandir}/man8/*
[53]90
[402]91%changelog
Note: See TracBrowser for help on using the repository browser.