source: projects/mondorescue/pbconf/branches/3.3/mondo/rpm/mondo.spec @ 2346

Last change on this file since 2346 was 2346, checked in by bruno, 10 months ago

Fix dependencies and arch:

  • mindi requires either syslinux or elilo
  • mondo deosn't require syslinux by itself
  • fix allowaed archs instead of excluding some
File size: 2.1 KB
Line 
1#
2# $Id$
3#
4%define srcname PBPKG
5
6Summary:    PBSUMMARY
7Summary(fr):    Un programme pour créer un media de sauvegarde/restauration ou de clonage
8Summary(it):    Un programma per utenti Linux per creare un CD/tape di rescue
9Summary(sp):    Un programa por crear una CD/cinta de restoracion/rescate
10
11Name:       PBPKG
12Version:    PBVER
13Release:    PBTAGPBSUF
14License:    PBLIC
15Group:      PBGRP
16Url:        PBURL
17Source:     PBREPO/PBSRC
18BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
19BuildRequires:  newt-devel >= 0.50, PBBUILDREQ
20BuildRequires:  autoconf
21BuildRequires:  automake
22BuildRequires:  libtool
23ExclusiveArch:  x86_64 i586 i386 i686 ia64
24PBOBS
25Requires:   mindi >= 3.0.2, PBDEP
26Requires:   bzip2 >= 0.9
27Requires:   afio
28Requires:   binutils
29Requires:   newt >= 0.50
30Requires:   buffer
31Requires:   parted
32Requires:   net-tools
33
34%description
35PBDESC
36
37%description -l fr
38Objectif
39""""""""
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 endommagé, aussi bien que des
43systèmes similaires, ou moins similaires.
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
61%setup -q -n %{name}-%{version}PBEXTDIR
62
63%build
64PBCONFIGURE
65make %{?_smp_mflags} VERSION=%{version}
66
67%install
68rm -rf $RPM_BUILD_ROOT
69make DESTDIR=$RPM_BUILD_ROOT install
70mkdir -p $RPM_BUILD_ROOT/%{_var}/cache/%{name}
71
72%clean
73rm -rf $RPM_BUILD_ROOT
74
75%files
76%defattr(-,root,root)
77%doc ChangeLog
78#svn.log
79%doc COPYING README* TODO AUTHORS NEWS*
80%doc docs/en/mondorescue-howto.html docs/en/mondorescue-howto.pdf
81
82%{_sbindir}/*
83%{_datadir}/%{name}/
84%{_libdir}/%{name}/
85%{_mandir}/man8/*
86%{_var}/cache/%{name}
87
88%changelog
89PBLOG
Note: See TracBrowser for help on using the repository browser.