From 368330a9698a462473973097ffec916f46fb4c57 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Thu, 12 Feb 2015 13:37:00 +0800 Subject: [PATCH] Update to 1.0.99.20150212 --- .gitignore | 1 + libpinyin.spec | 24 ++++++++++++++++++++---- sources | 2 +- 3 files changed, 22 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index e61ce39..b4787a8 100644 --- a/.gitignore +++ b/.gitignore @@ -25,3 +25,4 @@ /libpinyin-0.9.94.tar.gz /libpinyin-1.0.0.tar.gz /libpinyin-1.0.99.20150203.tar.gz +/libpinyin-1.0.99.20150212.tar.gz diff --git a/libpinyin.spec b/libpinyin.spec index 96f8490..760698c 100644 --- a/libpinyin.spec +++ b/libpinyin.spec @@ -1,8 +1,8 @@ %global snapshot 0 Name: libpinyin -Version: 1.0.99.20150203 -Release: 2%{?dist} +Version: 1.0.99.20150212 +Release: 1%{?dist} Summary: Library to deal with pinyin License: GPLv2+ @@ -14,7 +14,6 @@ Patch0: libpinyin-1.0.x-head.patch BuildRequires: libdb-devel, glib2-devel Requires: %{name}-data%{?_isa} = %{version}-%{release} -Obsoletes: libpinyin-tools %description The libpinyin project aims to provide the algorithms core @@ -37,6 +36,13 @@ Requires: %{name} = %{version}-%{release} %description data The %{name}-data package contains data files. +%package tools +Summary: Tools for %{name} +Requires: %{name} = %{version}-%{release} + +%description tools +The %{name}-tools package contains tools. + %prep %setup -q @@ -73,13 +79,23 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %{_includedir}/libpinyin-%{version}/* %{_libdir}/*.so %{_libdir}/pkgconfig/libpinyin.pc -%{_mandir}/man1/*.1.* %files data %doc %{_libdir}/libpinyin/data +%files tools +%{_bindir}/gen_binary_files +%{_bindir}/import_interpolation +%{_bindir}/gen_unigram +%{_mandir}/man1/*.1.* + + %changelog +* Mon Feb 9 2015 Peng Wu - 1.0.99.20150212-1 +- Update to 1.0.99.20150212 +- Bring back libpinyin-tools + * Tue Feb 3 2015 Peng Wu - 1.0.99.20150203-2 - Obsoletes libpinyin-tools diff --git a/sources b/sources index db02762..c74d0e2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -479ce0162d8820800445436b4c7923b0 libpinyin-1.0.99.20150203.tar.gz +82c16555d6aa862ea2b7634a66ae4c8b libpinyin-1.0.99.20150212.tar.gz