- Update to version 0.6.3: * New features and improvements: - Implement "Insert Citations..." dialog - Implement indenting/unindenting by Tab/Shift+Tab - Make synchronization granularity configurable (highlight corresponding character, word, or line) - Add ability to distinguish identically named files by displaying the respective folders they are in in the window title, window menu, and under "Open Recent" - Implement "Fit to content width" PDF zoom (which ignores empty space around the text) - Disable unavailable typesetting engines - Allow to change the editor font size by Ctrl+Mousewheel - Improve the detection of spellchecking languages (add ability to search multiple directories and list all results) - Hide the menu bar in PDF full screen mode - Rework/expand code completion strings - Add/update syntax highlighting for LaTeX, ConTeXt, Lua, DTX, and BibTeX - Add cleanup-patterns for beamer files .nav & .snm - Add new/unified icons for typeset and zooming - Display paper size and file size in the PDF metadata * Bug fixes: - Fix infinite loop in syntax highlighter (which caused significant slow-down especially for large files) - Fix underline when spellchecking with syntax highlighting - Fix "Place on Left/Right", especially on multi-screen setups - Avoid 'file "" not found' errors when synchronizing - Fix synchronization while searching in a PDF - Fix fine-grained synchronization near paragraph boundaries OBS-URL: https://build.opensuse.org/request/show/686870 OBS-URL: https://build.opensuse.org/package/show/Publishing/texworks?expand=0&rev=19
127 lines
3.8 KiB
RPMSpec
127 lines
3.8 KiB
RPMSpec
#
|
|
# spec file for package texworks
|
|
#
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
# Copyright (c) 2007-09 by Jonathan Kew.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: texworks
|
|
Version: 0.6.3
|
|
Release: 0
|
|
Summary: TeXshop-like TeX Editor
|
|
License: GPL-2.0-or-later
|
|
Group: Productivity/Publishing/TeX/Frontends
|
|
Url: http://www.tug.org/texworks/
|
|
Source0: https://github.com/TeXworks/texworks/archive/release-%{version}.tar.gz
|
|
BuildRequires: cmake
|
|
BuildRequires: dbus-1-devel
|
|
BuildRequires: desktop-file-utils
|
|
BuildRequires: hunspell-devel
|
|
BuildRequires: libpoppler-devel >= 0.24
|
|
BuildRequires: libpoppler-qt5-devel >= 0.24
|
|
BuildRequires: lua-devel
|
|
BuildRequires: python3-devel
|
|
BuildRequires: texlive-tex-bin
|
|
BuildRequires: update-desktop-files
|
|
BuildRequires: pkgconfig(Qt5Concurrent)
|
|
BuildRequires: pkgconfig(Qt5Core)
|
|
BuildRequires: pkgconfig(Qt5DBus)
|
|
BuildRequires: pkgconfig(Qt5Gui)
|
|
BuildRequires: pkgconfig(Qt5Script)
|
|
BuildRequires: pkgconfig(Qt5ScriptTools)
|
|
BuildRequires: pkgconfig(Qt5Test)
|
|
BuildRequires: pkgconfig(Qt5UiTools)
|
|
BuildRequires: pkgconfig(Qt5Widgets)
|
|
BuildRequires: pkgconfig(Qt5Xml)
|
|
Requires: dbus-1
|
|
Requires: hunspell
|
|
Requires: poppler-tools
|
|
Requires: texlive-latex
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
The TeXworks project is a simple TeX front-end program (working
|
|
environment) that is modeled on Dick Koch's TeXShop for Mac OS X.
|
|
|
|
%package plugin-python
|
|
Summary: Plugins to add python scripting to texworks
|
|
Group: Development/Libraries/Python
|
|
Requires: %{name} = %{version}
|
|
Requires: python
|
|
|
|
%description plugin-python
|
|
The TeXworks project is a simple TeX front-end program (working
|
|
environment) that is modeled on Dick Koch's TeXShop for Mac OS X.
|
|
|
|
This package adds python scripting abitilies to TeXworks.
|
|
|
|
%package plugin-lua
|
|
Summary: Plugins to add python scripting to texworks
|
|
Group: Development/Libraries/Other
|
|
Requires: %{name} = %{version}
|
|
Requires: lua
|
|
|
|
%description plugin-lua
|
|
The TeXworks project is a simple TeX front-end program (working
|
|
environment) that is modeled on Dick Koch's TeXShop for Mac OS X.
|
|
|
|
This package adds lua scripting abitilies to TeXworks.
|
|
|
|
%prep
|
|
%setup -q -n texworks-release-%{version}
|
|
|
|
%build
|
|
|
|
%cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
|
|
-DTW_BUILD_ID="openSUSE" \
|
|
-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=%{_lib} \
|
|
-DWITH_LUA=ON \
|
|
-DWITH_PYTHON=ON \
|
|
-DTeXworks_DIC_DIR=%{_datadir}/myspell \
|
|
-DDESIRED_QT_VERSION="5" \
|
|
-DTeXworks_PLUGIN_DIR=%{_libdir}/%{name}
|
|
|
|
%cmake_build
|
|
|
|
%install
|
|
%cmake_install
|
|
%suse_update_desktop_file texworks Publishing WordProcessor
|
|
|
|
# Package doc files using %%doc, remove them here
|
|
for i in COPYING README.md NEWS
|
|
do
|
|
rm %{buildroot}%{_datadir}/doc/%{name}/${i}
|
|
done
|
|
|
|
%files
|
|
%doc README.md NEWS
|
|
%license COPYING
|
|
%dir %{_datadir}/metainfo
|
|
%{_datadir}/metainfo/texworks.appdata.xml
|
|
%{_bindir}/texworks
|
|
%{_datadir}/applications/texworks.desktop
|
|
%{_datadir}/pixmaps/*.png
|
|
%{_mandir}/man1/texworks.1%{?ext_man}
|
|
|
|
%files plugin-python
|
|
%dir %{_libdir}/%{name}
|
|
%{_libdir}/%{name}/*PythonPlugin.so
|
|
|
|
%files plugin-lua
|
|
%dir %{_libdir}/%{name}
|
|
%{_libdir}/%{name}/*LuaPlugin.so
|
|
|
|
%changelog
|