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

Last change on this file since 2282 was 2282, checked in by bruno, 18 months ago

Fix deps for SLES 12 and OpenSUSE 42.2

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
23ExcludeArch:    ppc
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%ifarch ia64
34Requires:   elilo
35%else
36Requires:   syslinux >= 1.52
37%endif
38
39%description
40PBDESC
41
42%description -l fr
43Objectif
44""""""""
45Mondo est une solution GPL de sauvegarde en cas de désastre pour
46créer des médias (CD, DVD, bande, images réseau) qui peuvent être
47utilisés pour redéployer le système endommagé, aussi bien que des
48systèmes similaires, ou moins similaires.
49
50%description -l it
51Scopo
52"""""
53Mondo e' un programma che permette a qualsiasi utente Linux
54di creare un cd di rescue/restore (o piu' cd qualora l'installazione
55dovesse occupare piu' di 2Gb circa). Funziona con gli azionamenti di
56nastro, ed il NFS, anche.
57
58%description -l sp
59Objectivo
60"""""""""
61Mondo es un programa que permite cualquier usuario de Linux a crear una CD
62de restoracion/rescate (o CDs, si su instalacion es >2GO aprox.).  Funciona
63con cintas y NFS, tambien.
64
65%prep
66%setup -q -n %{name}-%{version}PBEXTDIR
67
68%build
69PBCONFIGURE
70make %{?_smp_mflags} VERSION=%{version}
71
72%install
73rm -rf $RPM_BUILD_ROOT
74make DESTDIR=$RPM_BUILD_ROOT install
75mkdir -p $RPM_BUILD_ROOT/%{_var}/cache/%{name}
76
77%clean
78rm -rf $RPM_BUILD_ROOT
79
80%files
81%defattr(-,root,root)
82%doc ChangeLog
83#svn.log
84%doc COPYING README* TODO AUTHORS NEWS*
85%doc docs/en/mondorescue-howto.html docs/en/mondorescue-howto.pdf
86
87%{_sbindir}/*
88%{_datadir}/%{name}/
89%{_libdir}/%{name}/
90%{_mandir}/man8/*
91%{_var}/cache/%{name}
92
93%changelog
94PBLOG
Note: See TracBrowser for help on using the repository browser.