Ignore:
Timestamp:
May 12, 2006, 1:21:13 AM (15 years ago)
Author:
bcornec
Message:

Fix a bug in rpm generation
Adds mondo conf file
Remove useless mondo-makefilelist
Rudimentary Script for the test env.
Preparation of the separation of log_msg function in a standalone file
Pass sysconfdir variable from configure system to mondoarchive to find conf file

File:
1 copied

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/distributions/rpm/mondo-doc.spec

    r531 r532  
    33#
    44
    5 %define name    mondo
     5%define name    mondo-doc
    66%define version VVV
    77%define mrel    RRR
     
    1010%define src     SSS
    1111%define grp     GRP
    12 %define addreqb mindi >= 1.0.7, bzip2 >= 0.9, afio, mkisofs, binutils, newt >= 0.50, slang >= 1.4.1
    1312%define addreq  DDD
    1413%define rel     %{mrel}
    1514
    16 Summary:    A program which a Linux user can utilize to create a rescue/restore CD/tape
    17 Summary(fr):    Un programme pour les utilisateurs de Linux pour créer un CD/tape de sauvegarde/restauration
    18 Summary(it):    Un programma per utenti Linux per creare un CD/tape di rescue
    19 Summary(sp):    Un programa para los usuarios de Linux por crear una CD/cinta de restoracion/rescate
     15Summary:    Documentation for Mondo Rescue
     16Summary(fr):    Documentation pour Mondo Rescue
    2017
    2118Name:       %{name}
     
    2724Source:     %{src}
    2825BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
    29 BuildRequires:  newt-devel >= 0.50, slang-devel >= 1.4.1, gcc
     26BuildRequires:  docbook-utils
    3027Epoch:      %(echo EEE | cut -d- -f1 | sed "s~M~~")
    3128OBS
    32 %ifarch ia64
    33 Requires:   %{addreq}, elilo, parted
    34 %else
    35 Requires:   %{addreq}, syslinux >= 1.52
    36 %endif
    3729
    3830%description
    39 Mondo is a GPL disaster recovery solution to create backup media
    40 (CD, DVD, tape, network images) that can be used to redeploy the
    41 damaged system, as well as deploy similar or less similar systems.
     31Documentation for Mondo Rescue
    4232
    4333%description -l fr
    44 Objectif
    45 """"""""
    46 Mondo est une solution GPL de sauvegarde en cas de désastre pour
    47 créer des médias (CD, DVD, bande, images réseau) qui peuvent être
    48 utilisés pour redéployer le système endomangé, aussi bien que des
    49 systèmes similaires, ou moins similaires.
    50 
    51 %description -l it
    52 Scopo
    53 """""
    54 Mondo e' un programma che permette a qualsiasi utente Linux
    55 di creare un cd di rescue/restore (o piu' cd qualora l'installazione
    56 dovesse occupare piu' di 2Gb circa). Funziona con gli azionamenti di
    57 nastro, ed il NFS, anche.
    58 
    59 %description -l sp
    60 Objectivo
    61 """""""""
    62 Mondo es un programa que permite cualquier usuario de Linux a crear una CD
    63 de restoracion/rescate (o CDs, si su instalacion es >2GO aprox.).  Funciona
    64 con cintas y NFS, tambien.
     34Documentation pour Mondo Rescue
    6535
    6636%prep
     
    6838
    6939%build
    70 %configure --program-prefix=%{?_program_prefix}
    7140%{__make} VERSION=%{version}
    7241
    7342%install
    7443%{__rm} -rf $RPM_BUILD_ROOT
    75 %makeinstall
     44%make -f Makefile.man install INSTALLDIR=$RPM_BUILDROOT/$RPM_DOC_DIR/%name-%{version}
     45%make -f Makefile.howto install INSTALLDIR=$RPM_BUILDROOT/$RPM_DOC_DIR/%name-%{version}
    7646
    7747%clean
     
    8050%files
    8151%defattr(644,root,root,755)
    82 %doc ChangeLog svn.log
    83 %doc INSTALL COPYING README TODO AUTHORS NEWS
    84 %doc docs/en/mondorescue-howto.html docs/en/mondorescue-howto.pdf
    85 
    86 %attr(755,root,root) %{_sbindir}/*
    87 %attr(755,root,root) %{_datadir}/%{name}/restore-scripts/%{name}/*
    88 %attr(755,root,root) %{_datadir}/%{name}/autorun
    89 %attr(755,root,root) %{_datadir}/%{name}/post-nuke.sample/usr/bin/post-nuke
    90 %{_datadir}/locale/*/LC_MESSAGES/mondo.mo
    91 %{_datadir}/%{name}/*
    92 %{_mandir}/man8/*
     52%doc svn.log
     53%doc
    9354
    9455%changelog
Note: See TracChangeset for help on using the changeset viewer.