texstudio/texstudio.spec

81 lines
2.6 KiB
RPMSpec
Raw Permalink Normal View History

- Update to 4.8.6 * provide command completion for expl3 commands * hide grammar errors in math/non-text environments (word repetition and language tool) * hide spelling errors in picture envs like tikzpicture * better handle \newtcbox gh#texstudio-org/texstudio#3878 * fix rare crash gh#texstudio-org/texstudio#3936 * repair user macro trigger (?highlight-as:…), still not usable for math env detection * add new user macro trigger (?inEnv:…) * add Grid menu to windowed and embedded pdf-viewer’s context menu gh#texstudio-org/texstudio#3942 * fix pdf-viewer’s scrollbar with Fit to Width/Window and changing Continuous mode gh#texstudio-org/texstudio#3928 * fix pdf-viewer’s Custom Grid dialog not preset with current Grid settings in Continuous mode gh#texstudio-org/texstudio#3929 * fix pfd-viewer’s page display in non continuous mode 3952 * fix pdf-viewer has a small issue when activating single page step 3957 * add maximize button to Packages Help (Texdoc) dialog gh#texstudio-org/texstudio#3911 * fix option ‘all packages’ no longer checked in Packages Help with no tex documents opened gh#texstudio-org/texstudio#3917 * when context menu of a package name is used to open the Packages Help dialog then preset search filter with the name gh#texstudio-org/texstudio#3918 * fix both View menu actions ‘Show embedded PDF large/small’ available, whether PDF area is large or small gh#texstudio-org/texstudio#3931 OBS-URL: https://build.opensuse.org/package/show/Publishing/texstudio?expand=0&rev=89
2025-02-22 07:31:48 +00:00
#
# spec file for package texstudio
#
# Copyright (c) 2025 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
Version: 4.8.6
Release: 0
Summary: LaTeX Editor
License: Apache-2.0 AND GPL-2.0-only AND GPL-3.0-only 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: cmake
BuildRequires: fdupes
BuildRequires: hicolor-icon-theme
BuildRequires: pkgconfig
BuildRequires: pkgconfig(Qt5Concurrent)
BuildRequires: pkgconfig(Qt5DBus)
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Network)
BuildRequires: pkgconfig(Qt5PrintSupport)
BuildRequires: pkgconfig(Qt5Qml)
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} s390x
%define crashhandler NO_CRASH_HANDLER=true
%endif
%cmake
%cmake_build
%install
%cmake_install
mkdir -p %{buildroot}%{_datadir}/metainfo
cp utilities/texstudio.metainfo.xml %{buildroot}%{_datadir}/metainfo/texstudio.metainfo.xml
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.metainfo.xml
%changelog