texstudio/texstudio.spec
Martin Pluskal e31093c456 Accepting request 623055 from home:pluskalm
- 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

OBS-URL: https://build.opensuse.org/request/show/623055
OBS-URL: https://build.opensuse.org/package/show/Publishing/texstudio?expand=0&rev=31
2018-07-16 11:22:50 +00:00

75 lines
2.4 KiB
RPMSpec

#
# spec file for package texstudio
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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: texstudio
Version: 2.12.10
Release: 0
Summary: LaTeX Editor
License: GPL-2.0-only
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}/appdata
%{_datadir}/appdata/texstudio.appdata.xml
%changelog