File ispell-hungarian.spec of Package ispell-hungarian

#
# spec file for package ispell-hungarian
#
# Copyright (c) 2012 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/
#
Name:           ispell-hungarian
BuildRequires:  ispell
Version:        1.3
Release:        0
Provides:       ispell_dictionary
Provides:       locale(ispell:hu)
Summary:        Hungarian Ispell Dictionary
License:        GPL-2.0+
Group:          Productivity/Text/Spell
Url:            http://magyarispell.sourceforge.net/
Source:         magyarispell-%version.tar.bz2
Source1:        magyar.el
Patch:          magyarispell-1.2.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Hungarian ispell dictionary.



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

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

%build
make ispell

%install
mkdir -p $RPM_BUILD_ROOT/usr/{bin,lib/ispell/emacs}
pushd tmp
install -m 644 magyar.aff $RPM_BUILD_ROOT/usr/lib/ispell/
ln -s magyar.aff $RPM_BUILD_ROOT/usr/lib/ispell/hungarian.aff
install -m 644 magyar4ispell.hash $RPM_BUILD_ROOT/usr/lib/ispell/magyar.hash
ln -s magyar.hash $RPM_BUILD_ROOT/usr/lib/ispell/hungarian.hash
popd
install -m 644 %{S:1} $RPM_BUILD_ROOT/usr/lib/ispell/emacs/
ln -s magyar.el $RPM_BUILD_ROOT/usr/lib/ispell/emacs/hungarian.el

%files
%defattr(-,root,root)
%doc COPYING* ChangeLog GYIK OLVASSEL README
/usr/lib/ispell/emacs/*
/usr/lib/ispell/hungarian*
/usr/lib/ispell/magyar*

%changelog
openSUSE Build Service is sponsored by