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}.
31 %configure --disable-static
36 rm -rf $RPM_BUILD_ROOT
37 make install DESTDIR=$RPM_BUILD_ROOT
38 find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
41 %post -p /sbin/ldconfig
43 %postun -p /sbin/ldconfig
47 %doc AUTHORS COPYING README
49 %dir %{_datadir}/libpinyin
50 %{_datadir}/libpinyin/data
54 %{_includedir}/libpinyin-0.3/*
56 %{_libdir}/pkgconfig/libpinyin.pc
60 * Wed Aug 31 2011 Peng Wu <alexepico@gmail.com> - 0.2.99-1