Changeset 388 in MondoRescue for branches/stable/mondo/distributions


Ignore:
Timestamp:
Feb 14, 2006, 11:36:15 PM (18 years ago)
Author:
bcornec
Message:

RPMs are now made with a .spec containing m4 macros expanded with tools/mkrpm
this allows for a simpler spec file at the end,
which should be suited for at least Mandriva official packages.
Added a new mkspec tool which does the expansion
This way of dealing with distributions will be used is some other areas in the future

Location:
branches/stable/mondo/distributions
Files:
7 added
2 edited
1 moved

Legend:

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

    r367 r388  
    22# $Id$
    33#
    4 %define is_mandriva %(test -e /etc/mandriva-release && echo 1 || echo 0)
    5 %define is_mandrake %(test -e /etc/mandrake-release && echo 1 || echo 0)
    6 %define is_suse %(test -e /etc/SuSE-release && echo 1 || echo 0)
    7 %define is_fedora %(test -e /etc/fedora-release && echo 1 || echo 0)
    8 %define is_redhat %(test -e /etc/redhat-release && echo 1 || echo 0)
    94
    105%define name    mondo
     
    138# if mandriva official build (rpm --with is_official)
    149%{?is_official:%define rel %{mkrel} %{mrel}}%{!?is_official:%define rel %{mrel}}
    15 %define src     %{name}-%{version}.tgz
    16 %define grp     Archiving/Backup
     10%define src     SSS
     11%define grp     GRP
    1712%define addreqb mindi >= 1.05, bzip2 >= 0.9, afio, mkisofs, binutils, newt >= 0.50, slang >= 1.4.1
    18 
    19 %if %is_redhat
    20 %define grp     Applications/Archiving
    21 %define addreq  %{addreqb}
    22 Autoreq:        0
    23 %endif
    24 
    25 %if %is_mandrake
    26 %define src     %{name}-%{version}.tar.bz2
    27 %define addreq  %{addreqb}
    28 Autoreqprov:    no
    29 %endif
    30 
    31 %if %is_mandriva
    32 %define src     %{name}-%{version}.tar.bz2
    33 %define addreq  %{addreqb}
    34 Autoreqprov:    no
    35 %endif
    36 
    37 %if %is_suse
    38 %define addreq  %{addreqb}
    39 %endif
    4013
    4114Summary:    A program which a Linux user can utilize to create a rescue/restore CD/tape
  • branches/stable/mondo/distributions/rpm/mondorescue.conf

    r344 r388  
    55# We tried to give sensible defaults in this file.
    66# Changing some values may render mondorescue instable
    7 # or causes failures. Use with care.
     7# or cause failures. Use with care.
    88
    99
     
    165165# Images creation dir
    166166#
    167 image_dir="/root/images/mindi"
     167images_dir="/root/images/mindi"
Note: See TracChangeset for help on using the changeset viewer.