[libpinyin] initial import

Peng Wu pwu at fedoraproject.org
Thu Sep 29 03:32:23 UTC 2011


commit fbec6d116ca9ad222894d87764b918192fc883e4
Author: Peng Wu <alexepico at gmail.com>
Date:   Thu Sep 29 11:18:07 2011 +0800

    initial import

 .gitignore     |    1 +
 libpinyin.spec |   79 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources        |    1 +
 3 files changed, 81 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..8212dac 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/libpinyin-0.2.99.1.tar.gz
diff --git a/libpinyin.spec b/libpinyin.spec
new file mode 100644
index 0000000..6c2c1a3
--- /dev/null
+++ b/libpinyin.spec
@@ -0,0 +1,79 @@
+Name:           libpinyin
+Version:        0.2.99.1
+Release:        1%{?dist}
+Summary:        Library to deal with pinyin
+
+License:        GPLv2+
+URL:            https://github.com/libpinyin/libpinyin
+Source0:        https://github.com/downloads/libpinyin/libpinyin/%{name}-%{version}.tar.gz
+
+BuildRequires:  db4-devel, glib2-devel
+#Requires:       
+
+%description
+The libpinyin project aims to provide the algorithms core
+for intelligent sentence-based Chinese pinyin input methods.
+
+
+%package        devel
+Summary:        Development files for %{name}
+Requires:       %{name} = %{version}-%{release}
+
+%description    devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+
+%package        data
+Summary:        Data files for %{name}
+Requires:       %{name} = %{version}-%{release}
+
+%description data
+The %{name}-data package contains data files.
+
+
+%prep
+%setup -q
+
+
+%build
+%configure --disable-static
+make
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%doc AUTHORS COPYING README
+%{_libdir}/*.so.*
+%dir %{_datadir}/libpinyin
+
+%files devel
+%doc
+%dir %{_includedir}/libpinyin-0.3
+%{_includedir}/libpinyin-0.3/*
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/libpinyin.pc
+
+%files data
+%doc
+%{_datadir}/libpinyin/data
+
+%changelog
+* Wed Sep 28 2011  Peng Wu <pwu at redhat.com> - 0.2.99.1-1
+- Update to 0.2.99.1
+
+* Thu Sep 08 2011  Peng Wu <pwu at redhat.com> - 0.2.99-2
+- Split data sub package
+
+* Wed Aug 31 2011  Peng Wu <alexepico at gmail.com> - 0.2.99-1
+- Initial version
diff --git a/sources b/sources
index e69de29..6831401 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+313708042e205925a5d052b1e05faffc  libpinyin-0.2.99.1.tar.gz


More information about the scm-commits mailing list