|
@@ -2,14 +2,15 @@
|
|
%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 'PreReq:%%{NAME} >= %%{VERSION}' %1| grep -v "is not")
|
|
%define origname html-helper-mode
|
|
%define origname html-helper-mode
|
|
%define origver 2.19.1.1
|
|
%define origver 2.19.1.1
|
|
-%define release 5%{?_dist_release}
|
|
+%define release 6%{?_dist_release}
|
|
|
|
+%define emacsen_pkgdir /usr/lib/emacsen-common/packages
|
|
|
|
|
|
# Main
|
|
# Main
|
|
Summary: Major mode for editing HTML (for Emacsen)
|
|
Summary: Major mode for editing HTML (for Emacsen)
|
|
Name: %{origname}
|
|
Name: %{origname}
|
|
Version: %{origver}
|
|
Version: %{origver}
|
|
Release: %{release}
|
|
Release: %{release}
|
|
-License: GPL2
|
|
+License: GPLv2+
|
|
Group: Applications/Editors/Emacs
|
|
Group: Applications/Editors/Emacs
|
|
URL: http://www.santafe.edu/~nelson/tools/
|
|
URL: http://www.santafe.edu/~nelson/tools/
|
|
Source0: http://www.santafe.edu/~nelson/hhm-beta/html-helper-mode.el
|
|
Source0: http://www.santafe.edu/~nelson/hhm-beta/html-helper-mode.el
|
|
@@ -23,6 +24,8 @@ Source7: hhm.dot.emacs
|
|
Source8: HHM-MK
|
|
Source8: HHM-MK
|
|
Source9: html-helper-mode-install.sh
|
|
Source9: html-helper-mode-install.sh
|
|
Source10: html-helper-mode-remove.sh
|
|
Source10: html-helper-mode-remove.sh
|
|
|
|
+Source11: vine-default-%{origname}.el
|
|
|
|
+Source12: %{origname}-init.el
|
|
Buildroot: %{_tmppath}/%{name}-root
|
|
Buildroot: %{_tmppath}/%{name}-root
|
|
PreReq: emacsen
|
|
PreReq: emacsen
|
|
Requires: emacsen
|
|
Requires: emacsen
|
|
@@ -35,16 +38,6 @@ Vendor: Project Vine
|
|
Distribution: Vine Linux
|
|
Distribution: Vine Linux
|
|
|
|
|
|
%description
|
|
%description
|
|
-NOTE:
|
|
|
|
-It require following,
|
|
|
|
-so please get and install them before to install it.
|
|
|
|
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
|
|
|
|
-Emacs:
|
|
|
|
-emacsen and emacsen-common
|
|
|
|
-=====================================================
|
|
|
|
-
|
|
|
|
-What's html-helper-mode
|
|
|
|
-========================
|
|
|
|
html-helper-mode makes it easier to write HTML documents.
|
|
html-helper-mode makes it easier to write HTML documents.
|
|
This mode handles inserting HTML codes in a variety of ways
|
|
This mode handles inserting HTML codes in a variety of ways
|
|
(keybindings, completion in the buffer).
|
|
(keybindings, completion in the buffer).
|
|
@@ -54,20 +47,10 @@ hilit19 patterns, and a variety of other things.
|
|
Initialization
|
|
Initialization
|
|
===============
|
|
===============
|
|
Please refer the following file:
|
|
Please refer the following file:
|
|
- "/usr/doc/%{name}-%{version}/hhm.dot.emacs"
|
|
+ "%{_docdir}/%{name}-%{version}/hhm.dot.emacs"
|
|
- "/usr/doc/%{name}-%{version}/*.html"
|
|
+ "%{_docdir}/%{name}-%{version}/*.html"
|
|
|
|
|
|
%description -l ja
|
|
%description -l ja
|
|
-注意:
|
|
|
|
-以下が必要ですので、
|
|
|
|
-インストール前にそれらをインストールして下さい。
|
|
|
|
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
|
|
|
|
-Emacs:
|
|
|
|
-emacsen と emacsen-common
|
|
|
|
-================================================
|
|
|
|
-
|
|
|
|
-html-helper-mode とは
|
|
|
|
-======================
|
|
|
|
html-helper-mode は、HTML ドキュメントの作成を簡単にします。
|
|
html-helper-mode は、HTML ドキュメントの作成を簡単にします。
|
|
このモードでは、HTML コードの挿入に多様な方法が使えます。
|
|
このモードでは、HTML コードの挿入に多様な方法が使えます。
|
|
また、INDENTATION、タイムスタンプ等をサポートします。
|
|
また、INDENTATION、タイムスタンプ等をサポートします。
|
|
@@ -75,8 +58,8 @@ html-helper-mode は、HTML ドキュメントの作成を簡単にします。
|
|
初期設定
|
|
初期設定
|
|
=========
|
|
=========
|
|
下記を参考にしてください:
|
|
下記を参考にしてください:
|
|
- "/usr/doc/%{name}-%{version}/hhm.dot.emacs"
|
|
+ "%{_docdir}/%{name}-%{version}/hhm.dot.emacs"
|
|
- "/usr/doc/%{name}-%{version}/*.html"
|
|
+ "%{_docdir}/%{name}-%{version}/*.html"
|
|
|
|
|
|
# '
|
|
# '
|
|
%prep
|
|
%prep
|
|
@@ -99,9 +82,9 @@ cp %SOURCE8 ./
|
|
[ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT}
|
|
[ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT}
|
|
[ "${RPM_BUILD_ROOT}" != "/" ] && mkdir -p ${RPM_BUILD_ROOT}
|
|
[ "${RPM_BUILD_ROOT}" != "/" ] && mkdir -p ${RPM_BUILD_ROOT}
|
|
|
|
|
|
-mkdir -p $RPM_BUILD_ROOT/%{_datadir}/emacs/site-lisp/%{origname}
|
|
+mkdir -p %{buildroot}%{_datadir}/emacs/site-lisp/%{origname}/packages
|
|
-mkdir -p $RPM_BUILD_ROOT/%{_libdir}/emacsen-common/packages/install
|
|
+mkdir -p %{buildroot}%{emacsen_pkgdir}/install
|
|
-mkdir -p $RPM_BUILD_ROOT/%{_libdir}/emacsen-common/packages/remove
|
|
+mkdir -p %{buildroot}%{emacsen_pkgdir}/remove
|
|
|
|
|
|
#
|
|
#
|
|
# install el files
|
|
# install el files
|
|
@@ -150,12 +133,18 @@ rm -rf ${RPM_BUILD_DIR}/%{origname}-%{origver}
|
|
%files
|
|
%files
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
%doc *.html hhm.dot.emacs
|
|
%doc *.html hhm.dot.emacs
|
|
-%{_datadir}/emacs/site-lisp/%{origname}/
|
|
+%{_datadir}/emacs/site-lisp/%{origname}
|
|
-/usr/lib/emacsen-common/packages/install/%{origname}
|
|
+%{emacsen_pkgdir}/install/%{origname}
|
|
-/usr/lib/emacsen-common/packages/remove/%{origname}
|
|
+%{emacsen_pkgdir}/remove/%{origname}
|
|
-
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Wed Apr 7 2010 IWAI, Masaharu <iwai@alib.jp> 2.19.1.1-6
|
|
|
|
+- apply vine-default
|
|
|
|
+ - add vine-default (Source11)
|
|
|
|
+ - add init.el (Source12)
|
|
|
|
+- using %%{emacsen_pkgdir} macro
|
|
|
|
+- update %%description
|
|
|
|
+
|
|
* Wed May 06 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 2.19.1.1-5
|
|
* Wed May 06 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 2.19.1.1-5
|
|
- spec in utf8
|
|
- spec in utf8
|
|
- applied new versioning policy
|
|
- applied new versioning policy
|