texstudio/texstudio.spec

75 lines
2.4 KiB
RPMSpec
Raw Normal View History

#
# spec file for package texstudio
#
# Copyright (c) 2020 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
Name: texstudio
Accepting request 832943 from home:seijikun:branches:Publishing - Update to version 3.0.1 * fix glitch in modern style (#1238, triangle missing) * fix equation preview (#1234) * fix commands with quotes (#1225 & #1169) * fix syntax marker in darkmode (#1224) - Update to version 3.0.0 * speed up document parsing, should result in faster document load times * spell checking is done asynchronously * custom verbatim/math env highlighting abandoned for a cwl based approach * better dark-mode support - Update to version 2.12.22 * fixes garbled symbols in OSX * fixes crash when changing magic language comment and pdf search path handling. * last release supporting Qt4 - Update to version 2.12.20 * fixes a problem with replacing when search highlight is activated - Update to version 2.12.18 * mainly a bug fix release * better support of regexp in search - Update to version 2.12.16 * mainly a bug fix release. * most notable change is flickerfree update of pdf - Update to version 2.12.14 * fix bug that not all available GUI languages are shown * tweak fuzzy completer * fix template presentation - Update to version 2.12.12 * improve macro handling, provide gui that directly downloads macros from github.com/texstudio-org/texstudio-macro * add fuzzy completion mode * add cwls * fix rare bug that the character appear reverse order * bug fixes - Use source url - Drop conditionals for older distros, they fail to build anyways - Use spec-cleaner to modernise spec file - Update to version 2.12.10 * bug fixes * fix structure view with Qt >5.10 - Update to version 2.12.8 * improved tokenizer for syntax checking and completion * pressing Ctrl+F while the editor search has focus opens the extended search, i.e., you'll get extended search by pressing Ctrl+F twice * automatically insert math delimiters ($) when inserting a math command outside of a math env (can be turned off, default on) * change copy behavior of multiple cursors from selection order to line order * file list is now a transparent popup window: closes when clicked outside * combine file conflict and show diff dialog * fix file watcher not recognizing multiple changes to a file in quick succession * improved detection of package names when opening texdoc * new symbol panel layout * some touch scrolling on certain panels * updated synctex and poppler libraries for pdf viewer * fix undo when a snippet is inserted and a selection is inserted as well * fix some parts of the editor background may not be drawn in the correct color * build for OSX High Sierra * various other fixes - Unbreak build on Leap 42.x, make_jobs is only provided by macros.qt5 - Disable crash handler on aarch64/armv6l/armv7l, aarch64 is not implemented and armv6l/armv7l is broken - use %qmake5 macro to supply CXXFLAGS and also CFLAGS - Update to version 2.12.6 * Minor changes - Update to version 2.12.2 * PDF shortcuts are now changable * improved user interface: optimized layout, some new icons, some changes of color * warn if file-saving fails * Support LanguageTool json API (needed for LanguageTool > 3.5) - Update to version 2.11.2 * major performance speedup * speed up pasting into large documents (factor 100x) * add comment toggle * improved search panel layout * improved bracket detection for \todo highlighting (bug 1789) * improved parsing of section titles (bug 1817) * bugfixes and minor changes, see included CHANGELOG.txt for details - Set minimal required memory for building: 2500 Mb - Update to version 2.11.0 * support two editors next to each other * new tabular wizard * support multi-line commands * add scrollbar marks for search and bookmarks * add command option --no-session * bugfixes and minor changes, see included CHANGELOG.txt for details - Update to version 2.10.8: * bugfix release, see included CHANGELOG.txt for details - Update to version 2.10.6 * bugfix release, see included CHANGELOG.txt for details - Update to version 2.10.4 * bugfix release, see included CHANGELOG.txt for details - Update to version 2.10.2 * new and improved LaTeX parser * improved search results window * open password protected pdfs * improved UI scaling * temporary highlight target text of go to definition * bugfixes - Update to version 2.9.4 * bugfix release, see included CHANGELOG.txt for details - Build with Qt5 for openSUSE > 13.2 - Update to version 2.9.0 * link overlays for urls * close editor tab by pressing middle mouse button * support optional filename argument in txs:///view-pdf-internal * add "expand/collapse all documents" to context menu of structure * add tabulary support * windowed pdf viewer now supports --no-focus argument * improved detection of label name for "Insert \ref to Next Label" * improved context detection for preview * improved search for texdoc location * improved log parsing including support for LaTeX3 warnings and errors * resize with soft line warp: keep vertical cursor position constant * support .tikz files (treated like .tex files) * bugfixes - Update to version 2.8.8, mostly bugfixes, see CHANGELOG.txt - Drop texstudio-correct-doc-location.patch - Update to version 2.8.0 * completion and syntax check on keyval options, e.g. \includegraphics (graphicx!) * search and replace over several documents improved * improved parser for log files (better detection of filenames) * todo-style commands (e.g. \todo{}) are added to the list of todos * the keyboard modifier key for the context menu (spellcheck suppression) is configurable via texstudio.ini "Editor/ContextMenuKeyboardModifiers" * improved auto-hide toolbars feature in embedded viewer * users can overwrite the default language definitions and add own ones * makeglossaries support * allow quoted filenames in include-like commands to support filenames and directories containing spaces * updated LaTeX reference manual * several bugfixes - Update to version 2.7.0 * added Edit -> Text Operations (To Lowercase / To Uppercase / To Titlecase) * added list of recent sessions * speedup of saving for large documents * added recognition in filetree for import subimport importfrom and subimportfrom (Thanks to Steven Vandekerckhove) * added button to stop a running compilation * the dictionary search path can now contain of multiple directories * Dictionaries in the OpenOffice/LibreOffice Extension format (*.oxt) can now be imported * Updated the latex reference manual to to a recent version * new option for maximum image tooltip width * new option "Reference commands in context menu" * new options for additional search paths in editor logic * new option for automatic encoding detection: make latex and character based detection selectable separately * new options for pdf highlight color and duration * find dialog: search in all loaded documents i.e. also in hidden * improved synchonization PDF -> source * support "% !BIB = biber" syntax for compatibility with TeXShop and TeXWorks * added several new cwl files * several bugfixes - Set correct documentation location * texstudio-correct-doc-location.patch Wed Jun 12 14:01:31 UTC 2013 - jsundermeyer@sf.net - release (2.6.0) Fri Mar 29 14:01:31 UTC 2013 - jsundermeyer@sf.net - fix potential crash (2.5.2) - bug fixes (2.5.2) - spec file cleanup, fixed some RPMlint warnings - update to version 2.5.1 - update to version 2.5 - update to version 2.4 - update to version 2.3 - initial release of version 2.2 OBS-URL: https://build.opensuse.org/request/show/832943 OBS-URL: https://build.opensuse.org/package/show/Publishing/texstudio?expand=0&rev=45
2020-09-17 08:52:19 +02:00
Version: 3.0.1
Release: 0
Summary: LaTeX Editor
License: GPL-2.0-only AND GPL-3.0-only AND Apache-2.0 AND MPL-1.1
Group: Productivity/Publishing/TeX/Frontends
URL: https://www.texstudio.org
Source0: https://github.com/texstudio-org/texstudio/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: hicolor-icon-theme
BuildRequires: pkgconfig
BuildRequires: pkgconfig(Qt5Concurrent)
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Network)
BuildRequires: pkgconfig(Qt5PrintSupport)
BuildRequires: pkgconfig(Qt5Script)
BuildRequires: pkgconfig(Qt5Svg)
BuildRequires: pkgconfig(Qt5UiTools)
BuildRequires: pkgconfig(poppler-qt5)
Requires: hunspell
Requires: texlive-latex
%description
TeXstudio is a program based on texmaker, that integrates many tools needed
to develop documents with LaTeX, in just one application. Using its editor
you can write your documents with the help of interactive spell checking,
syntax highlighting, automatically code completion and more.
%prep
%setup -q
%build
%ifarch aarch64 %{arm}
%define crashhandler NO_CRASH_HANDLER=true
%endif
%qmake5 CONFIG-=debug %{?crashhandler} texstudio.pro
%make_jobs
%install
make INSTALL_ROOT=%{buildroot} install
rm -f %{buildroot}%{_datadir}/texstudio/{AUTHORS,COPYING,CHANGELOG.txt}
%fdupes -s %{buildroot}%{_datadir}/texstudio/
%files
%license utilities/COPYING
%doc utilities/AUTHORS utilities/manual/CHANGELOG.txt
%{_bindir}/texstudio
%{_datadir}/texstudio/
%{_datadir}/applications/texstudio.desktop
%{_datadir}/icons/hicolor/scalable/apps/texstudio.svg
%dir %{_datadir}/metainfo
%{_datadir}/metainfo/texstudio.appdata.xml
%changelog