%define base_name top100 %define name fortune-%{base_name} %define version 1.0 %define release 1mdk Name: %{name} Version: %{version} Release: %{release} Summary: Top 100 things you don't want the sysadmin to say License: Public Domain Group: Toys Source: %{base_name}.tar.bz2 Url: http://people.redhat.com/andrew/humor/100sys.html BuildArch: noarch Buildroot: %{_tmppath}/%{name}-buildroot Requires: fortune-mod %description The top 100 things you don't want the sysadmin to say in fortune format. %prep %setup -n %{base_name} %build %clean rm -rf $RPM_BUILD_ROOT %install install -d -m 755 $RPM_BUILD_ROOT%{_gamesdatadir}/fortunes install -m 644 %{base_name}* $RPM_BUILD_ROOT%{_gamesdatadir}/fortunes %files %defattr(-,root,root) %{_gamesdatadir}/fortunes/* %changelog * Mon Nov 19 2001 Guillaume Rousse <g.rousse@linux-mandrake.com> 1.0-1mdk - first Mandrake release