[libzhuyin] import srpm

Peng Wu pwu at fedoraproject.org
Fri Dec 27 04:58:46 UTC 2013


commit 68dc65590512b57c57824d411239a272a562966e
Author: Peng Wu <alexepico at gmail.com>
Date:   Fri Dec 27 12:55:00 2013 +0800

    import srpm

 .gitignore     |    1 +
 libzhuyin.spec |   86 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources        |    1 +
 3 files changed, 88 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..78d8bf8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/libzhuyin-0.9.93.tar.gz
diff --git a/libzhuyin.spec b/libzhuyin.spec
new file mode 100644
index 0000000..be50734
--- /dev/null
+++ b/libzhuyin.spec
@@ -0,0 +1,86 @@
+Name:           libzhuyin
+Version:        0.9.93
+Release:        1%{?dist}
+Summary:        Library to deal with zhuyin
+
+License:        GPLv2+
+URL:            https://github.com/libzhuyin/libzhuyin
+Source0:        http://downloads.sourceforge.net/libzhuyin/libzhuyin/%{name}-%{version}.tar.gz
+
+BuildRequires:  libdb-devel, glib2-devel
+Requires:       %{name}-data%{?_isa} = %{version}-%{release}
+
+%description
+The libzhuyin project aims to provide the algorithms core
+for intelligent sentence-based Chinese zhuyin 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.
+
+
+%package        tools
+Summary:        Tools for %{name}
+Requires:       %{name} = %{version}-%{release}
+
+%description tools
+The %{name}-tools package contains tools.
+
+
+%prep
+%setup -q
+
+
+%build
+%configure --disable-static
+make %{?_smp_mflags}
+
+%install
+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 %{_libdir}/libzhuyin
+
+%files devel
+%doc
+%dir %{_includedir}/libzhuyin-0.9.93
+%{_includedir}/libzhuyin-0.9.93/*
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/libzhuyin.pc
+
+%files data
+%doc
+%{_libdir}/libzhuyin/data
+
+%files tools
+%{_bindir}/gen_binary_files
+%{_bindir}/import_interpolation
+%{_bindir}/gen_unigram
+%{_mandir}/man1/*.1.*
+
+%changelog
+* Tue Dec 24 2013 Peng Wu <pwu at redhat.com> - 0.9.93-1
+- Initial version
+
diff --git a/sources b/sources
index e69de29..b1d783d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+00843be1ce9b2beaed3919a3a546406e  libzhuyin-0.9.93.tar.gz


More information about the scm-commits mailing list