|
@@ -1,16 +1,21 @@
|
|
%define srcdate 20110227
|
|
%define srcdate 20110227
|
|
%define srcname cmigemo-default-src
|
|
%define srcname cmigemo-default-src
|
|
|
|
+%define use_git 1
|
|
|
|
+%define githash 5e5f9810
|
|
|
|
|
|
Summary: C implementation of migemo
|
|
Summary: C implementation of migemo
|
|
Summary(ja): Migemo の C 言語による実装
|
|
Summary(ja): Migemo の C 言語による実装
|
|
Name: cmigemo
|
|
Name: cmigemo
|
|
Version: 1.3e
|
|
Version: 1.3e
|
|
|
|
+%if %{use_git}
|
|
|
|
+Release: 2.git%{githash}%{?_dist_release}
|
|
|
|
+Source0: %{name}-git%{githash}.tar.gz
|
|
|
|
+%else
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
Source0: http://cmigemo.googlecode.com/files/%{srcname}-%{srcdate}.zip
|
|
Source0: http://cmigemo.googlecode.com/files/%{srcname}-%{srcdate}.zip
|
|
-# include dict file and diasble downloading at complie time.
|
|
+%endif
|
|
-Source1: http://openlab.ring.gr.jp/skk/dic/SKK-JISYO.L.gz
|
|
|
|
Patch0: cmigemo-include-fix.patch
|
|
Patch0: cmigemo-include-fix.patch
|
|
-Patch1: cmigemo-utf8-dict.patch
|
|
+Patch2: cmigemo-git_no-http.patch
|
|
License: MIT/distributable (see README files for detail)
|
|
License: MIT/distributable (see README files for detail)
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
URL: http://www.kaoriya.net/software/cmigemo
|
|
URL: http://www.kaoriya.net/software/cmigemo
|
|
@@ -20,6 +25,7 @@ BuildRequires: ctags
|
|
BuildRequires: unzip
|
|
BuildRequires: unzip
|
|
BuildRequires: nkf
|
|
BuildRequires: nkf
|
|
#BuildRequires: curl
|
|
#BuildRequires: curl
|
|
|
|
+BuildRequires: skkdic
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
@@ -39,15 +45,17 @@ C/MigemoはMigemo(Ruby/Migemo)をC言語で実装したものです。C/Migemo
|
|
|
|
|
|
|
|
|
|
%prep
|
|
%prep
|
|
|
|
+%if %{use_git}
|
|
|
|
+%setup -q -n %{name}-git%{githash}
|
|
|
|
+%else
|
|
%setup -q -n %{srcname}
|
|
%setup -q -n %{srcname}
|
|
|
|
+%endif
|
|
%patch0 -p1 -b .include
|
|
%patch0 -p1 -b .include
|
|
-%patch1 -p1 -b .utf8-dict
|
|
+%patch2 -p1 -b .no-http
|
|
|
|
|
|
# fix execution bit for configure
|
|
# fix execution bit for configure
|
|
%{__chmod} +x ./configure
|
|
%{__chmod} +x ./configure
|
|
|
|
|
|
-# locate SKK-JISYO.L
|
|
|
|
-%{__cp} %{SOURCE1} dict/
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
%configure --prefix=$RPM_BUILD_ROOT/%{_prefix}
|
|
%configure --prefix=$RPM_BUILD_ROOT/%{_prefix}
|
|
@@ -90,5 +98,11 @@ C/MigemoはMigemo(Ruby/Migemo)をC言語で実装したものです。C/Migemo
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sun Jan 26 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 1.3e-2.git5e5f9810
|
|
|
|
+- update to Git 5e5f9810
|
|
|
|
+- drop unneccesary UTF-8 dictionary patch (Patch1)
|
|
|
|
+- add no HTTP patch (Patch2)
|
|
|
|
+- add BuildRequires: skkdic
|
|
|
|
+
|
|
* Mon Jun 20 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 1.3e-1
|
|
* Mon Jun 20 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 1.3e-1
|
|
- initial build for Vine Linux
|
|
- initial build for Vine Linux
|