source: branches/stable/mondo/distributions/rpm/mondo.spec @ 567

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

Same for mondo: setup modes correctly in SVN and get rid of %attr an %defattr in spec files to get correct packages

  • Property svn:keywords set to Id
File size: 2.5 KB
RevLine 
[35]1#
2# $Id: mondo.spec 567 2006-05-20 22:29:40Z bcornec $
3#
[1]4
[313]5%define mrel    RRR
[554]6%define tag     TTT
[316]7# if mandriva official build (rpm --with is_official)
8%{?is_official:%define rel %{mkrel} %{mrel}}%{!?is_official:%define rel %{mrel}}
[550]9%define addreq  mindi >= 1.0.7, bzip2 >= 0.9, afio, mkisofs, binutils, newt >= 0.50, slang >= 1.4.1 DDD
[53]10
[1]11Summary:    A program which a Linux user can utilize to create a rescue/restore CD/tape
[542]12Summary(fr):    Un programme pour les utilisateurs de Linux pour créer un CD/tape de sauvegarde/restauration
[1]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
[53]15
[550]16Name:       mondo
17Version:    VVV
18Release:    %{mrel}
[1]19License:    GPL
[550]20Group:      GRP
[543]21Url:        http://www.mondorescue.org
[550]22Source:     SSS
[543]23BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
[1]24BuildRequires:  newt-devel >= 0.50, slang-devel >= 1.4.1, gcc
[542]25OBS
[1]26%ifarch ia64
[315]27Requires:   %{addreq}, elilo, parted
[1]28%else
[315]29Requires:   %{addreq}, syslinux >= 1.52
[1]30%endif
31
32%description
[423]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.
[1]36
37%description -l fr
38Objectif
39""""""""
[423]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.
[1]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
[555]61%setup -q -n %name-%{version}-%{tag}
[1]62
[53]63%build
[542]64%configure --program-prefix=%{?_program_prefix}
[415]65%{__make} VERSION=%{version}
[1]66
67%install
[53]68%{__rm} -rf $RPM_BUILD_ROOT
69%makeinstall
[1]70
71%clean
72%{__rm} -rf $RPM_BUILD_ROOT
73
74%files
[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
[567]79%{_sbindir}/*
80%{_datadir}/%{name}/restore-scripts/%{name}/*
81%{_datadir}/%{name}/autorun
82%{_datadir}/%{name}/post-nuke.sample/usr/bin/post-nuke
[424]83%{_datadir}/%{name}/*
[423]84%{_mandir}/man8/*
[53]85
[402]86%changelog
Note: See TracBrowser for help on using the repository browser.