RedHat 8.0 dependency issue with Squeak-vm-3.4-gamma1.i386.RPM
Ian Piumarta
ian.piumarta at inria.fr
Thu Feb 13 21:09:37 UTC 2003
On 13 Feb 2003, Marcelo Roberto Jimenez wrote:
> Ian,
>
> Can you tell me exactly how do you generate the rpms (what commands,
yes | rpm -bb Squeak-vm.spec
> make what? :-) ).
make dist-rpm-bin
(but don't try that at home ;). Sordid details following.
Ian
-------- relevant bits of Makefile:
PWD= $(shell pwd)
RPM= yes | rpm
dist-rpm-bin : rpm-bin
mv Squeak*.rpm ../dist/.
/bin/rm -rf usr *.spec
rpm-bin : config.rpm Squeak-vm.spec BUILD RPMS/ppc .force
/bin/rm -rf usr
$(RPM) -bb Squeak-vm.spec
/bin/rm -rf usr
mv /usr/src/rpm/RPMS/*/Squeak*.rpm .
config.rpm : $(cfgdir)/configure.ac
CONFIG_STATUS=./config.rpm ../platforms/unix/config/configure \
--prefix=/usr
%.spec : $(UTIL)/%.spec $(UTIL)/Makefile.dist
sed '\
s,\[sqmajor\],$(SQ_MAJOR),g;\
s,\[sqminor\],$(SQ_MINOR),g;\
s,\[squpdate\],$(SQ_UPDATE),g;\
s,\[sqversion\],$(SQ_VERSION),g;\
s,\[vmmajor\],$(VM_MAJOR),g;\
s,\[vmminor\],$(VM_MINOR),g;\
s,\[vmrelease\],$(VM_RELEASE),g;\
s,\[vmversion\],$(VM_VERSION),g;\
s,\[vmsource\],$(VM_SOURCE),g;\
s,\[vmurl\],$(VM_URL),g;\
s,\[squrl\],$(SQ_URL),g;\
s,\[pwd\],$(PWD),g;' < $< > $@
-------- Squeak-vm.spec:
Name: Squeak-vm
Summary: The Squeak virual machine
Version: [vmmajor].[vmminor]
Release: [vmrelease]
Vendor: Squeak.org
URL: [vmurl]
Source: [source]
Copyright: Squeak Software License
Group: Development/Languages
BuildRoot: [pwd]
AutoReqProv: no
Requires: glibc XFree86-libs
%description
Squeak is a full-featured implementation of the Smalltalk programming
language and environment based on (and largely compatible with) the
original Smalltalk-80 system.
This package contains just the Squeak virtual machine. You will have
to install it before you install the package Squeak.
%prep
%build
%install
cd [pwd]
make install ROOT=[pwd]
%clean
%files
/usr
More information about the Squeak-dev
mailing list
|