diff --git a/.cvsignore b/.cvsignore index e69de29..1077041 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +cook-2.24.tar.gz diff --git a/cook.spec b/cook.spec new file mode 100644 index 0000000..3d56bd7 --- /dev/null +++ b/cook.spec @@ -0,0 +1,64 @@ +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 - 0:2.24-0.fdr.3 +- added check + +* Mon Oct 27 2003 Gerard Milmeister - 0:2.24-0.fdr.2 +- Improved specfile + +* Sat Oct 18 2003 Gerard Milmeister - 0:2.24-0.fdr.1 +- First Fedora release diff --git a/sources b/sources index e69de29..d2a4dc0 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +a6614c7fbabfa7450fec990715684e14 cook-2.24.tar.gz