|
@@ -1,5 +1,5 @@
|
|
%define _noVersionedDependencies 1
|
|
%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:%%{NAME} >= %%{VERSION}' %1| grep -v "is not")
|
|
%define emacsen_pkgdir /usr/lib/emacsen-common/packages
|
|
%define emacsen_pkgdir /usr/lib/emacsen-common/packages
|
|
%define origname lookup
|
|
%define origname lookup
|
|
%define origver 1.4.1
|
|
%define origver 1.4.1
|
|
@@ -8,7 +8,7 @@ Summary: a Search Interface for Emacsen
|
|
Summary(ja): Emacs 系のエディタで利用できる辞書検索インターフェース
|
|
Summary(ja): Emacs 系のエディタで利用できる辞書検索インターフェース
|
|
Name: %{origname}
|
|
Name: %{origname}
|
|
Version: %{origver}
|
|
Version: %{origver}
|
|
-Release: 1%{?_dist_release}
|
|
+Release: 2%{?_dist_release}
|
|
|
|
|
|
Source0: http://openlab.jp/edict/lookup/dist/lookup-%{version}.tar.gz
|
|
Source0: http://openlab.jp/edict/lookup/dist/lookup-%{version}.tar.gz
|
|
Source1: %{origname}-install.sh
|
|
Source1: %{origname}-install.sh
|
|
@@ -16,18 +16,18 @@ Source2: %{origname}-remove.sh
|
|
Source10: lookup-sample.dotemacs
|
|
Source10: lookup-sample.dotemacs
|
|
Source11: lookup-init.el
|
|
Source11: lookup-init.el
|
|
Source12: vine-default-lookup.el
|
|
Source12: vine-default-lookup.el
|
|
|
|
+Patch0: lookup-1.4.1-void-e.patch
|
|
|
|
|
|
-License: GPL
|
|
+License: GPLv2+
|
|
Group: Applications/Editors/Emacs
|
|
Group: Applications/Editors/Emacs
|
|
URL: http://openlab.jp/edict/lookup/
|
|
URL: http://openlab.jp/edict/lookup/
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}
|
|
BuildArch: noarch
|
|
BuildArch: noarch
|
|
|
|
|
|
-Requires: emacsen
|
|
+Requires: emacsen flim apel
|
|
-PreReq: emacsen flim apel
|
|
|
|
BuildRequires: flim apel
|
|
BuildRequires: flim apel
|
|
%prereq_ge emacsen-common
|
|
%prereq_ge emacsen-common
|
|
-PreReq: /sbin/install-info
|
|
+Requires: /sbin/install-info
|
|
Obsoletes: lookup-emacs, lookup-xemacs
|
|
Obsoletes: lookup-emacs, lookup-xemacs
|
|
Conflicts: %{origname}-el
|
|
Conflicts: %{origname}-el
|
|
|
|
|
|
@@ -49,7 +49,7 @@ Lookup は Emacs 系のエディタで利用できる辞書検索インターフ
|
|
%prep
|
|
%prep
|
|
|
|
|
|
%setup -q -n %{origname}-%{origver}
|
|
%setup -q -n %{origname}-%{origver}
|
|
-
|
|
+%patch0 -p 1
|
|
|
|
|
|
%build
|
|
%build
|
|
|
|
|
|
@@ -143,6 +143,11 @@ fi
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Tue Jan 15 2013 IWAI, Masaharu <iwai@alib.jp> 1.4.1-2
|
|
|
|
+- add fix Symbol's value as variable is void patch (Patch0) for Emacs24
|
|
|
|
+- update License tag: GPL -> GPLv2+
|
|
|
|
+- replace PreReq to Requires: prereq is deprecated
|
|
|
|
+
|
|
* Tue Mar 30 2010 IWAI, Masaharu <iwai@alib.jp> 1.4.1-1
|
|
* Tue Mar 30 2010 IWAI, Masaharu <iwai@alib.jp> 1.4.1-1
|
|
- update to 1.4.1
|
|
- update to 1.4.1
|
|
- add PreReq: apel
|
|
- add PreReq: apel
|