File texstudio.spec of Package texstudio

# 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

Name:           texstudio
Version:        2.12.10
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
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

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.

%setup -q

%ifarch aarch64 %{arm}
%define crashhandler NO_CRASH_HANDLER=true

%qmake5 CONFIG-=debug %{?crashhandler}

make INSTALL_ROOT=%{buildroot} install

rm -f %{buildroot}%{_datadir}/texstudio/{AUTHORS,COPYING,CHANGELOG.txt}
%fdupes -s %{buildroot}%{_datadir}/texstudio/

%license utilities/COPYING
%doc utilities/AUTHORS utilities/manual/CHANGELOG.txt
%dir %{_datadir}/appdata

openSUSE Build Service is sponsored by