Update to 1.0.99.20150212
This commit is contained in:
parent
4e9a2e7677
commit
368330a969
1
.gitignore
vendored
1
.gitignore
vendored
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user