Репозитории ALT
5.1: | 2.32-alt1 |
4.1: | 2.31-alt1 |
4.0: | 2.26-alt1 |
3.0: | 2.25-alt2 |
Группа :: Разработка/Прочее
Пакет: cook
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%set_perl_req_method relaxed
Summary: a file construction tool
Name: cook
Version: 2.25
Release: alt2
License: GPL
Group: Development/Other
Source: http://www.canb.auug.org.au/~millerp/cook/%name-%version.tar.bz2
URL: http://www.canb.auug.org.au/~millerp/cook/
Icon: %name.gif
Packager: Alexey Voinov <voins at altlinux.ru>
Patch2: %name-2.21-alt-dep.patch
Patch3: %name-2.25-alt-fixincl.patch
Patch4: %name-2.25-alt-option.patch
# Automatically added by buildreq on Fri Apr 26 2002
BuildRequires: bison groff librx-devel sh
%description
Cook is a tool for constructing files. It is given a set of files to
create, and recipes of how to create them. In any non-trivial program
there will be prerequisites to performing the actions necessary to
creating any file, such as include files. The cook program provides a
mechanism to define these.
When a program is being developed or maintained, the programmer will
typically change one file of several which comprise the program. Cook
examines the last-modified times of the files to see when the
prerequisites of a file have changed, implying that the file needs to be
recreated as it is logically out of date.
Cook also provides a facility for implicit recipes, allowing users to
specify how to form a file with a given suffix from a file with a
different suffix. For example, to create filename.o from filename.c
* Cook is a replacement for the traditional make(1) tool. However, it
is necessary to convert makefiles into cookbooks using the make2cook
utility included in the distribution.
* Cook has a simple but powerful string-based description language with
many built-in functions. This allows sophisticated filename
specification and manipulation without loss of readability or
performance.
* Cook is able to use fingerprints to supplement file modification
times. This allows build optimization without contorted rules.
* Cook is able to build your project with multiple parallel threads,
with support for rules which must be single threaded. It is possible
to distribute parallel builds over your LAN, allowing you to turn your
network into a virtual parallel build engine.
If you are putting together a source-code distribution and planning to
write a makefile, consider writing a cookbook instead. Although Cook
takes a day or two to learn, it is much more powerful and a bit more
intuitave than the traditional make(1) tool. And Cook doesn't interpret
tab differently to 8 space characters!
%package psdocs
Summary: Cook documentation, PostScript format
Group: Development/Other
%description psdocs
Cook documentation in PostScript format.
%package dvidocs
Summary: Cook documentation, DVI format
Group: Development/Other
%description dvidocs
Cook documentation in DVI format.
%prep
%setup -q
%patch2 -p1 -b .dep
%patch3 -p1 -b .fixincl
%patch4 -p1 -b .option
%build
%configure --with-nlsdir=%_datadir/locale
make
%install
make RPM_BUILD_ROOT=$RPM_BUILD_ROOT install
mv $RPM_BUILD_ROOT%_libdir/%name/* $RPM_BUILD_ROOT%_datadir/locale
%files
%dir %_datadir/%name
%_bindir/*
%_man1dir/*
%_datadir/locale/*
%_datadir/%name/as
%_datadir/%name/bison
%_datadir/%name/c
%_datadir/%name/c++
%_datadir/%name/f77
%_datadir/%name/functions
%_datadir/%name/g77
%_datadir/%name/gcc
%_datadir/%name/home
%_datadir/%name/host_lists.pl
%_datadir/%name/lex
%_datadir/%name/library
%_datadir/%name/print
%_datadir/%name/program
%_datadir/%name/rcs
%_datadir/%name/recursive
%_datadir/%name/sccs
%_datadir/%name/text
%_datadir/%name/usr
%_datadir/%name/usr.local
%_datadir/%name/yacc
%_datadir/%name/yacc_many
%_datadir/%name/en/*.txt
%files psdocs
%_datadir/%name/en/*.ps
%files dvidocs
%_datadir/%name/en/*.dvi
%changelog
…
Полный changelog можно просмотреть здесь
Summary: a file construction tool
Name: cook
Version: 2.25
Release: alt2
License: GPL
Group: Development/Other
Source: http://www.canb.auug.org.au/~millerp/cook/%name-%version.tar.bz2
URL: http://www.canb.auug.org.au/~millerp/cook/
Icon: %name.gif
Packager: Alexey Voinov <voins at altlinux.ru>
Patch2: %name-2.21-alt-dep.patch
Patch3: %name-2.25-alt-fixincl.patch
Patch4: %name-2.25-alt-option.patch
# Automatically added by buildreq on Fri Apr 26 2002
BuildRequires: bison groff librx-devel sh
%description
Cook is a tool for constructing files. It is given a set of files to
create, and recipes of how to create them. In any non-trivial program
there will be prerequisites to performing the actions necessary to
creating any file, such as include files. The cook program provides a
mechanism to define these.
When a program is being developed or maintained, the programmer will
typically change one file of several which comprise the program. Cook
examines the last-modified times of the files to see when the
prerequisites of a file have changed, implying that the file needs to be
recreated as it is logically out of date.
Cook also provides a facility for implicit recipes, allowing users to
specify how to form a file with a given suffix from a file with a
different suffix. For example, to create filename.o from filename.c
* Cook is a replacement for the traditional make(1) tool. However, it
is necessary to convert makefiles into cookbooks using the make2cook
utility included in the distribution.
* Cook has a simple but powerful string-based description language with
many built-in functions. This allows sophisticated filename
specification and manipulation without loss of readability or
performance.
* Cook is able to use fingerprints to supplement file modification
times. This allows build optimization without contorted rules.
* Cook is able to build your project with multiple parallel threads,
with support for rules which must be single threaded. It is possible
to distribute parallel builds over your LAN, allowing you to turn your
network into a virtual parallel build engine.
If you are putting together a source-code distribution and planning to
write a makefile, consider writing a cookbook instead. Although Cook
takes a day or two to learn, it is much more powerful and a bit more
intuitave than the traditional make(1) tool. And Cook doesn't interpret
tab differently to 8 space characters!
%package psdocs
Summary: Cook documentation, PostScript format
Group: Development/Other
%description psdocs
Cook documentation in PostScript format.
%package dvidocs
Summary: Cook documentation, DVI format
Group: Development/Other
%description dvidocs
Cook documentation in DVI format.
%prep
%setup -q
%patch2 -p1 -b .dep
%patch3 -p1 -b .fixincl
%patch4 -p1 -b .option
%build
%configure --with-nlsdir=%_datadir/locale
make
%install
make RPM_BUILD_ROOT=$RPM_BUILD_ROOT install
mv $RPM_BUILD_ROOT%_libdir/%name/* $RPM_BUILD_ROOT%_datadir/locale
%files
%dir %_datadir/%name
%_bindir/*
%_man1dir/*
%_datadir/locale/*
%_datadir/%name/as
%_datadir/%name/bison
%_datadir/%name/c
%_datadir/%name/c++
%_datadir/%name/f77
%_datadir/%name/functions
%_datadir/%name/g77
%_datadir/%name/gcc
%_datadir/%name/home
%_datadir/%name/host_lists.pl
%_datadir/%name/lex
%_datadir/%name/library
%_datadir/%name/print
%_datadir/%name/program
%_datadir/%name/rcs
%_datadir/%name/recursive
%_datadir/%name/sccs
%_datadir/%name/text
%_datadir/%name/usr
%_datadir/%name/usr.local
%_datadir/%name/yacc
%_datadir/%name/yacc_many
%_datadir/%name/en/*.txt
%files psdocs
%_datadir/%name/en/*.ps
%files dvidocs
%_datadir/%name/en/*.dvi
%changelog
…
Полный changelog можно просмотреть здесь