%ifos darwin %define __defattr %defattr(-,root,wheel) %else %define __defattr %defattr(-,root,root) %endif Summary: A dictionary of English words for the /usr/dict directory. Name: words Version: 2 Release: 17b Copyright: freeware Group: System Environment/Libraries Source: ftp://metalab.unc.edu/pub/Linux/libs/linux.words.2.tar.gz Patch0: linux.words.2-jbj.patch Patch1: linux.words.2-mmm.patch Patch2: linux.words.2-meat.patch BuildArchitectures: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-root %description The words file is a dictionary of English words for the /usr/share/dict directory. Programs like ispell use this database of words to check spelling - and password checkers use it to look for bad passwords. %prep %setup -q -c %patch0 -p1 %patch1 -p1 %patch2 -p1 %build %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_prefix}/share/dict cp usr/dict/linux.words $RPM_BUILD_ROOT%{_prefix}/share/dict ln -sf linux.words $RPM_BUILD_ROOT%{_prefix}/share/dict/words %clean rm -rf $RPM_BUILD_ROOT %files %{__defattr} %doc usr/dict/README.linux.words %doc usr/dict/README2.linux.words %{_prefix}/share/dict/linux.words %{_prefix}/share/dict/words %changelog * Thu Oct 11 2001 Keisuke Fujii - 1st build on MacOS X Release 10.1 * Mon May 14 2001 Keisuke Fujii - 1st build on MacOS X Release * Fri Apr 6 2001 Trond Eivind Glomsrød - Add carnivore (#35031) * Thu Jul 13 2000 Prospector - automatic rebuild * Tue Jun 13 2000 Trond Eivind Glomsrød - use %%{_tmppath} * Thu Apr 13 2000 Nalin Dahyabhai - add some words: some food additives, dinosaurs, atmospheric terms * Fri Apr 07 2000 Trond Eivind Glomsrød - update description - moved it to /usr/share/dict - updated URL * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 12) * Wed Sep 30 1998 Bill Nottingham - take out extra.words (they're all in linux.words) * Sun Aug 23 1998 Jeff Johnson - correct desiccate (problem #794) * Tue Aug 11 1998 Jeff Johnson - build root * Mon Apr 27 1998 Prospector System - translations modified for de, fr, tr * Tue Oct 21 1997 Donnie Barnes - spec file cleanups * Tue Sep 23 1997 Erik Troan - made a noarch package