Browse Source

added fwdevince.py

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@10271 ec354946-7b23-47d6-9f5a-488ba84defc7
munepi 6 years ago
parent
commit
3cff370f2e
1 changed files with 28 additions and 4 deletions
  1. 28 4
      y/yatex/yatex-vl.spec

+ 28 - 4
y/yatex/yatex-vl.spec

@@ -3,7 +3,7 @@
 
 Name:          yatex
 Version:       1.78.4
-Release:       1%{?_dist_release}
+Release:       5%{?_dist_release}
 License:       Distributable
 Source0:       http://www.yatex.org/yatex%{version}.tar.gz 
 #Source0:       http://www.gentei.org/~yuuji/tmp/yatex11205111805.tar.gz
@@ -13,6 +13,8 @@ Source3:       %{name}-init.el
 Source4:       vine-default-%{name}.el
 Source5:       vine-default-yahtml.el
 
+Source10:      fwdevince.py
+
 ## Vine Patch(es)
 Patch1:        yatexhlp-emacs.diff
 Patch2:        yatex-make.diff
@@ -20,7 +22,7 @@ Patch2:        yatex-make.diff
 # and modified to suit 1.70 release
 Patch3:        yahtml-1.70-timestamp.patch
 
-Patch10:       yatex-1.78-vine-vl7.patch
+Patch10:       yatex-1.78.4-vine-vl7.patch
 
 URL:           http://www.yatex.org/
 Group:         Applications/Editors/Emacs
@@ -29,6 +31,8 @@ Summary:       YaTeX - Yet Another TeX mode for Emacs
 Summary(ja):   野鳥(YaTeX) - Yet Another TeX mode for Emacs
 BuildArch:     noarch
 
+Requires:       evince python3
+
 Requires(post): emacsen
 Requires(post): emacsen-common
 Requires(post): make
@@ -68,6 +72,11 @@ yatex と auctex パッケージの両方をインストールする場合、
       vine-default-preview-latex nil)
 
 
+vine-default-yatex では、エディタ emacs と PDF プレビュー evince との
+forward/inverse search を設定済です。
+ - emacs -> evince (forward search): C-c C-g
+ - evince -> emacs (inverse search): Ctrl+左クリック
+
 %prep
 %setup -n yatex%{version}
 %patch1 -p1
@@ -90,8 +99,9 @@ yatex と auctex パッケージの両方をインストールする場合、
 
 
 %install
+%__rm -rf ${RPM_BUILD_ROOT}
 
-[ "${RPM_BUILD_ROOT}" != "/" ] && %__rm -rf ${RPM_BUILD_ROOT}
+install -Dpm 755 %{SOURCE10} ${RPM_BUILD_ROOT}%{_bindir}/fwdevince
 
 %__mkdir_p ${RPM_BUILD_ROOT}%{_datadir}/emacs/site-lisp/%{name}
 %__mkdir_p ${RPM_BUILD_ROOT}%{emacsen_pkgdir}/install
@@ -170,7 +180,7 @@ fi
 %defattr(-,root,root)
 %doc 00readme install manifest yatex.new
 %doc docs
-
+%{_bindir}/fwdevince
 %{_datadir}/emacs/site-lisp/yatex/
 %{_infodir}/yahtmle*
 %{_infodir}/yahtmlj*
@@ -181,6 +191,20 @@ fi
 
 
 %changelog
+* Tue May 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.78.4-5
+- fixed fwdevince.py
+
+* Sun Jan 24 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.78.4-4
+- added Requires: evince python3
+
+* Sun Jan 24 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.78.4-3
+- updated vine-default-yatex.el
+  - supported forward search via fwdevince.py/python3
+  - supported inverse search via evince
+
+* Sun Jan 24 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.78.4-2
+- set uplatex+dvipdfmx as default
+
 * Mon Jan 11 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.78.4-1
 - new upstream release
 - TeX Live 2015