|
@@ -1,4 +1,4 @@
|
|
-#% define svnrevision 773
|
|
|
|
|
|
+%define svnrevision 950
|
|
%define templates_japanese 1
|
|
%define templates_japanese 1
|
|
%define templates_japanese_version 20110626
|
|
%define templates_japanese_version 20110626
|
|
|
|
|
|
@@ -7,7 +7,7 @@
|
|
## Summary/Description adopted from Debian with modification
|
|
## Summary/Description adopted from Debian with modification
|
|
|
|
|
|
Name: texworks
|
|
Name: texworks
|
|
-Version: 0.4.3
|
|
|
|
|
|
+Version: 0.5
|
|
Release: 1%{?svnrevision:.svn%svnrevision}%{?_dist_release}
|
|
Release: 1%{?svnrevision:.svn%svnrevision}%{?_dist_release}
|
|
Summary: An environment for authoring TeX (LaTeX, ConTeXt, etc) documents
|
|
Summary: An environment for authoring TeX (LaTeX, ConTeXt, etc) documents
|
|
Summary(ja): TeX ドキュメント制作のための総合環境
|
|
Summary(ja): TeX ドキュメント制作のための総合環境
|
|
@@ -15,8 +15,8 @@ Summary(ja): TeX ドキュメント制作のための総合環境
|
|
Group: Applications/Editors
|
|
Group: Applications/Editors
|
|
License: GPLv2+
|
|
License: GPLv2+
|
|
URL: http://tug.org/texworks/
|
|
URL: http://tug.org/texworks/
|
|
-#Source0: http://texworks.googlecode.com/files/%{name}-%{version}%{?svnrevision:.svn%svnrevision}.tar.%{?svnrevision:bz2}%{!?svnrevision:gz}
|
|
|
|
-Source0: http://texworks.googlecode.com/files/%{name}-%{version}-r858.tar.gz
|
|
|
|
|
|
+Source0: http://texworks.googlecode.com/files/%{name}-%{version}%{?svnrevision:.svn%svnrevision}.tar.%{?svnrevision:bz2}%{!?svnrevision:gz}
|
|
|
|
+#Source0: http://texworks.googlecode.com/files/%{name}-%{version}-r858.tar.gz
|
|
# Desktop file adopted from Debian with modification
|
|
# Desktop file adopted from Debian with modification
|
|
Source1: %{name}.desktop
|
|
Source1: %{name}.desktop
|
|
|
|
|
|
@@ -29,7 +29,8 @@ Source100: pdfplatex.sh
|
|
Source101: pdfeplatex.sh
|
|
Source101: pdfeplatex.sh
|
|
|
|
|
|
## vine
|
|
## vine
|
|
-Patch100: texworks-0.4.1-ptex-vine.patch
|
|
|
|
|
|
+Patch100: texworks-0.4.1-ptex-vine-vl6.patch
|
|
|
|
+Patch101: texworks-0.5.svn950-vine-vl7.patch
|
|
|
|
|
|
BuildRequires: hunspell-devel
|
|
BuildRequires: hunspell-devel
|
|
BuildRequires: dbus-devel
|
|
BuildRequires: dbus-devel
|
|
@@ -64,7 +65,12 @@ TeXworks を利用するためには、TeX 環境が必要です。
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
|
|
|
|
|
|
+%if %{?_dist_release} == "vl6"
|
|
%patch100 -p1 -b .vine
|
|
%patch100 -p1 -b .vine
|
|
|
|
+%endif
|
|
|
|
+%if %{?_dist_release} == "vl7"
|
|
|
|
+%patch101 -p1 -b .vine
|
|
|
|
+%endif
|
|
|
|
|
|
## added some Japanese templates
|
|
## added some Japanese templates
|
|
%if %{templates_japanese}
|
|
%if %{templates_japanese}
|
|
@@ -82,14 +88,15 @@ patch -p1 -b -z .vine < texworks-templates-japanese-%{templates_japanese_version
|
|
%__rm -rf %{buildroot}
|
|
%__rm -rf %{buildroot}
|
|
%__make install INSTALL_ROOT=%{buildroot}
|
|
%__make install INSTALL_ROOT=%{buildroot}
|
|
|
|
|
|
-# %__mkdir_p %{buildroot}%{_datadir}/applications
|
|
|
|
-# desktop-file-install \
|
|
|
|
-# --dir $RPM_BUILD_ROOT%{_datadir}/applications \
|
|
|
|
-# %{SOURCE1}
|
|
|
|
-
|
|
|
|
## support platex/eplatex via dvipdfmx
|
|
## support platex/eplatex via dvipdfmx
|
|
|
|
+## [ ]: TeX distribution and its version, ( ): typesetting engine
|
|
|
|
+## vl5 [teTeX-3.0]: platex (ptex)
|
|
|
|
+## vl6 [TeX Live 2009]: platex (ptex), eplatex (eptex)
|
|
|
|
+## vl7 [TeX Live 2011]: platex (eptex)
|
|
%__install -m755 -D %{SOURCE100} %{buildroot}%{_bindir}/pdfplatex
|
|
%__install -m755 -D %{SOURCE100} %{buildroot}%{_bindir}/pdfplatex
|
|
|
|
+%if %{?_dist_release} == "vl6"
|
|
%__install -m755 -D %{SOURCE101} %{buildroot}%{_bindir}/pdfeplatex
|
|
%__install -m755 -D %{SOURCE101} %{buildroot}%{_bindir}/pdfeplatex
|
|
|
|
+%endif
|
|
|
|
|
|
|
|
|
|
%clean
|
|
%clean
|
|
@@ -106,14 +113,22 @@ update-desktop-database &> /dev/null || :
|
|
%{_docdir}/%{name}-%{version}/
|
|
%{_docdir}/%{name}-%{version}/
|
|
%{_bindir}/%{name}
|
|
%{_bindir}/%{name}
|
|
%{_bindir}/pdfplatex
|
|
%{_bindir}/pdfplatex
|
|
|
|
+%if %{?_dist_release} == "vl6"
|
|
%{_bindir}/pdfeplatex
|
|
%{_bindir}/pdfeplatex
|
|
|
|
+%endif
|
|
%{_datadir}/applications/%{name}.desktop
|
|
%{_datadir}/applications/%{name}.desktop
|
|
%{_datadir}/pixmaps/*
|
|
%{_datadir}/pixmaps/*
|
|
-%dir %{_datadir}/texworks-help
|
|
|
|
-%{_datadir}/texworks-help/*
|
|
|
|
|
|
+# %dir %{_datadir}/texworks-help
|
|
|
|
+# %{_datadir}/texworks-help/*
|
|
%{_mandir}/man1/texworks.1.gz
|
|
%{_mandir}/man1/texworks.1.gz
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sun Dec 4 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.5-1.svn950
|
|
|
|
+- source snapshot r950
|
|
|
|
+- updated pdfplatex.sh
|
|
|
|
+ - support SyncTeX
|
|
|
|
+- TeX Live 2011
|
|
|
|
+
|
|
* Fri Jul 01 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.4.3-1
|
|
* Fri Jul 01 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.4.3-1
|
|
- new upstream release
|
|
- new upstream release
|
|
- added BuildRequires: texlive-common
|
|
- added BuildRequires: texlive-common
|