|
@@ -1,34 +1,29 @@
|
|
|
|
+%define svnrevision 671
|
|
|
|
+
|
|
%define _qt4_qmake %{_libdir}/qt4/bin/qmake
|
|
%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.2.3
|
|
|
|
-Release: 2%{?_dist_release}
|
|
|
|
|
|
+Version: 0.3
|
|
|
|
+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 ドキュメント制作のための総合環境
|
|
|
|
|
|
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}.tar.gz
|
|
|
|
|
|
+Source0: http://texworks.googlecode.com/files/%{name}-%{version}%{?svnrevision:.svn%svnrevision}.tar.%{?svnrevision:bz2}%{!?svnrevision:gz}
|
|
# Desktop file adopted from Debian with modification
|
|
# Desktop file adopted from Debian with modification
|
|
Source1: %{name}.desktop
|
|
Source1: %{name}.desktop
|
|
|
|
|
|
## vine
|
|
## vine
|
|
|
|
+Source10: texworks-snapshot.sh
|
|
Source100: pdfplatex.sh
|
|
Source100: pdfplatex.sh
|
|
Source101: pdfeplatex.sh
|
|
Source101: pdfeplatex.sh
|
|
|
|
|
|
-# Fix some strange characters in README
|
|
|
|
-# applied in upstream svn629
|
|
|
|
-Patch0: texworks-0.2.3-README-UTF8.patch
|
|
|
|
-
|
|
|
|
-# Use qmake mechanism to install files and fix DSO linking problem
|
|
|
|
-# DSO linking related part applied in upstream svn637
|
|
|
|
-Patch1: TeXworks-pro-install.patch
|
|
|
|
-
|
|
|
|
## vine
|
|
## vine
|
|
-Patch100: texworks-0.2.3-ptex-vine.patch
|
|
|
|
|
|
+Patch100: texworks-0.3-ptex-vine.patch
|
|
|
|
|
|
BuildRequires: hunspell-devel
|
|
BuildRequires: hunspell-devel
|
|
BuildRequires: dbus-devel
|
|
BuildRequires: dbus-devel
|
|
@@ -37,7 +32,7 @@ BuildRequires: desktop-file-utils
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
|
|
|
-Distribution: Vine Linux
|
|
|
|
|
|
+Distribution: Vine
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
Packager: munepi
|
|
Packager: munepi
|
|
|
|
|
|
@@ -60,8 +55,6 @@ TeXworks を利用するためには、TeX 環境が必要です。
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
-%patch0 -p0 -b .fix
|
|
|
|
-%patch1 -p1 -b .fix
|
|
|
|
|
|
|
|
%patch100 -p1 -b .vine
|
|
%patch100 -p1 -b .vine
|
|
|
|
|
|
@@ -75,10 +68,10 @@ TeXworks を利用するためには、TeX 環境が必要です。
|
|
%__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}
|
|
|
|
|
|
+# %__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
|
|
%__install -m755 -D %{SOURCE100} %{buildroot}%{_bindir}/pdfplatex
|
|
%__install -m755 -D %{SOURCE100} %{buildroot}%{_bindir}/pdfplatex
|
|
@@ -100,14 +93,15 @@ update-desktop-database &> /dev/null || :
|
|
%{_bindir}/%{name}
|
|
%{_bindir}/%{name}
|
|
%{_bindir}/pdfplatex
|
|
%{_bindir}/pdfplatex
|
|
%{_bindir}/pdfeplatex
|
|
%{_bindir}/pdfeplatex
|
|
-%{_datadir}/%{name}/
|
|
|
|
%{_datadir}/applications/%{name}.desktop
|
|
%{_datadir}/applications/%{name}.desktop
|
|
%{_datadir}/pixmaps/*
|
|
%{_datadir}/pixmaps/*
|
|
-
|
|
|
|
|
|
+%{_mandir}/man1/texworks.1.gz
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
-* Xxx Yyy Zz 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.2.3-2
|
|
|
|
-- corrected Summary: and Distribution:
|
|
|
|
|
|
+* Sat Oct 02 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.3-1.svn671
|
|
|
|
+- source snapshot r671
|
|
|
|
+ - dropped obsolete/upstreamed patches
|
|
|
|
+- added texworks-snapshot.sh
|
|
|
|
|
|
* Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.2.3-1
|
|
* Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.2.3-1
|
|
- initial build
|
|
- initial build
|