forked from pool/ispell-hungarian
87 lines
2.5 KiB
RPMSpec
87 lines
2.5 KiB
RPMSpec
#
|
|
# spec file for package myspell-hungarian (Version 1.3)
|
|
#
|
|
# 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
|
|
|
|
|
|
Name: myspell-hungarian
|
|
BuildRequires: recode
|
|
Version: 1.3
|
|
Release: 1
|
|
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 MySpell
|
|
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 MySpell.
|
|
|
|
The MySpell spell-checker is used by the OpenOffice.org office suite,
|
|
the Mozilla Composer, and the Mozilla Mail message composition window.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Németh László <nemethl@gyorsposta.hu>
|
|
|
|
%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 myspell-hungarian -- perl, OpenOffice_org
|
|
test -x /usr/bin/perl -a -x /usr/sbin/ooinstdict && /usr/sbin/ooinstdict || true
|
|
|
|
%postun -n myspell-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
|
|
* Fri Apr 04 2008 pmladek@suse.cz
|
|
- updated to version 1.3:
|
|
* lots fixes; details are in ChangeLog (Hungarian only)
|
|
* 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
|