%define ver 1.99.1 %define release %mkrel 2 %define distsuffix plf Summary: Offensive Cookies for the fortune program Name: fortune-offensive Version: %{ver} Release: %{release} License: BSD Group: Toys Url: http://www.redellipse.net/code/fortune/ # Sources of the program Source: http://www.redellipse.net/code/downloads/fortune-mod-%version.tar.bz2 BuildRoot: %{_tmppath}/%{name}-buildroot BuildArch: noarch Buildrequires: fortune-mod Requires: fortune-mod %description This package includes the offensive cookies from the original fortune-mod distribution, that couldn't be included in the official Mandriva Linux distribution. This package is in PLF, as the cookies might offend some people. %prep %setup -q -n fortune-mod-%version %build cd datfiles/off/unrotated for datei in *; do /usr/sbin/strfile $datei; done %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_datadir}/games/fortunes/off install -m 644 datfiles/off/unrotated/* $RPM_BUILD_ROOT%{_datadir}/games/fortunes/off %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc README ChangeLog TODO %{_datadir}/games/fortunes/off %changelog * Tue Apr 17 2007 Götz Waschk <goetz@zarb.org> 1.99.1-2plf2007.1 - rebuild * Wed Feb 28 2007 Götz Waschk <goetz@zarb.org> 1.99.1-1plf2007.1 - new version * Mon Jul 10 2006 Götz Waschk <goetz@zarb.org> 1.0-5plf - Rebuild - use mkrel * Mon May 23 2005 Götz Waschk <goetz@zarb.org> 1.0-4plf - Rebuild * Mon Sep 20 2004 Götz Waschk <goetz@zarb.org> 1.0-3plf - fix description * Sun Feb 17 2002 Götz Waschk <waschk@linux-mandrake.com> 1.0-2plf - rebuild for right vendor tag * Fri Feb 15 2002 Götz Waschk <waschk@linux-mandrake.com> 1.0-1plf - initial package