OBS User unknown 2007-07-27 13:48:04 +00:00 committed by Git OBS Bridge
parent 9a15b51d2d
commit d642a88789
8 changed files with 53 additions and 76 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jul 26 23:38:27 CEST 2007 - pmladek@suse.cz
- updated to version 1.2:
* lots fixes; details are in ChangeLog (Hungarian only)
-------------------------------------------------------------------
Mon Oct 23 20:08:26 CEST 2006 - pmladek@suse.cz

View File

@ -1,7 +1,7 @@
#
# spec file for package ispell-hungarian (Version 1.1.1)
# spec file for package ispell-hungarian (Version 1.2)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2007 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.
#
@ -12,9 +12,9 @@
Name: ispell-hungarian
BuildRequires: ispell
Version: 1.1.1
Version: 1.2
Release: 1
License: Other License(s), see package
License: GPL v2 or later
Group: Productivity/Text/Spell
Provides: ispell_dictionary
Provides: locale(ispell:hu)
@ -22,7 +22,7 @@ Summary: Hungarian Ispell Dictionary
URL: http://magyarispell.sourceforge.net/
Source: magyarispell-%version.tar.bz2
Source1: magyar.el
Patch: magyarispell-1.1.1.diff
Patch: magyarispell-1.2.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -62,7 +62,10 @@ ln -s magyar.el $RPM_BUILD_ROOT/usr/lib/ispell/emacs/hungarian.el
%clean
rm -rf $RPM_BUILD_ROOT
%changelog -n ispell-hungarian
%changelog
* Thu Jul 26 2007 - pmladek@suse.cz
- updated to version 1.2:
* 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)

View File

@ -1,61 +0,0 @@
--- Makefile
+++ Makefile
@@ -158,7 +158,7 @@
# ragozási táblázat (magyar.aff) elõállítása
magyar.aff: $(WRKDIR) eleje.aff ige_alanyi.aff fonev.aff fonev_kepzo.aff ige_kepzo.aff
@echo "===> ragozási táblázat (magyar.aff) elõállítása"
- @cd $(AFFDIR);\
+ @cd $(AFFDIR); \
cat eleje.aff ige_kepzo.aff fonev_kepzo.aff ige_morfo.aff ige_alanyi.aff \
fonev.aff fonev_morfo.aff ige_targyas.aff | $(M4) > $(WRKDIR)/magyar.aff;
@@ -214,7 +214,7 @@
install_all: install_myspell install_ispell install_OO
# ispell opcióval kompilált hashtábla
-#ispell: magyar4ispell.hash
+ispell: magyar4ispell.hash
# hu_HU.aff myspell ragozási táblázat és a hu_HU.dic szótár elõállítása
myspell: magyar4myspell.dict magyar.aff hu_HU.aff hu_HU.dic kr
--- kr/Makefile
+++ kr/Makefile
@@ -3,14 +3,14 @@
WRKDIR=../tmp
-all: h test
+all: h
test:
@hunmorph ../hu_HU_morph2.aff ../hu_HU_morph2.dic test.txt >../tmp/test.out
@#diff test.morph ../tmp/test.out && echo 'Elemzés ellenõrizve.' || echo 'Hiba!'
h: hu
- @sed ':a s#<NOU\(.*\)>+*<NOUN#<NOU\1#;t a \
+ @sed ":a s#<NOU\(.*\)>+*<NOUN#<NOU\1#;t a \
:b s#<VER\(.*\)>+*<VERB#<VER\1#;t b \
s#~##g; \
s#[a-zA-ZöüóõúéáûíÖÜÓÕÚÉÁÛÍ]*_\([/(),A-Z]*\)_noun]#\1]/NOUN#g; \
@@ -27,9 +27,9 @@
s#FUTPART#FUT_PART#g; \
s#PRESPART#IMPERF_PART#g; \
s#[&]agrave;##; \
- s# [&(]$$##; \
- ' $(WRKDIR)/hu.aff >../hu_HU_morph2.aff
- @sed ':a s#<NOU\(.*\)>+*<NOUN#<NOU\1#;t a \
+ s# [&(]\$$##; \
+ " $(WRKDIR)/hu.aff >../hu_HU_morph2.aff
+ @sed ":a s#<NOU\(.*\)>+*<NOUN#<NOU\1#;t a \
:b s#<VER\(.*\)>+*<VERB#<VER\1#;t b \
s#~##g; \
s#[a-zA-ZöüóõúéáûíÖÜÓÕÚÉÁÛÍ]*_\([/(),A-Z]*\)_noun]#\1]/NOUN#g; \
@@ -46,7 +46,7 @@
s#FUTPART#FUT_PART#g; \
s#PRESPART#IMPERF_PART#g; \
s#/[&(] # #; \
- ' $(WRKDIR)/hu.dic >../hu_HU_morph2.dic
+ " $(WRKDIR)/hu.dic >../hu_HU_morph2.dic
hu: ../hu_HU_morph.aff ../hu_HU_morph.dic
@sed -f csere.txt ../hu_HU_morph.aff >$(WRKDIR)/hu.aff

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a04c39067de361d29fec4c42ac2d0d8b54958068df5ce01c358263f870403e6d
size 809830

20
magyarispell-1.2.diff Normal file
View File

@ -0,0 +1,20 @@
--- Makefile
+++ Makefile
@@ -143,7 +143,7 @@ magyar4%.dict: $(WRKDIR)
# ragozási táblázat (magyar.aff) elõállítása
magyar.aff: $(WRKDIR) eleje.aff ige_alanyi.aff fonev.aff fonev_kepzo.aff ige_kepzo.aff
@echo "===> ragozási táblázat (magyar.aff) elõállítása" | $(CATUTF)
- @cd $(AFFDIR);\
+ @cd $(AFFDIR); \
cat eleje.aff ige_kepzo.aff fonev_kepzo.aff ige_morfo.aff ige_alanyi.aff \
fonev.aff fonev_morfo.aff ige_targyas.aff | $(M4) > $(WRKDIR)/magyar.aff;
@@ -214,7 +214,7 @@
install_all: install_myspell install_ispell install_OO
# ispell opcióval kompilált hashtábla
-#ispell: magyar4ispell.hash
+ispell: magyar4ispell.hash
# hu_HU.aff myspell ragozási táblázat és a hu_HU.dic szótár elõállítása
myspell: magyar4myspell.dict magyar.aff hu_HU.aff hu_HU.dic kr

3
magyarispell-1.2.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fb257a13ad956b5653cb40f83db6c7a1c0319ea623b37e81bd23ab9e9d598bc4
size 830185

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jul 26 23:36:40 CEST 2007 - pmladek@suse.cz
- updated to version 1.2 [#276874]:
* lots fixes; details are in ChangeLog (Hungarian only)
-------------------------------------------------------------------
Mon Oct 23 20:08:26 CEST 2006 - pmladek@suse.cz

View File

@ -1,7 +1,7 @@
#
# spec file for package myspell-hungarian (Version 1.1.1)
# spec file for package myspell-hungarian (Version 1.2)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2007 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.
#
@ -12,16 +12,16 @@
Name: myspell-hungarian
BuildRequires: recode
Version: 1.1.1
Version: 1.2
Release: 1
License: Other License(s), see package
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.1.1.diff
Patch: magyarispell-1.2.diff
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -63,7 +63,10 @@ test -x /usr/bin/perl -a -x /usr/sbin/ooinstdict && /usr/sbin/ooinstdict || true
%clean
rm -rf $RPM_BUILD_ROOT
%changelog -n myspell-hungarian
%changelog
* Thu Jul 26 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)