From c4d3f9f9bd1338e13f9eb59af30776847a66ffc6 Mon Sep 17 00:00:00 2001 From: besfahbo Date: Thu, 18 Jan 2007 06:39:36 +0000 Subject: [PATCH] - Patch libthai.pc.in to not require datrie. --- ...i-0.1.7-libdatrie-0.1.1-build-static.patch | 21 +++++++++++++------ libthai.spec | 5 ++++- 2 files changed, 19 insertions(+), 7 deletions(-) diff --git a/libthai-0.1.7-libdatrie-0.1.1-build-static.patch b/libthai-0.1.7-libdatrie-0.1.1-build-static.patch index b5ce3e4..bf5cf4a 100644 --- a/libthai-0.1.7-libdatrie-0.1.1-build-static.patch +++ b/libthai-0.1.7-libdatrie-0.1.1-build-static.patch @@ -1,5 +1,5 @@ ---- libthai-0.1.7/src/Makefile.am.orig 2007-01-15 02:28:45.000000000 -0500 -+++ libthai-0.1.7/src/Makefile.am 2007-01-15 02:29:44.000000000 -0500 +--- libthai-0.1.7/src/Makefile.am.static-build 2006-05-04 06:14:27.000000000 -0400 ++++ libthai-0.1.7/src/Makefile.am 2007-01-18 00:22:06.000000000 -0500 @@ -24,7 +24,9 @@ $(top_builddir)/src/thwchar/libthwchar.la \ $(top_builddir)/src/thwctype/libthwctype.la \ @@ -12,16 +12,16 @@ + -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \ + -export-symbols-regex '^th_.*' ---- libthai-0.1.7/src/thbrk/Makefile.am.orig 2007-01-15 02:29:30.000000000 -0500 -+++ libthai-0.1.7/src/thbrk/Makefile.am 2007-01-15 02:29:53.000000000 -0500 +--- libthai-0.1.7/src/thbrk/Makefile.am.static-build 2006-10-14 02:38:56.000000000 -0400 ++++ libthai-0.1.7/src/thbrk/Makefile.am 2007-01-18 00:22:06.000000000 -0500 @@ -13,5 +13,4 @@ brk-maximal.c \ brk-maximal.h -libthbrk_la_LIBADD = $(DATRIE_LIBS) ---- libthai-0.1.7/libdatrie-0.1.1/datrie/Makefile.am.orig 2007-01-15 02:25:34.000000000 -0500 -+++ libthai-0.1.7/libdatrie-0.1.1/datrie/Makefile.am 2007-01-15 02:25:41.000000000 -0500 +--- libthai-0.1.7/libdatrie-0.1.1/datrie/Makefile.am.static-build 2006-09-02 10:12:54.000000000 -0400 ++++ libthai-0.1.7/libdatrie-0.1.1/datrie/Makefile.am 2007-01-18 00:22:06.000000000 -0500 @@ -8,7 +8,7 @@ INCLUDES = -I$(top_srcdir) @@ -31,3 +31,12 @@ libdatrie_la_SOURCES = \ typedefs.h \ +--- libthai-0.1.7/libthai.pc.in.static-build 2007-01-18 01:38:29.000000000 -0500 ++++ libthai-0.1.7/libthai.pc.in 2007-01-18 01:38:38.000000000 -0500 +@@ -6,6 +6,5 @@ + Name: libthai + Description: Thai support library + Version: @VERSION@ +-Requires: datrie + Libs: -L${libdir} -lthai + Cflags: -I${includedir} diff --git a/libthai.spec b/libthai.spec index dda496f..d084e83 100644 --- a/libthai.spec +++ b/libthai.spec @@ -4,7 +4,7 @@ Summary: Thai language support routines Name: libthai Version: 0.1.7 -Release: 3%{?dist} +Release: 4%{?dist} License: LGPL Group: System Environment/Libraries Source: ftp://linux.thai.net/pub/thailinux/software/libthai/libthai-%{version}.tar.gz @@ -108,6 +108,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/* %changelog +* Tue Jan 17 2007 Behdad Esfahbod 0.1.7-4 +- Patch libthai.pc.in to not require datrie. + * Tue Jan 16 2007 Matthias Clasen 0.1.7-3 - Miscellaneous fixes