diff --git a/kasumi.spec b/kasumi.spec index d19ac23..8737624 100644 --- a/kasumi.spec +++ b/kasumi.spec @@ -1,10 +1,10 @@ Name: kasumi Version: 2.5 -Release: 28%{?dist} +Release: 29%{?dist} License: GPLv2+ URL: http://kasumi.sourceforge.jp/ -BuildRequires: gtk2-devel anthy-devel +BuildRequires: gtk2-devel anthy-unicode-devel BuildRequires: autoconf automake libtool BuildRequires: gcc-c++ Source0: http://jaist.dl.sourceforge.jp/kasumi/41436/%{name}-%{version}.tar.gz @@ -21,8 +21,11 @@ Kasumi is a dictionary management tool for Anthy. autoreconf -f -i %build -export CXXFLAGS="-std=c++14 $RPM_OPT_FLAGS" +export CXXFLAGS="-std=c++14 $RPM_OPT_FLAGS -I%_includedir/anthy-unicode-1.0" +export LIBS="$RPM_LD_FLAGS -lanthy-unicode -lanthydic-unicode" %configure +echo $LIBS +echo $CXXFLAGS make %{?_smp_mflags} @@ -44,6 +47,9 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop %changelog +* Thu Sep 03 2020 Takao Fujiwra - 2.5-29 +- Replace anthy with anthy-unicode + * Tue Jul 28 2020 Jeff Law - 2.5-28 - Force C++14 as this code is not C++17 ready