source: MondoRescue/trunk/mondo/distributions/rpm/mondo.spec @ 448

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

merge -r435:447 $SVN_M/branches/stable

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