source: trunk/mondo/distributions/rpm/mondo.spec @ 588

Last change on this file since 588 was 588, checked in by bcornec, 13 years ago

merge -r 560:587 $SVN_M/branches/stable

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