%define name filters %define version 2.46 %define rel 1 %define release %mkrel %rel Name: %name Version: %version Release: %release Summary: A collection of text filters, including the Swedish Chef License: GPL Group: Toys URL: http://kitenet.net/~joey/code/filters.html # author distributes tarball only from debian pool Source: http://ftp.debian.org/debian/pool/main/f/filters/%{name}_%{version}.tar.gz Patch0: filters-printf-format.patch BuildRequires: flex, byacc BuildRoot: %{_tmppath}/%{name}-root %description A collection of filters to do all sorts of strange things to text. This includes such favorites as B1FF and the Swedish Chef, and a wide range of others. %prep %setup -q -n %{name} %patch0 -p1 sed -r -i '/\s+g*cc/s,g*cc,\$(CC),' *.dir/makefile %build export CC="%__cc %optflags" %make %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %files %defattr(0644,root,root,0755) %doc README %attr(0755,root,root) %{_gamesbindir}/* %{_mandir}/man6/* %changelog * Thu Jul 09 2009 Anssi Hannula <anssi@mandriva.org> 2.46-1mdv2010.0 + Revision: 393974 - new version - fix format-security errors (printf-format.patch) * Sun May 11 2008 Anssi Hannula <anssi@mandriva.org> 2.44-1mdv2009.0 + Revision: 205453 - update to new version 2.44 * Fri Dec 21 2007 Olivier Blin <oblin@mandriva.com> 2.40-1mdv2008.1 + Revision: 136415 - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Sat Sep 01 2007 Anssi Hannula <anssi@mandriva.org> 2.40-1mdv2008.0 + Revision: 77430 - 2.40 - Import filters * Sat Jul 15 2006 Anssi Hannula <anssi@mandriva.org> 2.39-1mdv2007.0 - clean spec - add URL - apply %%optflags * Wed Jun 1 2005 Claudio Matsuoka <claudio@mandriva.com> 2.33-1mdk - created mdk package. * Thu Aug 21 2003 Claudio Matsuoka <claudio@conectiva.com> + 2003-08-21 19:05:26 (34521) - Initial commit.