|
@@ -1,11 +1,9 @@
|
|
|
## -*- coding: utf-8-unix -*-
|
|
|
%define _noVersionedDependencies 1
|
|
|
-%define prereq_ge() %(LC_ALL="C" rpm -q --queryformat 'PreReq:%%{NAME} >= %%{VERSION}' %1| grep -v "is not")
|
|
|
+%define prereq_ge() %(LC_ALL="C" rpm -q --queryformat 'Requires(post):%%{NAME} >= %%{VERSION}' %1| grep -v "is not")
|
|
|
%define origname migemo
|
|
|
%define origver 0.40
|
|
|
-%define release 3%{?_dist_release}
|
|
|
-#%%define rlibdir ruby -r rbconfig -e 'print Config::CONFIG["rubylibdir"]'
|
|
|
-%define rubyver %(%{ruby} -r rbconfig -e 'print Config::CONFIG["rubylibdir"]'|%{__sed} -e 's/^.*\\/\\([0-9.]*\\)$/\\1/')
|
|
|
+%define release 4%{?_dist_release}
|
|
|
|
|
|
Name: %{origname}
|
|
|
Version: %{origver}
|
|
@@ -13,7 +11,7 @@ Release: %{release}
|
|
|
|
|
|
Summary: Japanese incremental search with Romaji on Emacsen
|
|
|
Summary(ja): Emacsen 上でローマ字を使って日本語インクリメントサーチを行うツール
|
|
|
-License: GPL2
|
|
|
+License: GPLv2
|
|
|
Group: Applications/Editors/Emacs
|
|
|
Source0: http://0xcc.net/migemo/migemo-%{origver}.tar.gz
|
|
|
Source1: migemo-install.sh
|
|
@@ -29,7 +27,8 @@ BuildRequires: ruby-romkan
|
|
|
BuildRequires: emacsen
|
|
|
Requires: emacsen
|
|
|
Requires: apel
|
|
|
-Requires: ruby >= %{rubyver}
|
|
|
+#Requires: ruby >= %{rubyver}
|
|
|
+Requires: ruby
|
|
|
Requires: ruby-bsearch >= 1.5-0vl4
|
|
|
Requires: ruby-romkan >= 0.4-0vl3
|
|
|
Requires(post): emacsen
|
|
@@ -118,7 +117,10 @@ rm -rf ${RPM_BUILD_DIR}/%{origname}-%{origver}
|
|
|
%{emacsen_pkgdir}/remove/%{origname}
|
|
|
|
|
|
%changelog
|
|
|
-* Wed Jan 06 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.40-3
|
|
|
+* Sun Feb 19 2012 Munehiro Yamamoto <munepi@vinelinux.org> 0.40-4
|
|
|
+- updated migemo-init.el
|
|
|
+
|
|
|
+* Sun Oct 18 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.40-3
|
|
|
- use %%{emacsen_pkgdir}
|
|
|
|
|
|
* Tue May 5 2009 IWAI, Masaharu <iwai@alib.jp> 0.40-2
|