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
RevLine 
[35]1#
2# $Id: mondo.spec 550 2006-05-14 17:54:15Z bcornec $
3#
[1]4
[313]5%define mrel RRR
[316]6# if mandriva official build (rpm --with is_official)
7%{?is_official:%define rel %{mkrel} %{mrel}}%{!?is_official:%define rel %{mrel}}
[550]8%define addreq mindi >= 1.0.7, bzip2 >= 0.9, afio, mkisofs, binutils, newt >= 0.50, slang >= 1.4.1 DDD
[53]9
[1]10Summary: A program which a Linux user can utilize to create a rescue/restore CD/tape
[542]11Summary(fr): Un programme pour les utilisateurs de Linux pour créer un CD/tape de sauvegarde/restauration
[1]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
[53]14
[550]15Name: mondo
16Version: VVV
17Release: %{mrel}
[1]18License: GPL
[550]19Group: GRP
[543]20Url: http://www.mondorescue.org
[550]21Source: SSS
[543]22BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
[1]23BuildRequires: newt-devel >= 0.50, slang-devel >= 1.4.1, gcc
[542]24OBS
[1]25%ifarch ia64
[315]26Requires: %{addreq}, elilo, parted
[1]27%else
[315]28Requires: %{addreq}, syslinux >= 1.52
[1]29%endif
30
31%description
[423]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.
[1]35
36%description -l fr
37Objectif
38""""""""
[423]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.
[1]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
[53]60%setup -q -n %name-%{version}
[1]61
[53]62%build
[542]63%configure --program-prefix=%{?_program_prefix}
[415]64%{__make} VERSION=%{version}
[1]65
66%install
[53]67%{__rm} -rf $RPM_BUILD_ROOT
68%makeinstall
[1]69
70%clean
71%{__rm} -rf $RPM_BUILD_ROOT
72
73%files
[53]74%defattr(644,root,root,755)
[367]75%doc ChangeLog svn.log
[53]76%doc INSTALL COPYING README TODO AUTHORS NEWS
[402]77%doc docs/en/mondorescue-howto.html docs/en/mondorescue-howto.pdf
[1]78
[53]79%attr(755,root,root) %{_sbindir}/*
[424]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}/*
[423]84%{_mandir}/man8/*
[53]85
[402]86%changelog
Note: See TracBrowser for help on using the repository browser.