source: branches/stable/mondo/distributions/rpm/mondo.spec @ 445

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

Fix a bug for where to find spec file (family was incorrect)
mondo depends on mindi > 1.0.7

  • Property svn:keywords set to Id
File size: 2.6 KB
Line 
1#
2# $Id: mondo.spec 445 2006-03-16 00:18:15Z 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 addreq  DDD
14%define rel     %{mrel}
15
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
20
21Name:       %{name}
22Version:    %{version}
23Release:    %{rel}
24License:    GPL
25Group:      %{grp}
26Url:        http://mondorescue.berlios.de
27Source:     %{src}
28BuildRoot:  %{_tmppath}/%{name}-%{version}
29BuildRequires:  newt-devel >= 0.50, slang-devel >= 1.4.1, gcc
30%ifarch ia64
31Requires:   %{addreq}, elilo, parted
32%else
33Requires:   %{addreq}, syslinux >= 1.52
34%endif
35
36%description
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.
40
41%description -l fr
42Objectif
43""""""""
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.
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
65%setup -q -n %name-%{version}
66
67%build
68%configure
69%{__make} VERSION=%{version}
70
71%install
72%{__rm} -rf $RPM_BUILD_ROOT
73%makeinstall
74
75%clean
76%{__rm} -rf $RPM_BUILD_ROOT
77
78%files
79%defattr(644,root,root,755)
80%doc ChangeLog svn.log
81%doc INSTALL COPYING README TODO AUTHORS NEWS
82%doc docs/en/mondorescue-howto.html docs/en/mondorescue-howto.pdf
83
84%attr(755,root,root) %{_sbindir}/*
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}/*
89%{_mandir}/man8/*
90
91%changelog
Note: See TracBrowser for help on using the repository browser.