BASH Programming - Введение

       

Простой spec-файл


Следующая информация это часть spec-файла для пакета ``fileutils''. Он настроен для построения и на Alpha и на Intel платформах.

Summary: GNU File Utilities Name: fileutils Version: 3.16 Release: 1 Copyright: GPL Group: Utilities/File Source0: prep.ai.mit.edu:/pub/gnu/fileutils-3.16.tar.gz Source1: DIR_COLORS Patch: fileutils-3.16-mktime.patch

%description These are the GNU file management utilities. It includes programs to copy, move, list, etc, files.

The ls program in this package now incorporates color ls!

%prep %setup

%ifarch alpha %patch -p1 autoconf %endif %build configure --prefix=/usr --exec-prefix=/ make CFLAGS="$RPM_OPT_FLAGS" LDFLAGS=-s

%install rm -f /usr/info/fileutils* make install gzip -9nf /usr/info/fileutils*

. . .



Содержание раздела