commit libpinyin for openSUSE:Factory
Hello community, here is the log from the commit of package libpinyin for openSUSE:Factory checked in at 2013-07-03 10:24:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libpinyin (Old) and /work/SRC/openSUSE:Factory/.libpinyin.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "libpinyin" Changes: -------- --- /work/SRC/openSUSE:Factory/libpinyin/libpinyin.changes 2012-12-19 11:10:23.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libpinyin.new/libpinyin.changes 2013-07-03 10:24:29.000000000 +0200 @@ -1,0 +2,8 @@ +Wed Jun 26 15:59:08 UTC 2013 - i@marguerite.su + +- update version 0.9.93 + * see commit log for collective updates. + * https://github.com/libpinyin/libpinyin/commits/master +- add patch: libpinyin-0.9.0-avoid_download_at_buildtime.patch + +------------------------------------------------------------------- Old: ---- libpinyin-0.8.0.tar.gz New: ---- baselibs.conf libpinyin-0.9.93-avoid_download_at_buildtime.patch libpinyin-0.9.93.tar.bz2 model5.text.tar.gz model6.text.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libpinyin.spec ++++++ --- /var/tmp/diff_new_pack.AfbWXr/_old 2013-07-03 10:24:33.000000000 +0200 +++ /var/tmp/diff_new_pack.AfbWXr/_new 2013-07-03 10:24:33.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package libpinyin # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# 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 @@ -15,17 +15,23 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +%define lname libpinyin4 Name: libpinyin -Version: 0.8.0 +Version: 0.9.93 Release: 0 Summary: Intelligent Pinyin IME License: GPL-2.0+ Group: System/I18n/Chinese Url: https://github.com/libpinyin/libpinyin -Source: %{name}-%{version}.tar.gz +Source: %{name}-%{version}.tar.bz2 +Source1: model5.text.tar.gz +Source2: model6.text.tar.gz +# PATCH-FIX-OPENSUSE marguerite@opensuse.org - avoid download at buildtime +Patch: libpinyin-0.9.93-avoid_download_at_buildtime.patch BuildRequires: gcc-c++ BuildRequires: glib2-devel +BuildRequires: gnome-common BuildRequires: intltool %if 0%{?suse_version} %if 0%{?suse_version} >= 1140 @@ -46,16 +52,32 @@ It aims to be an Intelligent (and Universal) Sentence-based Pinyin IME Backend supports many Language Models and Frontends. -%package -n %{name}2 +%package -n %{lname} Summary: Intelligent Pinyin IME -Group: System/I18n/Chinese +Group: System/Libraries +Requires: %{name}-data Provides: %{name} = %{version} +Obsoletes: %{name} < %{version} + +%description -n %{lname} +Libpinyin is a staging joint effort of many Chinese Pinyin IME development teams. +It aims to be an Intelligent (and Universal) Sentence-based Pinyin IME Backend +supports many Language Models and Frontends. + +This package provides runtime library for libpinyin. -%description -n %{name}2 +%package data +Summary: Data files for libpinyin +Group: System/I18n/Chinese + +%description data Libpinyin is a staging joint effort of many Chinese Pinyin IME development teams. It aims to be an Intelligent (and Universal) Sentence-based Pinyin IME Backend supports many Language Models and Frontends. +This package provides language model table data for libpinyin. + + %package devel Summary: Intelligent Pinyin IME Group: Development/Libraries/C and C++ @@ -68,15 +90,19 @@ %prep %setup -q +cp -r %{SOURCE1} data/ +cp -r %{SOURCE2} data/ +%patch -p1 +./autogen.sh %build %configure make %{?_smp_mflags} %install -make DESTDIR=%{buildroot} install -%{__rm} -rf %{buildroot}%{_libdir}/%{name}.a -%{__rm} -rf %{buildroot}%{_libdir}/%{name}.la +make install DESTDIR=%{buildroot} +rm -rf %{buildroot}%{_libdir}/%{name}.a +rm -rf %{buildroot}%{_libdir}/%{name}.la %if 0%{?suse_version} %fdupes %{buildroot} @@ -84,17 +110,20 @@ fdupes -nqr %{buildroot} %endif -%post -n %{name}2 -p /sbin/ldconfig +%post -n %{lname} -p /sbin/ldconfig -%postun -n %{name}2 -p /sbin/ldconfig +%postun -n %{lname} -p /sbin/ldconfig -%files -n %{name}2 +%files -n %{lname} %defattr(-,root,root) -%doc ChangeLog AUTHORS COPYING +%doc ChangeLog AUTHORS COPYING README %{_mandir}/man1/* %{_bindir}/* %{_libdir}/%{name}.so.* -%{_datadir}/%{name} + +%files data +%defattr(-,root,root) +%{_libdir}/%{name} %files devel %defattr(-,root,root) ++++++ baselibs.conf ++++++ libpinyin4 requires "libpinyin-data = <version>" provides "libpinyin-<targettype> = <version>" obsoletes "libpinyin-<targettype> < <version>" post "/sbin/ldconfig" postun "/sbin/ldconfig" ++++++ libpinyin-0.9.93-avoid_download_at_buildtime.patch ++++++ Index: libpinyin-0.9.93/data/CMakeLists.txt =================================================================== --- libpinyin-0.9.93.orig/data/CMakeLists.txt +++ libpinyin-0.9.93/data/CMakeLists.txt @@ -44,9 +44,7 @@ add_custom_command( ${CMAKE_SOURCE_DIR}/data/gbk_char.table ${CMAKE_SOURCE_DIR}/data/interpolation2.text COMMENT - "Downloading textual model data..." - COMMAND - wget http://downloads.sourceforge.net/libpinyin/models/model5.text.tar.gz + "Unpacking textual model data..." COMMAND tar xvf model5.text.tar.gz -C ${CMAKE_SOURCE_DIR}/data ) Index: libpinyin-0.9.93/data/Makefile.am =================================================================== --- libpinyin-0.9.93.orig/data/Makefile.am +++ libpinyin-0.9.93/data/Makefile.am @@ -48,7 +48,6 @@ libpinyin_dbdir = $(libdir)/libpinyin/d CLEANFILES = $(binary_model_data) interpolation2.text: - wget http://downloads.sourceforge.net/libpinyin/models/model6.text.tar.gz tar xvf model6.text.tar.gz -C $(top_srcdir)/data ++++++ libpinyin-0.8.0.tar.gz -> libpinyin-0.9.93.tar.bz2 ++++++ /work/SRC/openSUSE:Factory/libpinyin/libpinyin-0.8.0.tar.gz /work/SRC/openSUSE:Factory/.libpinyin.new/libpinyin-0.9.93.tar.bz2 differ: char 1, line 1 -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de