File hunspell-hungarian.spec of Package hunspell-hungarian

#
# spec file for package hunspell-hungarian (Version 1.2)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild
# usedforbuild    aaa_base acl attr audit-libs autoconf automake bash binutils brp-check-internal bzip2 coreutils cpio cpp cpp43 cracklib cvs diffutils file filesystem fillup findutils gawk gcc gcc43 gdbm gettext-runtime gettext-tools glibc glibc-devel glibc-locale gmp grep groff gzip info insserv less libacl libattr libbz2-1 libbz2-devel libdb-4_5 libgcc43 libgomp43 libltdl-3 libmpfr1 libmudflap43 libreadline5 libstdc++43 libtool libuuid1 libvolume_id libxcrypt libzio linux-kernel-headers m4 make man ncurses net-tools netcfg pam pam-modules patch perl perl-base permissions popt psmisc recode rpm sed sysvinit tar texinfo timezone util-linux zlib

Name:           hunspell-hungarian
BuildRequires:  recode
Version:        1.2
Release:        33
License:        GPL v2 or later
Group:          Productivity/Text/Spell
Provides:       myspell-dictionary
Provides:       locale(OpenOffice_org:hu) locale(seamonkey-spellchecker:hu)
Summary:        Hungarian Dictionary for hunspell
Url:            http://magyarispell.sourceforge.net/
Source:         magyarispell-%version.tar.bz2
Patch:          magyarispell-1.2.diff
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
The Hungarian Dictionary for hunspell.

The hunspell spell-checker is used by the OpenOffice.org office suite, 
the Seamonkey Composer, and the Seamonkey Mail message composition window.



Authors:
--------
    Németh László <nemethl@gyorsposta.hu>

%debug_package
%prep
%setup -q -n magyarispell-%version
%patch

%build
make myspell

%install
mkdir -p $RPM_BUILD_ROOT/usr/share/myspell
install -m 644 hu_HU.{dic,aff} $RPM_BUILD_ROOT/usr/share/myspell/

%triggerin -n hunspell-hungarian -- perl, OpenOffice_org
test -x /usr/bin/perl -a -x /usr/sbin/ooinstdict && /usr/sbin/ooinstdict || true

%postun -n hunspell-hungarian
test -x /usr/bin/perl -a -x /usr/sbin/ooinstdict && /usr/sbin/ooinstdict || true

%files
%defattr(-,root,root)
%doc COPYING* ChangeLog GYIK OLVASSEL README
%dir /usr/share/myspell
/usr/share/myspell/hu_HU.*

%clean
rm -rf $RPM_BUILD_ROOT

%changelog
* Mon Feb 04 2008 enovak@novell.com
- first release based on myspell-hungarian.spec
* Fri Jul 27 2007 pmladek@suse.cz
- updated to version 1.2 [#276874]:
  * lots fixes; details are in ChangeLog (Hungarian only)
* Mon Oct 23 2006 pmladek@suse.cz
- updated to version 1.1.1:
  * dual license (GPL, LGPL, MPL)
  * lots fixes; details are in ChangeLog (Hungarian only)
* Mon Aug 28 2006 ro@suse.de
- another fix in Makefile for new make
* Sat Aug 26 2006 aj@suse.de
- Fix Makefile.
* Mon Mar 13 2006 pmladek@suse.cz
- created extra spec file for myspell-hungarian to get the noarch package,
  was split from ispell-hungarian.spec [#57117]
- removed obsolete ispell from BuildRequires
- fixed locale provides to depend on some applications
openSUSE Build Service is sponsored by