diff --git a/hunspell-pkgconfig_libdir.patch b/hunspell-pkgconfig_libdir.patch new file mode 100644 index 0000000..821fd3e --- /dev/null +++ b/hunspell-pkgconfig_libdir.patch @@ -0,0 +1,12 @@ +--- hunspell.pc.in ++++ hunspell.pc.in +@@ -1,7 +1,7 @@ + prefix=@prefix@ + exec_prefix=${prefix} +-libdir=${prefix}/lib +-includedir=${prefix}/include ++libdir=@libdir@ ++includedir=@includedir@ + + Name: hunspell + Description: Hunpell spellchecking library diff --git a/hunspell.changes b/hunspell.changes index 7af2452..162e574 100644 --- a/hunspell.changes +++ b/hunspell.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Apr 23 11:57:28 CEST 2008 - lmichnovic@suse.cz + +- fixed libdir and includedir in pkg-config file [bnc#382638] + (hunspell-pkgconfig_libdir.patch) + ------------------------------------------------------------------- Tue Apr 15 10:50:31 CEST 2008 - schwab@suse.de diff --git a/hunspell.spec b/hunspell.spec index 2e979b8..b49b215 100644 --- a/hunspell.spec +++ b/hunspell.spec @@ -13,13 +13,14 @@ Summary: Hunspell - a spell checker and morphological analyzer library Name: hunspell Version: 1.2.2 -Release: 3 +Release: 5 License: GPL v2 or later; LGPL v2.1 or later; MOZILLA PUBLIC LICENSE (MPL/NPL) Group: System/Libraries Source0: %{name}-1.2.2.tar.bz2 Patch1: %{name}-uninitialised.patch Patch2: %{name}-function_address.patch Patch3: %{name}-ac.patch +Patch4: %{name}-pkgconfig_libdir.patch Url: http://hunspell.sourceforge.net/ BuildRequires: autoconf >= 2.59 BuildRequires: ncurses-devel >= 5.0 @@ -91,6 +92,7 @@ Authors: %patch1 %patch2 %patch3 +%patch4 %build cp /usr/share/gettext/config.rpath . @@ -152,6 +154,9 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/libhunspell-*.a %changelog +* Wed Apr 23 2008 lmichnovic@suse.cz +- fixed libdir and includedir in pkg-config file [bnc#382638] + (hunspell-pkgconfig_libdir.patch) * Tue Apr 15 2008 schwab@suse.de - Avoid libtool namespace clash. * Sun Apr 13 2008 lmichnovic@suse.cz