|
@@ -1,21 +1,19 @@
|
|
-%define svnrevision 950
|
|
+%define svnrevision 1302
|
|
-%define templates_japanese 1
|
|
+%define templates_japanese 0
|
|
%define templates_japanese_version 20110626
|
|
%define templates_japanese_version 20110626
|
|
|
|
|
|
-%define _qt4_qmake %{_libdir}/qt4/bin/qmake
|
|
|
|
-
|
|
|
|
## Summary/Description adopted from Debian with modification
|
|
## Summary/Description adopted from Debian with modification
|
|
|
|
|
|
Name: texworks
|
|
Name: texworks
|
|
Version: 0.5
|
|
Version: 0.5
|
|
-Release: 2%{?svnrevision:.svn%svnrevision}%{?_dist_release}
|
|
+Release: 3%{?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 ドキュメント制作のための総合環境
|
|
|
|
|
|
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}%{?svnrevision:.svn%svnrevision}.tar.%{?svnrevision:xz}%{!?svnrevision:gz}
|
|
#Source0: http://texworks.googlecode.com/files/%{name}-%{version}-r858.tar.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
|
|
@@ -25,19 +23,18 @@ Source10: texworks-snapshot.sh
|
|
%if %{templates_japanese}
|
|
%if %{templates_japanese}
|
|
Source50: texworks-templates-japanese-%{templates_japanese_version}.tar.xz
|
|
Source50: texworks-templates-japanese-%{templates_japanese_version}.tar.xz
|
|
%endif
|
|
%endif
|
|
-Source100: pdfplatex.sh
|
|
|
|
-Source101: pdfeplatex.sh
|
|
|
|
|
|
|
|
## vine
|
|
## vine
|
|
-Patch100: texworks-0.4.1-ptex-vine-vl6.patch
|
|
+Patch100: texworks-0.5-r1302-ptex2pdf.patch
|
|
-Patch101: texworks-0.5.svn950-vine-vl7.patch
|
|
+
|
|
|
|
|
|
|
|
+BuildRequires: lua-devel
|
|
BuildRequires: hunspell-devel
|
|
BuildRequires: hunspell-devel
|
|
BuildRequires: dbus-devel
|
|
BuildRequires: dbus-devel
|
|
BuildRequires: poppler-qt4-devel
|
|
BuildRequires: poppler-qt4-devel
|
|
BuildRequires: desktop-file-utils
|
|
BuildRequires: desktop-file-utils
|
|
-BuildRequires: texlive-common
|
|
+#BuildRequires: texlive >= 2013
|
|
-Requires: texlive-common
|
|
+Requires: texlive >= 2013
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
|
|
|
@@ -65,12 +62,7 @@ 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}
|
|
@@ -88,16 +80,6 @@ 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}
|
|
|
|
|
|
-## 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
|
|
|
|
-%if %{?_dist_release} == "vl6"
|
|
|
|
-%__install -m755 -D %{SOURCE101} %{buildroot}%{_bindir}/pdfeplatex
|
|
|
|
-%endif
|
|
|
|
-
|
|
|
|
|
|
|
|
%clean
|
|
%clean
|
|
%__rm -rf %{buildroot}
|
|
%__rm -rf %{buildroot}
|
|
@@ -112,10 +94,6 @@ update-desktop-database &> /dev/null || :
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
%{_docdir}/%{name}-%{version}/
|
|
%{_docdir}/%{name}-%{version}/
|
|
%{_bindir}/%{name}
|
|
%{_bindir}/%{name}
|
|
-%{_bindir}/pdfplatex
|
|
|
|
-%if %{?_dist_release} == "vl6"
|
|
|
|
-%{_bindir}/pdfeplatex
|
|
|
|
-%endif
|
|
|
|
%{_datadir}/applications/%{name}.desktop
|
|
%{_datadir}/applications/%{name}.desktop
|
|
%{_datadir}/pixmaps/*
|
|
%{_datadir}/pixmaps/*
|
|
# %dir %{_datadir}/texworks-help
|
|
# %dir %{_datadir}/texworks-help
|
|
@@ -123,6 +101,10 @@ update-desktop-database &> /dev/null || :
|
|
%{_mandir}/man1/texworks.1.gz
|
|
%{_mandir}/man1/texworks.1.gz
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 0.5-3.svn1302
|
|
|
|
+- source snapshot r1302
|
|
|
|
+- added BuildRequires: lua-devel
|
|
|
|
+
|
|
* Fri Mar 9 2012 Munehiro Yamamoto <munepi@vinelinux.org> 0.5-2.svn950
|
|
* Fri Mar 9 2012 Munehiro Yamamoto <munepi@vinelinux.org> 0.5-2.svn950
|
|
- rebuild with hunspell-devel
|
|
- rebuild with hunspell-devel
|
|
|
|
|