4 Summary: Library to deal with pinyin
7 URL: https://github.com/libpinyin/libpinyin
8 Source0: https://github.com/downloads/libpinyin/libpinyin/%{name}-%{version}.tar.gz
10 BuildRequires: db4-devel, glib2-devel
11 Requires: %{name}-data = %{version}-%{release}
14 The libpinyin project aims to provide the algorithms core
15 for intelligent sentence-based Chinese pinyin input methods.
19 Summary: Development files for %{name}
20 Requires: %{name} = %{version}-%{release}
23 The %{name}-devel package contains libraries and header files for
24 developing applications that use %{name}.
28 Summary: Data files for %{name}
29 Requires: %{name} = %{version}-%{release}
32 The %{name}-data package contains data files.
36 Summary: Tools for %{name}
37 Requires: %{name} = %{version}-%{release}
40 The %{name}-tools package contains tools.
48 %configure --disable-static
52 make install DESTDIR=$RPM_BUILD_ROOT
53 find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
56 %post -p /sbin/ldconfig
58 %postun -p /sbin/ldconfig
62 %doc AUTHORS COPYING README
64 %dir %{_datadir}/libpinyin
68 %dir %{_includedir}/libpinyin-0.3
69 %{_includedir}/libpinyin-0.3/*
71 %{_libdir}/pkgconfig/libpinyin.pc
75 %{_datadir}/libpinyin/data
78 %{_bindir}/gen_binary_files
79 %{_bindir}/import_interpolation
80 %{_bindir}/gen_unigram
84 * Thu May 24 2012 Peng Wu <pwu@redhat.com> - 0.6.91-1
87 * Mon Feb 13 2012 Peng Wu <pwu@redhat.com> - 0.5.91-1
90 * Wed Jan 18 2012 Peng Wu <pwu@redhat.com> - 0.5.0-1
93 * Fri Jan 13 2012 Peng Wu <pwu@redhat.com> - 0.4.93-1
96 * Mon Jan 09 2012 Peng Wu <pwu@redhat.com> - 0.4.92-2
97 - Split tools sub package
99 * Thu Dec 29 2011 Peng Wu <pwu@redhat.com> - 0.4.92-1
102 * Tue Dec 27 2011 Peng Wu <pwu@redhat.com> - 0.4.91-1
105 * Fri Nov 18 2011 Peng Wu <pwu@redhat.com> - 0.3.0-1
108 * Thu Nov 03 2011 Peng Wu <pwu@redhat.com> - 0.2.99.3-1
111 * Tue Oct 11 2011 Peng Wu <pwu@redhat.com> - 0.2.99.2-1
114 * Wed Sep 28 2011 Peng Wu <pwu@redhat.com> - 0.2.99.1-1
117 * Thu Sep 08 2011 Peng Wu <pwu@redhat.com> - 0.2.99-2
118 - Split data sub package
120 * Wed Aug 31 2011 Peng Wu <alexepico@gmail.com> - 0.2.99-1