Hello community,

here is the log from the commit of package libkkc for openSUSE:Factory checked 
in at 2013-07-08 12:36:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libkkc (Old)
 and      /work/SRC/openSUSE:Factory/.libkkc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libkkc"

Changes:
--------
New Changes file:

--- /dev/null   2013-07-02 09:26:14.908030755 +0200
+++ /work/SRC/openSUSE:Factory/.libkkc.new/libkkc.changes       2013-07-08 
12:36:17.000000000 +0200
@@ -0,0 +1,17 @@
+-------------------------------------------------------------------
+Fri Jul  5 06:26:14 UTC 2013 - i...@marguerite.su
+
+- fix missing libkkc()(64bit) in typelib kkc.
+
+-------------------------------------------------------------------
+Tue Jun 25 16:45:40 UTC 2013 - i...@marguerite.su
+
+- update version 0.2.4
+  * see git commit log for details
+  * http://gitorious.org/libkkc/libkkc/commits/master
+
+-------------------------------------------------------------------
+Thu Apr 25 13:04:35 UTC 2013 - i...@marguerite.su
+
+- initial package 0.1.10
+

New:
----
  libkkc-0.2.4.git20130625.tar.gz
  libkkc-data-0.2.0.tar.xz
  libkkc-typelib-sharelib.patch
  libkkc.changes
  libkkc.spec

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

Other differences:
------------------
++++++ libkkc.spec ++++++
#
# spec file for package libkkc
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# 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/
#

Name:           libkkc
Version:        0.2.4.git20130625
%define data_version 0.2.0
Release:        0
License:        GPL-3.0
Summary:        Japanese Kana-string to Kana-Kanji-mixed-string converter
Url:    https://gitorious.org/libkkc/libkkc
Group:  System/I18n/Japanese
Source: %{name}-%{version}.tar.gz
# data: https://bitbucket.org/libkkc/libkkc-data/downloads/
Source1:        
https://bitbucket.org/libkkc/libkkc-data/downloads/%{name}-data-%{data_version}.tar.xz
# PATCH-FIX-UPSTREAM marguer...@opensuse.org - use correct shared library for 
typelib generation
Patch:          libkkc-typelib-sharelib.patch
BuildRequires:  fdupes
BuildRequires:  gcc-c++
# for autogen.sh
BuildRequires:  gnome-common
BuildRequires:  gobject-introspection-devel
BuildRequires:  intltool
# json_generator_set_pretty is not available in version below.
BuildRequires:  json-glib-devel >= 0.14.0
# temporary fix for Factory
%if 0%{?suse_version} <= 1230
BuildRequires:  libgee-devel
%else
BuildRequires:  libgee06-devel
%endif
BuildRequires:  marisa-devel
BuildRequires:  pkg-config
BuildRequires:  vala >= 0.16.0
BuildRequires:  xz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
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 
language models.

%package -n libkkc2
Summary:        Japanese Kana-string to Kana-Kanji-mixed-string convertion 
library
Group:  System/Libraries
Requires:       kkc-data
Provides:       %{name} = %{version}
Obsoletes:      %{name} < %{version}

%description -n libkkc2
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
language models.

%package -n typelib-1_0-kkc-1_0
Summary:        Japanese Kana to Kana-Kanji converter -- Introspection bindings
Group:          System/Libraries

%description -n typelib-1_0-kkc-1_0
libkkc provides a converter from Japanese Kana-string to 
Kana-Kanji-mixed-string.

This package provides the GObject Introspection bindings for libkkc.

%package -n kkc-data
Summary:        Data files for %{name}
Group:  System/I18n/Japanese

%description -n kkc-data
libkkc provides a converter from Japanese Kana-string to 
Kana-Kanji-mixed-string.

This package provides the data files for libkkc.

%package devel
Summary:        Development files for %{name}
Group:  Development/Libraries/C and C++
Requires:       %{name} = %{version}

%description devel
libkkc provides a converter from Japanese Kana-string to 
Kana-Kanji-mixed-string.

This package contains its development headers and vala bindings.

%prep
%setup -q
%patch -p1

%build
./autogen.sh
%configure --enable-introspection=yes \
        --enable-vala=yes \
        --enable-vapigen=yes
make %{?_smp_mflags}

# make data
cp -r %{SOURCE1} ./
tar -xf %{name}-data-%{data_version}.tar.xz
pushd %{name}-data-%{data_version}
%configure
# %{?_smp_mflags} cost too much memory
make
popd

%install
make install DESTDIR=%{buildroot}

rm -rf %{buildroot}%{_libdir}/libkkc.la

# install data
pushd %{name}-data-%{data_version}
make install DESTDIR=%{buildroot}
popd

%fdupes %{buildroot}%{_datadir}/%{name}

%find_lang %{name}

%post -n libkkc2 -p /sbin/ldconfig

%postun -n libkkc2 -p /sbin/ldconfig

%files -n libkkc2 -f %{name}.lang
%defattr(-,root,root)
%doc README COPYING
%{_bindir}/kkc
%{_libdir}/libkkc.so.2
%{_libdir}/libkkc.so.2.0.0
%{_datadir}/libkkc/

%files -n typelib-1_0-kkc-1_0
%defattr(-,root,root)
%{_libdir}/girepository-1.0/Kkc-1.0.typelib

%files -n kkc-data
%defattr(-,root,root)
%{_libdir}/%{name}/

%files devel
%defattr(-,root,root)
%{_bindir}/kkc-package-data
%{_includedir}/libkkc/
%{_libdir}/libkkc.so
%{_libdir}/pkgconfig/kkc-1.0.pc
%{_datadir}/gir-1.0/Kkc-1.0.gir
%{_datadir}/vala/vapi/kkc-1.0.deps
%{_datadir}/vala/vapi/kkc-1.0.vapi

%changelog

++++++ libkkc-typelib-sharelib.patch ++++++
Index: libkkc-0.2.4.git20130625/libkkc/Makefile.am
===================================================================
--- libkkc-0.2.4.git20130625.orig/libkkc/Makefile.am
+++ libkkc-0.2.4.git20130625/libkkc/Makefile.am
@@ -138,7 +138,7 @@ typelibdir = $(libdir)/girepository-1.0
 typelib_DATA = Kkc-@KKC_API_VERSION@.typelib
 
 Kkc-@KKC_API_VERSION@.typelib: Kkc-@KKC_API_VERSION@.gir
-       @INTROSPECTION_COMPILER@ --shared-library=libkkc -o $@ $^
+       @INTROSPECTION_COMPILER@ --shared-library=libkkc.so.2 -o $@ $^
 endif
 
 Kkc-@KKC_API_VERSION@.gir kkc-internals-@KKC_API_VERSION@.vapi 
kkc-@KKC_API_VERSION@.vapi: libkkc.la
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to