source: branches/stable/pbconf/project-builder/rpm/mondo.spec @ 1593

Last change on this file since 1593 was 1593, checked in by Bruno Cornec, 13 years ago

First addition of pbconf dir to try to use project-builder to build mondo
instead of dedicated scripts (Cf: http://www.project-builder.org)

  • Property svn:keywords set to Id
File size: 2.5 KB
RevLine 
[35]1#
2# $Id: mondo.spec 1593 2007-08-26 10:20:31Z bruno $
3#
[1]4
5Summary:    A program which a Linux user can utilize to create a rescue/restore CD/tape
[542]6Summary(fr):    Un programme pour les utilisateurs de Linux pour créer un CD/tape de sauvegarde/restauration
[1]7Summary(it):    Un programma per utenti Linux per creare un CD/tape di rescue
8Summary(sp):    Un programa para los usuarios de Linux por crear una CD/cinta de restoracion/rescate
[53]9
[1593]10Name:       PBPKG
11Version:    PBVER
12Release:    PBTAG
[1]13License:    GPL
[1593]14Group:      PBGRP
[543]15Url:        http://www.mondorescue.org
[1593]16Source:     PBSRC
[543]17BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
[1076]18BuildRequires:  newt-devel >= 0.50, gettext-devel
[825]19ExcludeArch:    ppc
[542]20OBS
[1593]21Requires:   mindi >= 1.2.1, bzip2 >= 0.9, afio, mkisofs, binutils, newt >= 0.50, gettext, buffer, cdrecord, PBDEP
[1]22%ifarch ia64
[825]23Requires:   elilo, parted
[1]24%else
[825]25Requires:   syslinux >= 1.52
[1]26%endif
27
28%description
[423]29Mondo is a GPL disaster recovery solution to create backup media
30(CD, DVD, tape, network images) that can be used to redeploy the
31damaged system, as well as deploy similar or less similar systems.
[1]32
33%description -l fr
34Objectif
35""""""""
[423]36Mondo est une solution GPL de sauvegarde en cas de désastre pour
37créer des médias (CD, DVD, bande, images réseau) qui peuvent être
38utilisés pour redéployer le système endomangé, aussi bien que des
39systèmes similaires, ou moins similaires.
[1]40
41%description -l it
42Scopo
43"""""
44Mondo e' un programma che permette a qualsiasi utente Linux
45di creare un cd di rescue/restore (o piu' cd qualora l'installazione
46dovesse occupare piu' di 2Gb circa). Funziona con gli azionamenti di
47nastro, ed il NFS, anche.
48
49%description -l sp
50Objectivo
51"""""""""
52Mondo es un programa que permite cualquier usuario de Linux a crear una CD
53de restoracion/rescate (o CDs, si su instalacion es >2GO aprox.).  Funciona
54con cintas y NFS, tambien.
55
56%prep
[1121]57%setup -q
[1]58
[53]59%build
[825]60%configure
61make %{?_smp_mflags} VERSION=%{version}
[1]62
63%install
[53]64%{__rm} -rf $RPM_BUILD_ROOT
[825]65make DESTDIR=$RPM_BUILD_ROOT install
[1513]66mkdir -p $RPM_BUILD_ROOT/%{_var}/cache/%{name}
[1]67
68%clean
69%{__rm} -rf $RPM_BUILD_ROOT
70
71%files
[719]72%defattr(-,root,root)
[1568]73%config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
74%config %{_sysconfdir}/%{name}/%{name}.conf.sample
75%config %{_sysconfdir}/%{name}/%{name}.conf.dist
76%config %{_sysconfdir}/%{name}/%{name}.conf.dist.md5
[367]77%doc ChangeLog svn.log
[53]78%doc INSTALL COPYING README TODO AUTHORS NEWS
[402]79%doc docs/en/mondorescue-howto.html docs/en/mondorescue-howto.pdf
[1]80
[1388]81%{_datadir}/locale/*/LC_MESSAGES/%{name}.mo
[567]82%{_sbindir}/*
[568]83%{_datadir}/%{name}
[423]84%{_mandir}/man8/*
[1513]85%{_var}/cache/%{name}
[53]86
[402]87%changelog
[1593]88PBLOG
Note: See TracBrowser for help on using the repository browser.