Update to 1.0.99.20150212

This commit is contained in:
Peng Wu 2015-02-12 13:37:00 +08:00
parent 4e9a2e7677
commit 368330a969
3 changed files with 22 additions and 5 deletions

1
.gitignore vendored
View File

@ -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

View File

@ -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 <pwu@redhat.com> - 1.0.99.20150212-1
- Update to 1.0.99.20150212
- Bring back libpinyin-tools
* Tue Feb 3 2015 Peng Wu <pwu@redhat.com> - 1.0.99.20150203-2
- Obsoletes libpinyin-tools

View File

@ -1 +1 @@
479ce0162d8820800445436b4c7923b0 libpinyin-1.0.99.20150203.tar.gz
82c16555d6aa862ea2b7634a66ae4c8b libpinyin-1.0.99.20150212.tar.gz