Blob Blame History Raw
Name:		cook
Version:	2.24
Release:	0.fdr.4.rh90
Epoch:		0
Summary: 	A file construction tool
Group:		Development/Tools

URL:		http://www.canb.auug.org.au/~millerp/cook/
License:	GPL
Source:		http://www.canb.auug.org.au/~millerp/cook/cook-2.24.tar.gz
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:  groff, bison, gettext, sharutils, m4
Provides:	perl(host_lists.pl)

%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.

%prep
%setup -q

%build
%configure
make
for f in lib/en/*.ps; do
    gzip -c $f > $f.gz
done

%install
rm -fr ${RPM_BUILD_ROOT}
mkdir -p $RPM_BUILD_ROOT%{_bindir}
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
mkdir -p $RPM_BUILD_ROOT%{_datadir}/cook/en/man1
mkdir -p $RPM_BUILD_ROOT%{_libdir}/cook/en/LC_MESSAGES
make DESTDIR=${RPM_BUILD_ROOT} install
rm -fr ${RPM_BUILD_ROOT}%{_datadir}/cook/en

%check
make sure

%clean
rm -fr ${RPM_BUILD_ROOT}

%files
%defattr (-,root,root,-)
%{_bindir}/*
%{_libdir}/cook
%{_datadir}/cook
%{_mandir}/man1/*
%doc lib/en/*.ps.gz
%doc README LICENSE

%changelog
* Tue Oct 28 2003 Gerard Milmeister <gemi@bluewin.ch> - 0:2.24-0.fdr.3
- added check

* Mon Oct 27 2003 Gerard Milmeister <gemi@bluewin.ch> - 0:2.24-0.fdr.2
- Improved specfile

* Sat Oct 18 2003 Gerard Milmeister <gemi@bluewin.ch> - 0:2.24-0.fdr.1
- First Fedora release