source: branches/2.0.8/mondo/distributions/rpm/mondo.spec @ 535

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

merge -r 526:530 $SVN_M/branches/stable

  • Property svn:keywords set to Id
File size: 2.7 KB
Line 
1#
2# $Id: mondo.spec 535 2006-05-11 23:58:09Z 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éer 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://www.mondorescue.org
27Source:     %{src}
28BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
29BuildRequires:  newt-devel >= 0.50, slang-devel >= 1.4.1, gcc
30Epoch:      %(echo EEE | cut -d- -f1 | sed "s~M~~")
31OBS
32%ifarch ia64
33Requires:   %{addreq}, elilo, parted
34%else
35Requires:   %{addreq}, syslinux >= 1.52
36%endif
37
38%description
39Mondo is a GPL disaster recovery solution to create backup media
40(CD, DVD, tape, network images) that can be used to redeploy the
41damaged system, as well as deploy similar or less similar systems.
42
43%description -l fr
44Objectif
45""""""""
46Mondo est une solution GPL de sauvegarde en cas de désastre pour
47créer des médias (CD, DVD, bande, images réseau) qui peuvent être
48utilisés pour redéployer le système endomangé, aussi bien que des
49systèmes similaires, ou moins similaires.
50
51%description -l it
52Scopo
53"""""
54Mondo e' un programma che permette a qualsiasi utente Linux
55di creare un cd di rescue/restore (o piu' cd qualora l'installazione
56dovesse occupare piu' di 2Gb circa). Funziona con gli azionamenti di
57nastro, ed il NFS, anche.
58
59%description -l sp
60Objectivo
61"""""""""
62Mondo es un programa que permite cualquier usuario de Linux a crear una CD
63de restoracion/rescate (o CDs, si su instalacion es >2GO aprox.).  Funciona
64con cintas y NFS, tambien.
65
66%prep
67%setup -q -n %name-%{version}
68
69%build
70%configure --program-prefix=%{?_program_prefix}
71%{__make} VERSION=%{version}
72
73%install
74%{__rm} -rf $RPM_BUILD_ROOT
75%makeinstall
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.