- Patch libthai.pc.in to not require datrie.

This commit is contained in:
besfahbo 2007-01-18 06:39:36 +00:00
parent 9bb2fc4a8f
commit c4d3f9f9bd
2 changed files with 19 additions and 7 deletions

View File

@ -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}

View File

@ -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 <besfahbo@redhat.com> 0.1.7-4
- Patch libthai.pc.in to not require datrie.
* Tue Jan 16 2007 Matthias Clasen <mclasen@redhat.com> 0.1.7-3
- Miscellaneous fixes