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

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

merge -r489:506 $SVN_M/branches/stable

  • Property svn:keywords set to Id
File size: 2.8 KB
Line 
1#
2# $Id: mondo.spec 507 2006-04-30 00:04:16Z 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éer 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
29Epoch:      %(echo EEE | cut -d- -f1 | sed "s~M~~")
30OBS
31%ifarch ia64
32Requires:   %{addreq}, elilo, parted
33%else
34Requires:   %{addreq}, syslinux >= 1.52
35%endif
36
37%description
38Mondo is a GPL disaster recovery solution to create backup media
39(CD, DVD, tape, network images) that can be used to redeploy the
40damaged system, as well as deploy similar or less similar systems.
41
42%description -l fr
43Objectif
44""""""""
45Mondo est une solution GPL de sauvegarde en cas de désastre pour
46créer des médias (CD, DVD, bande, images réseau) qui peuvent être
47utilisés pour redéployer le système endomangé, aussi bien que des
48systèmes similaires, ou moins similaires.
49
50%description -l it
51Scopo
52"""""
53Mondo e' un programma che permette a qualsiasi utente Linux
54di creare un cd di rescue/restore (o piu' cd qualora l'installazione
55dovesse occupare piu' di 2Gb circa). Funziona con gli azionamenti di
56nastro, ed il NFS, anche.
57
58%description -l sp
59Objectivo
60"""""""""
61Mondo es un programa que permite cualquier usuario de Linux a crear una CD
62de restoracion/rescate (o CDs, si su instalacion es >2GO aprox.).  Funciona
63con cintas y NFS, tambien.
64
65%prep
66%setup -q -n %name-%{version}
67
68%build
69%configure --program-prefix=%{?_program_prefix}
70%{__make} VERSION=%{version}
71
72%install
73%{__rm} -rf $RPM_BUILD_ROOT
74%makeinstall
75%if %is_suse
76%{__rm} -rf $RPM_BUILD_ROOT/%{_datadir}/doc/%name-%{version}
77%endif
78
79%clean
80%{__rm} -rf $RPM_BUILD_ROOT
81
82%files
83%defattr(644,root,root,755)
84%doc ChangeLog svn.log
85%doc INSTALL COPYING README TODO AUTHORS NEWS
86%doc docs/en/mondorescue-howto.html docs/en/mondorescue-howto.pdf
87
88%attr(755,root,root) %{_sbindir}/*
89%attr(755,root,root) %{_datadir}/%{name}/restore-scripts/%{name}/*
90%attr(755,root,root) %{_datadir}/%{name}/autorun
91%attr(755,root,root) %{_datadir}/%{name}/post-nuke.sample/usr/bin/post-nuke
92%{_datadir}/locale/*/LC_MESSAGES/mondo.mo
93%{_datadir}/%{name}/*
94%{_mandir}/man8/*
95
96%changelog
Note: See TracBrowser for help on using the repository browser.