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 for intelligent sentence-based Chinese pinyin input methods.
18 Summary: Development files for %{name}
19 Requires: %{name} = %{version}-%{release}
22 The %{name}-devel package contains libraries and header files for
23 developing applications that use %{name}.
27 Summary: data files for %{name}
28 Requires: %{name} = %{version}-%{release}
31 The %{name}-data package contains data files.
39 %configure --disable-static
44 rm -rf $RPM_BUILD_ROOT
45 make install DESTDIR=$RPM_BUILD_ROOT
46 find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
49 %post -p /sbin/ldconfig
51 %postun -p /sbin/ldconfig
55 %doc AUTHORS COPYING README
57 %dir %{_datadir}/libpinyin
61 %{_includedir}/libpinyin-0.3/*
63 %{_libdir}/pkgconfig/libpinyin.pc
67 %{_datadir}/libpinyin/data
70 * Thu Sep 08 2011 Peng Wu <pwu@redhat.com> - 0.2.99-2
71 - Split data sub package
73 * Wed Aug 31 2011 Peng Wu <alexepico@gmail.com> - 0.2.99-1