Summary: A simple interface for installing multiple RPMs, handling dependencies automatically. Name: ezrpm Version: 1.2 Release: 1 Copyright: GPL Group: Applications Source: ezrpm-1.2.tar.gz %description EzRPM takes one or more .rpm filenames as parameters, and installs, them handling all dependencies by installing *additional* .rpms as necessary (Additional .rpms are located in the same directories as used by specified rpms, or in one of the directories in the environment variable, RPMPATH). %prep mkdir -p /opt/ezrpm-1.2/doc %setup %build make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" %install install -s -m 755 -o 0 -g 0 ezrpm /opt/ezrpm-1.2/ezrpm install -s -m 644 -o 0 -g 0 doc/README /opt/ezrpm-1.2/doc/README install -s -m 644 -o 0 -g 0 doc/CHANGELOG /opt/ezrpm-1.2/doc/CHANGELOG install -s -m 644 -o 0 -g 0 doc/COPYING /opt/ezrpm-1.2/doc/COPYING %files /opt/ezrpm-1.2 %ghost /usr/doc/ezrpm-1.2/ %post mkdir -p /usr/doc/ezrpm-1.2/ ln -s /opt/ezrpm-1.2/doc/README /usr/doc/ezrpm-1.2/README ln -s /opt/ezrpm-1.2/doc/CHANGELOG /usr/doc/ezrpm-1.2/CHANGELOG ln -s /opt/ezrpm-1.2/doc/COPYING /usr/doc/ezrpm-1.2/COPYING %postun rm -fR /opt/ezrpm-1.2 rm -fR /usr/doc/ezrpm-1.2