www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2000/08/22/11:22:13

Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com
Date: 22 Aug 2000 15:21:35 +0000
Discarded-X400-MTS-Extensions: (43) (12) (2) (135) (115) (5) (6) (3)
From: "Michael Ring" <Michael DOT Ring AT t-mobil DOT de> (Tel +49 228/936-2621)
To: "cygwin-apps AT sources DOT redhat DOT com" <cygwin-apps AT sources DOT redhat DOT com>
Subject: Last announcement for today (I hope) : buildscripts for automatisation of rpm-builds
Importance: normal
Autoforwarded: FALSE
Message-Id: <E3602IPM3Q3FK*@MHS>
Original-Encoded-Information-Types: (1) (0) (10021) (7) (1) (0) (6), (1) (0) (10021) (7) (1) (0) (1)

I've uploaded a new package named 

build-rpm-1.0-1.tar.gz

 
ftp://sources.redhat.com/pub/cygwin/private/cygwin-rpm-712/tar

This package includes my build-scripts and some 'meat' to play arround with rpm

How to automate the build process for rpm
=========================================

I have provided some small script that automate the build of software based on
rpm.
The script is called build.sh and also uses config.guess.
It expects source-code and patches to be in RPM's standard directories

/usr/src/redhat/{RPMS,SRPMS,SPECS,SOURCES}

and the scripts themselves should reside in /usr/src/redhat/
If you unpack the tar files from / everything is put in place.

The build script performs the job ob creating/updating rpm-packages.
Based on the version info in the spec-file new software-packages are
built, old ones are deinstalled before new ones are installed.
The information what has do be build and on which platform is hardcoded in the
script.

If you want to learn how SPEC-Files are written the cd to /usr/src/redhat/SPECS,
you will find a collection of wirking spec-files.

How to bootstrap Cygwin + RPM
=============================

If you want to use rpm from scratch and do not want to use any of the
pre-installed packages that were announced today the bootstrap

bootstrap.sh and the bootstrap directory

are for you.

All necessary tools are built and stored in a directory CYGWIN-1.1.4 
This directory is also respected in the build.sh script.

Bootstrapping also works on other platforms. I use it @work to build a rpm-based
distribution of gnu-tools for
Sun-Solaris and Compaq-Tru64. Other platforms might also work. Platform specific
patches are included in the SPEC-Files.


Have fun,


Michael Ring

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019