rpms/jd/F-7 jd.spec,1.121,1.122
Mamoru Tasaka (mtasaka)
fedora-extras-commits at redhat.com
Mon May 21 17:09:41 UTC 2007
Author: mtasaka
Update of /cvs/extras/rpms/jd/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4029/jd/F-7
Modified Files:
jd.spec
Log Message:
Add migemo support for jd & kazehakase
Index: jd.spec
===================================================================
RCS file: /cvs/extras/rpms/jd/F-7/jd.spec,v
retrieving revision 1.121
retrieving revision 1.122
diff -u -r1.121 -r1.122
--- jd.spec 16 May 2007 13:55:26 -0000 1.121
+++ jd.spec 21 May 2007 17:08:37 -0000 1.122
@@ -19,7 +19,7 @@
# Defined by vendor
#
-%define vendor_rel 1
+%define vendor_rel 2
# Tag name changed from vendor to vendorname so as not to
# overwrite Vendor entry in Summary
%define vendorname fedora
@@ -35,6 +35,8 @@
%define rel %{vendor_rel}%{?dist}
%endif
+%define _with_migemo 1
+%define migemo_dic %{_datadir}/cmigemo/utf-8/migemo-dict
##########################################
@@ -55,6 +57,9 @@
BuildRequires: openssl-devel
BuildRequires: desktop-file-utils
BuildRequires: libSM-devel
+%if 0%{?_with_migemo} >= 1
+BuildRequires: cmigemo-devel
+%endif
Requires: fonts-japanese
@@ -65,13 +70,24 @@
%setup -q -n %{name}-%{main_ver}-%{strtag}
find . -name .svn | sort -r | xargs %{__rm} -rf
+%if 0%{?_with_migemo} >= 1
+%{__sed} -i \
+ -e 's|/usr/share/migemo/utf-8/migemo-dict|%{migemo_dic}|' \
+ src/config/configitems.cpp \
+ src/jdlib/jdmigemo.h
+%endif
+
%build
sh autogen.sh
# set TZ for __TIME__
export TZ='Asia/Tokyo'
-%configure
+%configure \
+%if 0%{?_with_migemo} >= 1
+ --with-migemo
+%endif
+
%{__make} %{?_smp_mflags}
%install
@@ -109,6 +125,9 @@
%{icondir}/%{name}.png
%changelog
+* Tue May 22 2007 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 1.9.5-0.2.beta070516
+- Support C/Migemo search
+
* Tue May 15 2007 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 1.9.5-0.1.beta070516
- 1.9.5 beta 070516
More information about the fedora-extras-commits
mailing list