texstudio/texstudio.spec
Dmitry Roshchin 6cb922d0a3 Accepting request 1067171 from home:seijikun:branches:Publishing
- Update to version 4.5.1
  * Provide online template repository
  * change preview target in IDEFIX menu (#2760)
  * use QtMultimedia instead of phonon to show movies in pdf (non-default)
  * regex in search panel is syntax checked and marked if wrong
  * latex menu for horizontal spacing (#2687)
  * config dialog with resizable splitter (#2707)
  * insert inline math mode as $$ (#2719)
  * add editor action “Move all (others) to other view” (#2713)
  * show macro name in completer list (#2679)
  * show macro trigger and shortcut in configuration window (#2635)
  * fix wrong side panel title when changing grid size in config (#2743)
  * preview/clear preview now use position of context menu as reference (#2794)
  * add a Package Tab to the QuickStart Wizard (#2831)
  * Editor option ‘Show Only Monospaced Fonts’ is now persistent (#788)
  * fix size of config dialog on low res screens (#995)
  * add script command loadManagedMenu, s. new section “Menu Definitions” in the manual (#2816)
  * switch to pointer cursor over bookmark column of editors (#2220)
  * add shadow option for rectangular magnifier in pdf viewer config (#2885)
  * in split view mode add editor to split view where current editor is (#2838)

OBS-URL: https://build.opensuse.org/request/show/1067171
OBS-URL: https://build.opensuse.org/package/show/Publishing/texstudio?expand=0&rev=73
2023-02-22 15:12:03 +00:00

81 lines
2.6 KiB
RPMSpec

#
# spec file for package texstudio
#
# Copyright (c) 2022 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.5.1
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