SHA256
1
0
forked from pool/anthy
2019-04-01 10:39:25 +00:00
committed by Git OBS Bridge
2 changed files with 32 additions and 18 deletions

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Sun Mar 17 21:49:25 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Drop --with-pic that is useless in the face of --disable-static.
- Drop pre-openSUSE-12.3 parts from the build recipe.
- Implement the shared library packaging policy.
- Replace description because canna/freewnn seem comparatively
active in OBS's M17N project.
-------------------------------------------------------------------
Sat Sep 1 12:13:32 UTC 2018 - Ismail Dönmez <idonmez@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package anthy
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
# 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/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -54,35 +54,38 @@ BuildRequires: xemacs
%endif
%description
Anthy (previously called 'Ancy'):
Anthy is a package for an input method editor backend for Unix-like
systems for the Japanese language. It can convert Hiragana to Kanji
as per the language rules. As a preconversion stage, Latin characters
(Romaji) can be used to input Hiragana. Anthy is commonly used with
an input method framework such as ibus, fcitx or SCIM.
Canna, FreeWnn, and others are famous Kana-Kanji conversion engines
usable for Unix on PCs. They were originally developed for Japanese
Unix workstations around 1990 and development has practically stopped.
Therefore, the Heke Project is writing a free conversion engine from
scratch (apart from the dictionary, which is developed outside of the
Heke Project).
%package -n libanthy0
Summary: KanaKanji conversion engine
License: GPL-2.0-or-later AND LGPL-2.1-or-later
Group: System/Libraries
%description -n libanthy0
A KanaKanji conversion engine.
%package devel
Summary: Include Files and Libraries mandatory for Development.
Summary: Header files for the Anthy KanaKanji conversion engine
License: GPL-2.0-or-later
Group: System/I18n/Japanese
Requires: %{name} = %{version}
Group: Development/Libraries/C and C++
Requires: libanthy0 = %{version}
# Summary(ja): Anthy のヘッダファイル及びライブラリです。
# %description devel -l ja
# Anthy のヘッダファイル及びライブラリです。
%description devel
This package contains all necessary include files and libraries needed
to develop applications that require these.
to develop applications that require libanthy.
%prep
%setup -q
%patch2 -p 1
%patch3 -p 1
%if 0%{?suse_version} > 1230
%patch4 -p 1
%endif
%build
autoreconf --force --install
@@ -113,8 +116,8 @@ find %{buildroot} -type f -name "*.la" -delete -print
# remove unneeded Makefiles for documents
rm -f doc/Makefile.*
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%post -n libanthy0 -p /sbin/ldconfig
%postun -n libanthy0 -p /sbin/ldconfig
%files
%doc AUTHORS ChangeLog DIARY NEWS README doc
@@ -123,12 +126,14 @@ rm -f doc/Makefile.*
%dir %{_datadir}/anthy/
%{_datadir}/anthy/*
%{_bindir}/*
%{_libdir}/*.so.*
%if %{with emacs}
%{_datadir}/emacs/site-lisp/*
%{_datadir}/xemacs/*
%endif
%files -n libanthy0
%{_libdir}/*.so.*
%files devel
%dir %{_includedir}/anthy/
%{_includedir}/anthy/*