source: MondoRescue/branches/stable/mondo/distributions/rpm/mondo.spec@ 550

Last change on this file since 550 was 550, checked in by bcornec, 18 years ago

Cleanup in build process continue

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