Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2:Test
ispell
ispell.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ispell.spec of Package ispell
# # spec file for package ispell (Version 3.3.02) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: ispell BuildRequires: bison ncurses-devel words Url: http://www.lasr.cs.ucla.edu/geoff/ispell.html License: BSD 3-clause (or similar) Group: Productivity/Text/Spell PreReq: fillup fileutils Provides: spell Requires: words ispell_english_dictionary ispell_dictionary AutoReqProv: on Version: 3.3.02 Release: 86 BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: A Spell Checker Source: ispell-3.3.02.tar.bz2 Source1: SuSEconfig.ispell Source2: sysconfig.ispell Patch0: ispell-3.3.02.dif Patch1: ispell-3.3.02-config.patch Patch2: ispell-3.2.06-suse.patch Patch3: ispell-3.3.02-languages.patch Patch4: ispell-3.3.02-types.patch Patch5: ispell-3.3.02-terminal.patch Patch6: ispell-3.3.02-sq.patch Patch7: ispell-3.3.02-brkgcc.patch Patch8: ispell-3.3.02-mkdir.patch Patch9: ispell-3.3.02-strip.patch Patch10: ispell-3.3.02-getline.patch %description Ispell is a fast, screen-oriented spell checker that shows you your errors in the context of the original file and suggests possible corrections when it can figure them out. Compared to UNIX spell, it is faster and much easier to use. Ispell can also handle languages other than English. Ispell has a long history and many people have contributed to the current version--some of the major contributors include R. E. Gorin, Pace Willisson, Walt Buehring, and Geoff Kuenning. You can find a short description in the directory /usr/share/doc/packages/ispell/. Authors: -------- R. E. Gorin Pace Willisson <pace@ai.mit.edu> Walt Buehring Goeff Kuenning <geoff@ITcorp.com> %package -n ispell-american License: BSD 3-clause (or similar) Summary: American ispell dictionary Group: Productivity/Text/Spell Provides: ispell_english_dictionary ispell_dictionary iamerica locale(ispell:en) Obsoletes: iamerica AutoReqProv: on %description -n ispell-american This package includes a ready American dictionary for ispell. If you install ispell-british too, check /etc/sysconfig/ispell to see which one the default English dictionary will be. A short usage description is given in /usr/share/doc/packages/ispell/README. The sources for this dictionary are included in the source package of ispell. %package -n ispell-british License: BSD 3-clause (or similar) Summary: British ispell dictionary Group: Productivity/Text/Spell Provides: ispell_english_dictionary ispell_dictionary ibritish locale(ispell:en_GB) Obsoletes: ibritish AutoReqProv: on %description -n ispell-british This packages includes a ready British dictionary for ispell. If you install ispell-american too, check /etc/sysconfig/ispell to see which one will be the default English dictionary. A short usage description is given in /usr/share/doc/packages/ispell/README. The sources for this dictionary are included in the source package of ispell. %prep %setup %patch -P 0 -p 0 -b .dif %patch -P 1 -p 0 -b .config %patch -P 2 -p 0 -b .suse %patch -P 3 -p 0 -b .languages %patch -P 4 -p 0 -b .types %patch -P 5 -p 0 -b .terminal %patch -P 6 -p 0 -b .sq %patch -P 7 -p 0 -b .brkgcc %patch -P 8 -p 0 -b .mkdir %patch -P 9 -p 0 -b .strip %patch10 %build PATH=$PATH:$PWD export PATH make local.h make config.sh sed "s@\(DIR=\)['\"]\?\([^'\"]*\)['\"]\?@\1\"\$\{DESTDIR\}\2\"@g" \ < config.sh > config.tmp mv config.tmp config.sh make all %install DESTDIR=$RPM_BUILD_ROOT export DESTDIR mkdir -p ${DESTDIR}/usr/doc/packages/ispell mkdir -p ${DESTDIR}/usr/lib/ispell/emacs mkdir -p ${DESTDIR}/sbin/conf.d mkdir -p ${DESTDIR}/var/adm/fillup-templates mkdir -p ${DESTDIR}/var/lib/dict make install DESTDIR=$DESTDIR rm -f ${DESTDIR}/usr/share/emacs/site-lisp/ispell.el* install -m 0444 suse/ispell-emacs-menu.el ${DESTDIR}/usr/lib/ispell/ install -m 0444 suse/emacs/american.el ${DESTDIR}/usr/lib/ispell/emacs/ install -m 0444 suse/emacs/british.el ${DESTDIR}/usr/lib/ispell/emacs/ install -m 0444 suse/emacs/english.el ${DESTDIR}/usr/lib/ispell/emacs/ rm -f ${DESTDIR}/usr/lib/ispell/british.hash rm -r ${DESTDIR}/usr/lib/ispell/american.hash ln -sf britishxlg.hash ${DESTDIR}/usr/lib/ispell/british.hash ln -sf americanxlg.hash ${DESTDIR}/usr/lib/ispell/american.hash mv ${DESTDIR}/usr/lib/ispell/english.aff ${DESTDIR}/usr/lib/ispell/american.aff cp -a ${DESTDIR}/usr/lib/ispell/american.aff ${DESTDIR}/usr/lib/ispell/british.aff install -m 755 $RPM_SOURCE_DIR/SuSEconfig.ispell ${DESTDIR}/sbin/conf.d/ install -m 644 $RPM_SOURCE_DIR/sysconfig.ispell ${DESTDIR}/var/adm/fillup-templates/ mkdir -p ${DESTDIR}/var/lib/dict ln -sf /usr/lib/ispell/american.hash ${DESTDIR}/var/lib/dict/english.hash ln -sf /usr/lib/ispell/american.aff ${DESTDIR}/var/lib/dict/english.aff rm -f ${DESTDIR}/usr/lib/ispell/english.hash rm -f ${DESTDIR}/usr/lib/ispell/english.aff ln -sf /var/lib/dict/english.hash ${DESTDIR}/usr/lib/ispell/ ln -sf /var/lib/dict/english.aff ${DESTDIR}/usr/lib/ispell/ rm -f ${DESTDIR}/usr/bin/defmt-* %post %{fillup_only} %files %defattr(-, root, root) %doc suse/LIESMICH suse/README %dir /usr/lib/ispell /usr/bin/buildhash /usr/bin/findaffix /usr/bin/icombine /usr/bin/ijoin /usr/bin/ispell /usr/bin/munchlist /usr/bin/sq /usr/bin/tryaffix /usr/bin/unsq /usr/lib/ispell/ispell-emacs-menu.el %dir /usr/lib/ispell/emacs /usr/lib/ispell/emacs/english.el /usr/lib/ispell/english.hash /usr/lib/ispell/english.aff /sbin/conf.d/SuSEconfig.ispell /var/adm/fillup-templates/sysconfig.ispell %verify(not link mtime) /var/lib/dict/english.hash %verify(not link mtime) /var/lib/dict/english.aff %doc %{_mandir}/man1/buildhash.1.gz %doc %{_mandir}/man1/findaffix.1.gz %doc %{_mandir}/man1/ispell.1.gz %doc %{_mandir}/man1/munchlist.1.gz %doc %{_mandir}/man1/sq.1.gz %doc %{_mandir}/man1/tryaffix.1.gz %doc %{_mandir}/man1/unsq.1.gz %doc %{_mandir}/man5/english.5.gz %doc %{_mandir}/man5/ispell.5.gz %files -n ispell-american %defattr(-, root, root) /usr/lib/ispell/american.hash /usr/lib/ispell/americanmed.hash /usr/lib/ispell/americanxlg.hash /usr/lib/ispell/emacs/american.el /usr/lib/ispell/american.aff %files -n ispell-british %defattr(-, root, root) /usr/lib/ispell/british.hash /usr/lib/ispell/britishmed.hash /usr/lib/ispell/britishxlg.hash /usr/lib/ispell/emacs/british.el /usr/lib/ispell/british.aff %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor