Replace anthy with anthy-unicode

This commit is contained in:
Takao Fujiwara 2020-09-03 18:48:42 +09:00
parent 6c078c06a1
commit e05b4858d1

View File

@ -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 <tfujiwar@redhat.com> - 2.5-29
- Replace anthy with anthy-unicode
* Tue Jul 28 2020 Jeff Law <law@redhat.com> - 2.5-28
- Force C++14 as this code is not C++17 ready