Hello community,

here is the log from the commit of package anthy for openSUSE:Leap:15.2 checked 
in at 2020-02-25 12:17:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/anthy (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.anthy.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "anthy"

Tue Feb 25 12:17:56 2020 rev:14 rq:778890 version:9100h

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/anthy/anthy.changes    2020-01-15 
14:46:56.301275579 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.anthy.new.26092/anthy.changes 2020-02-25 
12:18:05.196544806 +0100
@@ -1,0 +2,28 @@
+Thu Jun 13 07:07:00 UTC 2019 - Dominique Leuenberger <[email protected]>
+
+- Fix baselibs.conf: the library was split out as libanthy0 with
+  the last change.
+
+-------------------------------------------------------------------
+Sun Mar 17 21:49:25 UTC 2019 - Jan Engelhardt <[email protected]>
+
+- 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 <[email protected]>
+
+- Cleanup spec file with spec-cleaner
+- Don't install INSTALL file
+- Use %bcond_with{out}
+
+-------------------------------------------------------------------
+Fri Aug 31 10:19:58 UTC 2018 - [email protected]
+
+- Update anthy.spec: Divide openSUSE build with emacs function and 
+  SLE doesn't need it.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ anthy.spec ++++++
--- /var/tmp/diff_new_pack.NlSMs5/_old  2020-02-25 12:18:07.268549099 +0100
+++ /var/tmp/diff_new_pack.NlSMs5/_new  2020-02-25 12:18:07.268549099 +0100
@@ -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,26 +12,18 @@
 # 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/
 #
 
 
+%if 0%{?is_opensuse}
+%bcond_without emacs
+%else
+%bcond_with emacs
+%endif
 Name:           anthy
-BuildRequires:  emacs-x11
-BuildRequires:  fdupes
-BuildRequires:  libtool
-BuildRequires:  xemacs
 Version:        9100h
 Release:        0
-Url:            https://osdn.jp/projects/anthy/
-Source0:        anthy-%{version}.tar.bz2
-Source1:        suse-start-anthy.el
-Source2:        baselibs.conf
-Patch2:         anthy-last-command-char-xemacs.patch
-Patch3:         bugzilla-224463-comparison-with-string-literal.patch
-# PATCH-FIX-OPENSUSE anthy-use-last-command-event.diff bnc#849211 [email protected]
-Patch4:         anthy-use-last-command-event.diff
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Summary:        Kana-Kanji Conversion Engine
 # Summary(ja): 仮名漢字変換エンジン
 # Anthy(旧称Ancy)
@@ -44,44 +36,61 @@
 # 著者:
 # ------
 #     田畑 悠介 <[email protected]>
-License:        GPL-2.0+ and LGPL-2.1+
+License:        GPL-2.0-or-later AND LGPL-2.1-or-later
 Group:          System/I18n/Japanese
+URL:            https://osdn.jp/projects/anthy/
+Source0:        anthy-%{version}.tar.bz2
+Source1:        suse-start-anthy.el
+Source2:        baselibs.conf
+Patch2:         anthy-last-command-char-xemacs.patch
+Patch3:         bugzilla-224463-comparison-with-string-literal.patch
+# PATCH-FIX-OPENSUSE anthy-use-last-command-event.diff bnc#849211 [email protected]
+Patch4:         anthy-use-last-command-event.diff
+BuildRequires:  fdupes
+BuildRequires:  libtool
+%if %{with emacs}
+BuildRequires:  emacs-x11
+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.
+
+%package -n libanthy0
+Summary:        Kana–Kanji conversion engine
+License:        GPL-2.0-or-later AND LGPL-2.1-or-later
+Group:          System/Libraries
 
-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).
+%description -n libanthy0
+A Kana–Kanji conversion engine.
 
 %package devel
-Summary:        Include Files and Libraries mandatory for Development.
-License:        GPL-2.0+
-Group:          System/I18n/Japanese
-Requires:       %{name} = %{version}
+Summary:        Header files for the Anthy Kana–Kanji conversion engine
+License:        GPL-2.0-or-later
+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
-CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
-CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
+CFLAGS="%{optflags} -fno-strict-aliasing" \
+CXXFLAGS="%{optflags} -fno-strict-aliasing" \
 %configure --disable-static --with-pic
 make %{?_smp_mflags}
 
@@ -90,41 +99,44 @@
 ./anthy --all
 
 %install
-%makeinstall
-install -m 644 $RPM_SOURCE_DIR/suse-start-anthy.el 
$RPM_BUILD_ROOT/usr/share/emacs/site-lisp/
+%make_install
+%if %{with emacs}
+install -m 644 $RPM_SOURCE_DIR/suse-start-anthy.el 
%{buildroot}%{_datadir}/emacs/site-lisp/
 # compile the XEmacs versions of the emacs-lisp files and install them:
 pushd src-util
     rm -f *.elc
     # make EMACS=xemacs
     EMACS=xemacs ../elisp-comp *.el
-    mkdir -p $RPM_BUILD_ROOT/usr/share/xemacs/site-packages/lisp/anthy
-    install -m 644 *.el *.elc 
$RPM_BUILD_ROOT/usr/share/xemacs/site-packages/lisp/anthy
+    mkdir -p %{buildroot}%{_datadir}/xemacs/site-packages/lisp/anthy
+    install -m 644 *.el *.elc 
%{buildroot}%{_datadir}/xemacs/site-packages/lisp/anthy
 popd
-%fdupes $RPM_BUILD_ROOT/usr/share
-%{__rm} -f %{buildroot}%{_libdir}/*.la
+%endif
+%fdupes %{buildroot}%{_datadir}
+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
-%defattr(-, root, root)
-%doc AUTHORS COPYING ChangeLog DIARY INSTALL NEWS README
-%doc doc
+%doc AUTHORS ChangeLog DIARY NEWS README doc
+%license COPYING
 %config %{_sysconfdir}/anthy-conf
-%dir /usr/share/anthy/
-/usr/share/anthy/*
+%dir %{_datadir}/anthy/
+%{_datadir}/anthy/*
 %{_bindir}/*
+%if %{with emacs}
+%{_datadir}/emacs/site-lisp/*
+%{_datadir}/xemacs/*
+%endif
+
+%files -n libanthy0
 %{_libdir}/*.so.*
-/usr/share/emacs/site-lisp/*
-/usr/share/xemacs/*
 
 %files devel
-%defattr(-, root, root)
-%dir /usr/include/anthy/
-/usr/include/anthy/*
+%dir %{_includedir}/anthy/
+%{_includedir}/anthy/*
 %{_libdir}/*.so
 %{_libdir}/pkgconfig/anthy.pc
 

++++++ baselibs.conf ++++++
--- /var/tmp/diff_new_pack.NlSMs5/_old  2020-02-25 12:18:07.296549158 +0100
+++ /var/tmp/diff_new_pack.NlSMs5/_new  2020-02-25 12:18:07.296549158 +0100
@@ -1 +1,2 @@
 anthy
+libanthy0


Reply via email to