[sombok] Initial import.

Xavier Bachelot xavierb at fedoraproject.org
Wed Jul 27 17:39:02 UTC 2011


commit 25cbe33129b7aa7d356cc55282bf24cc935f48f6
Author: Xavier Bachelot <xavier at bachelot.org>
Date:   Wed Jul 27 19:36:38 2011 +0200

    Initial import.

 .gitignore  |    1 +
 sombok.spec |   82 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources     |    1 +
 3 files changed, 84 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..99482bb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/sombok-2.0.5.tar.gz
diff --git a/sombok.spec b/sombok.spec
new file mode 100644
index 0000000..8b5a063
--- /dev/null
+++ b/sombok.spec
@@ -0,0 +1,82 @@
+Name:           sombok
+Version:        2.0.5
+Release:        2%{?dist}
+Summary:        Unicode Text Segmentation Package
+
+Group:          System Environment/Libraries
+License:        GPLv2+
+URL:            http://sf.net/projects/linefold/
+Source0:        http://downloads.sourceforge.net/linefold/%{name}-%{version}.tar.gz
+BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+
+# libthai is available only in Fedora and EL6
+%if 0%{?rhel} > 5 || 0%{?fedora}
+BuildRequires:  libthai-devel
+%endif
+
+
+%description
+Sombok library package performs Line Breaking Algorithm described in Unicode
+Standards Annex #14 (UAX #14). East_Asian_Width informative properties defined
+by Annex #11 (UAX #11) may be concerned to determine breaking positions. This
+package also implements "default" Grapheme Cluster segmentation described in
+Annex #29 (UAX #29).
+
+
+%package        devel
+Summary:        Development files for %{name}
+Group:          Development/Libraries
+Requires:       %{name}%{?_isa} = %{version}-%{release}
+Requires:       pkgconfig
+
+%description    devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+
+%prep
+%setup -q
+
+
+%build
+%configure --disable-static
+make %{?_smp_mflags}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS ChangeLog ChangeLog.REL1 COPYING NEWS README README.ja_JP
+%{_libdir}/libsombok.so.*
+
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/sombok*.h
+%{_libdir}/libsombok.so
+%{_libdir}/pkgconfig/sombok.pc
+
+
+%changelog
+* Tue Jul 26 2011 Xavier Bachelot <xavier at bachelot.org> 2.0.5-2
+- Fix conditional BuildRequires on libthai-devel.
+- Fix description.
+- Fix Requires in the devel subpackage.
+- Be more specific on filenames in the %%files' sections.
+
+* Tue May 17 2011 Xavier Bachelot <xavier at bachelot.org> 2.0.5-1
+- Initial Fedora release.
diff --git a/sources b/sources
index e69de29..2ffe9e7 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+af78a04e07998aedc12a841fa2b168d2  sombok-2.0.5.tar.gz


More information about the scm-commits mailing list