1
0
ispell-hungarian/ispell-hungarian.spec

74 lines
2.0 KiB
RPMSpec
Raw Normal View History

#
# spec file for package ispell-hungarian (Version 1.3)
#
# 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-hungarian
BuildRequires: ispell
Version: 1.3
Release: 40
License: GPL-2.0+
Group: Productivity/Text/Spell
Provides: ispell_dictionary
Provides: locale(ispell:hu)
Summary: Hungarian Ispell Dictionary
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<EFBFBD>meth L<EFBFBD>szl<EFBFBD> <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*
%clean
rm -rf $RPM_BUILD_ROOT
%changelog