Hello community, here is the log from the commit of package libkkc for openSUSE:Factory checked in at 2015-08-27 08:57:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libkkc (Old) and /work/SRC/openSUSE:Factory/.libkkc.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libkkc" Changes: -------- --- /work/SRC/openSUSE:Factory/libkkc/libkkc.changes 2014-09-10 10:19:56.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libkkc.new/libkkc.changes 2015-08-27 08:57:33.000000000 +0200 @@ -1,0 +2,12 @@ +Tue Aug 25 08:56:02 UTC 2015 - i...@marguerite.su + +- Update to version 0.3.5+git20150522.650f0d6: + + build: Make all-local depend on metadata.pot + + build: Validate metadata.json against schema + + gen-metadata-pot: Rewrite in Vala + + Add ATOK style support. + + rebased master and fixed some issues. + + atok: Fix schema validation failure + + rom-kana: Remove null entries in parent map + +------------------------------------------------------------------- Old: ---- libkkc-0.3.4.tar.gz New: ---- _service _servicedata baselibs.conf libkkc-0.3.5+git20150522.650f0d6.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libkkc.spec ++++++ --- /var/tmp/diff_new_pack.OqkSfq/_old 2015-08-27 08:57:34.000000000 +0200 +++ /var/tmp/diff_new_pack.OqkSfq/_new 2015-08-27 08:57:34.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package libkkc # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -16,20 +16,21 @@ # +%define soname 2 +%define data_version 0.2.7 Name: libkkc -Version: 0.3.4 +Version: 0.3.5+git20150522.650f0d6 Release: 0 -%define data_version 0.2.7 Summary: Japanese Kana-string to Kana-Kanji-mixed-string converter License: GPL-3.0 Group: System/I18n/Japanese -Url: https://gitorious.org/libkkc/libkkc -#Source: %{name}-%{version}.tar.gz -Source: https://bitbucket.org/libkkc/libkkc/downloads/%{name}-%{version}.tar.gz +Url: https://github.com/ueno/libkkc +Source: %{name}-%{version}.tar.xz # data: https://bitbucket.org/libkkc/libkkc-data/downloads/ Source1: https://bitbucket.org/libkkc/libkkc-data/downloads/%{name}-data-%{data_version}.tar.xz +Source99: baselibs.conf # PATCH-FIX-UPSTREAM marguer...@opensuse.org - use correct shared library for typelib generation -Patch: libkkc-typelib-sharelib.patch +Patch0: libkkc-typelib-sharelib.patch BuildRequires: fdupes BuildRequires: gcc-c++ # for autogen.sh @@ -51,16 +52,14 @@ while libkkc tries to convert sentences in a bit more complex way using N-gram language models. -%package -n libkkc2 +%package -n %{name}%{soname} Summary: Japanese Kana-string to Kana-Kanji-mixed-string convertion library Group: System/Libraries Requires: kkc-data Requires: skkdic Requires: skkdic-extra -Provides: %{name} = %{version} -Obsoletes: %{name} < %{version} -%description -n libkkc2 +%description -n %{name}%{soname} libkkc provides a converter from Japanese Kana-string to Kana-Kanji-mixed-string. It was named after kkc.el in GNU Emacs, a simple Kana Kanji converter, while libkkc tries to convert sentences in a bit more complex way using N-gram @@ -87,7 +86,7 @@ %package devel Summary: Development files for %{name} Group: Development/Libraries/C and C++ -Requires: %{name} = %{version} +Requires: %{name}%{soname} = %{version} %description devel libkkc provides a converter from Japanese Kana-string to Kana-Kanji-mixed-string. @@ -96,17 +95,17 @@ %prep %setup -q -%patch -p1 +%patch0 -p1 +NOCONFIGURE=1 ./autogen.sh %build -./autogen.sh %configure --enable-introspection=yes \ --enable-vala=yes \ --enable-vapigen=yes make %{?_smp_mflags} # make data -cp -r %{SOURCE1} ./ +cp -r %{SOURCE1} . tar -xf %{name}-data-%{data_version}.tar.xz pushd %{name}-data-%{data_version} %configure @@ -115,29 +114,29 @@ popd %install -make install DESTDIR=%{buildroot} +make DESTDIR=%{buildroot} install %{?_smp_mflags} -rm -rf %{buildroot}%{_libdir}/libkkc.la +find %{buildroot}%{_libdir} -name "*.la" -delete # install data pushd %{name}-data-%{data_version} -make install DESTDIR=%{buildroot} +make DESTDIR=%{buildroot} install %{?_smp_mflags} popd %fdupes %{buildroot}%{_datadir}/%{name} %find_lang %{name} -%post -n libkkc2 -p /sbin/ldconfig +%post -n %{name}%{soname} -p /sbin/ldconfig -%postun -n libkkc2 -p /sbin/ldconfig +%postun -n %{name}%{soname} -p /sbin/ldconfig -%files -n libkkc2 -f %{name}.lang +%files -n %{name}%{soname} -f %{name}.lang %defattr(-,root,root) %doc README COPYING %{_bindir}/kkc -%{_libdir}/libkkc.so.2 -%{_libdir}/libkkc.so.2.0.0 +%{_libdir}/libkkc.so.%{soname} +%{_libdir}/libkkc.so.%{soname}.0.0 %{_datadir}/libkkc/ %files -n typelib-1_0-kkc-1_0 ++++++ _service ++++++ <services> <service name="tar_scm" mode="disabled"> <param name="url">https://github.com/ueno/libkkc</param> <param name="scm">git</param> <param name="exclude">.git</param> <param name="versionformat">0.3.5+git%cd.%h</param> <param name="revision">master</param> <param name="changesgenerate">enable</param> </service> <service name="recompress" mode="disabled"> <param name="file">libkkc-*.tar</param> <param name="compression">xz</param> </service> <service name="set_version" mode="disabled"> <param name="basename">libkkc</param> </service> </services> ++++++ _servicedata ++++++ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/ueno/libkkc</param> <param name="changesrevision">650f0d69f7ea3c9609be08b788ad2245a8aa432f</param></service></servicedata>++++++ baselibs.conf ++++++ libkkc2 requires "kkc-data" requires "skkdic" requires "skkdic-extra"