diff --git a/hunspell-pkgconfig.patch b/hunspell-pkgconfig.patch new file mode 100644 index 0000000..0677532 --- /dev/null +++ b/hunspell-pkgconfig.patch @@ -0,0 +1,9 @@ +--- hunspell-1.2.1.orig/hunspell.pc.in 2007-04-06 09:05:34.000000000 +0100 ++++ hunspell-1.2.1/hunspell.pc.in 2007-11-09 14:21:26.000000000 +0000 +@@ -6,5 +6,5 @@ + Name: hunspell + Description: Hunpell spellchecking library + Version: @VERSION@ +-Libs: -L${libdir} -lhunspell-@HUNSPELL_VERSION_MAJOR@.@HUNSPELL_VERSION_MINOR@ ++Libs: -L${libdir} -lhunspell + Cflags: -I${includedir}/hunspell diff --git a/hunspell.spec b/hunspell.spec index 781c6f3..07a4c9a 100644 --- a/hunspell.spec +++ b/hunspell.spec @@ -1,15 +1,16 @@ Name: hunspell Summary: Hunspell is a spell checker and morphological analyzer library Version: 1.2.1 -Release: 1%{?dist} +Release: 2%{?dist} Source: http://downloads.sourceforge.net/%{name}/hunspell-%{version}.tar.gz Group: System Environment/Libraries URL: http://hunspell.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) License: LGPLv2+ or GPLv2+ or MPLv1.1 - BuildRequires: libtool, ncurses-devel +Patch1: hunspell-pkgconfig.patch + %description Hunspell is a spell checker and morphological analyzer library and program designed for languages with rich morphology and complex word compounding or @@ -26,6 +27,7 @@ Includes and definitions for developing with hunspell %prep %setup -q +%patch1 -p1 -b .pkgconfig.patch %build libtoolize --automake --force @@ -78,6 +80,9 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/pkgconfig/hunspell.pc %changelog +* Fri Nov 09 2007 Caolan McNamara - 1.2.1-2 +- pkg-config cockup + * Mon Nov 05 2007 Caolan McNamara - 1.2.1-1 - latest version