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
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.
40 %configure --disable-static
45 rm -rf $RPM_BUILD_ROOT
46 make install DESTDIR=$RPM_BUILD_ROOT
47 find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
50 %post -p /sbin/ldconfig
52 %postun -p /sbin/ldconfig
56 %doc AUTHORS COPYING README
58 %dir %{_datadir}/libpinyin
62 %dir %{_includedir}/libpinyin-0.3
63 %{_includedir}/libpinyin-0.3/*
65 %{_libdir}/pkgconfig/libpinyin.pc
69 %{_datadir}/libpinyin/data
72 * Tue Oct 11 2011 Peng Wu <pwu@redhat.com> - 0.2.99.2-1
75 * Wed Sep 28 2011 Peng Wu <pwu@redhat.com> - 0.2.99.1-1
78 * Thu Sep 08 2011 Peng Wu <pwu@redhat.com> - 0.2.99-2
79 - Split data sub package
81 * Wed Aug 31 2011 Peng Wu <alexepico@gmail.com> - 0.2.99-1