2014-04-06 05:41:12 +02:00
|
|
|
#
|
2014-06-20 15:19:33 +02:00
|
|
|
# spec file for package texstudio
|
2014-04-06 05:41:12 +02:00
|
|
|
#
|
2021-01-11 14:18:37 +01:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2014-04-06 05:41:12 +02:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2019-05-15 18:19:22 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2014-04-06 05:41:12 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: texstudio
|
2021-11-26 08:40:55 +01:00
|
|
|
Version: 4.1.1
|
2014-04-06 05:41:12 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: LaTeX Editor
|
2021-05-24 08:30:44 +02:00
|
|
|
License: Apache-2.0 AND GPL-2.0-only AND GPL-3.0-only AND MPL-1.1
|
2014-04-06 05:41:12 +02:00
|
|
|
Group: Productivity/Publishing/TeX/Frontends
|
2018-07-16 13:22:50 +02:00
|
|
|
URL: https://www.texstudio.org
|
|
|
|
Source0: https://github.com/texstudio-org/texstudio/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
2015-05-01 12:34:04 +02:00
|
|
|
BuildRequires: fdupes
|
2015-02-26 12:57:46 +01:00
|
|
|
BuildRequires: hicolor-icon-theme
|
2018-07-16 13:22:50 +02:00
|
|
|
BuildRequires: pkgconfig
|
2015-05-01 12:34:04 +02:00
|
|
|
BuildRequires: pkgconfig(Qt5Concurrent)
|
|
|
|
BuildRequires: pkgconfig(Qt5Gui)
|
|
|
|
BuildRequires: pkgconfig(Qt5Network)
|
|
|
|
BuildRequires: pkgconfig(Qt5PrintSupport)
|
2021-10-05 09:56:27 +02:00
|
|
|
BuildRequires: pkgconfig(Qt5Qml)
|
2015-05-01 12:34:04 +02:00
|
|
|
BuildRequires: pkgconfig(Qt5Script)
|
|
|
|
BuildRequires: pkgconfig(Qt5Svg)
|
|
|
|
BuildRequires: pkgconfig(Qt5UiTools)
|
|
|
|
BuildRequires: pkgconfig(poppler-qt5)
|
2014-04-06 05:41:12 +02:00
|
|
|
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
|
2018-07-16 13:22:50 +02:00
|
|
|
%setup -q
|
2014-04-06 05:41:12 +02:00
|
|
|
|
|
|
|
%build
|
2021-05-24 08:30:44 +02:00
|
|
|
%ifarch aarch64 %{arm} s390x
|
2018-01-04 09:02:03 +01:00
|
|
|
%define crashhandler NO_CRASH_HANDLER=true
|
|
|
|
%endif
|
|
|
|
|
2018-07-16 13:22:50 +02:00
|
|
|
%qmake5 CONFIG-=debug %{?crashhandler} texstudio.pro
|
|
|
|
%make_jobs
|
2014-04-06 05:41:12 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
make INSTALL_ROOT=%{buildroot} install
|
|
|
|
|
2015-05-01 12:34:04 +02:00
|
|
|
rm -f %{buildroot}%{_datadir}/texstudio/{AUTHORS,COPYING,CHANGELOG.txt}
|
|
|
|
%fdupes -s %{buildroot}%{_datadir}/texstudio/
|
2015-02-26 12:57:46 +01:00
|
|
|
|
2014-04-06 05:41:12 +02:00
|
|
|
%files
|
2018-07-16 13:22:50 +02:00
|
|
|
%license utilities/COPYING
|
|
|
|
%doc utilities/AUTHORS utilities/manual/CHANGELOG.txt
|
2014-04-06 05:41:12 +02:00
|
|
|
%{_bindir}/texstudio
|
|
|
|
%{_datadir}/texstudio/
|
|
|
|
%{_datadir}/applications/texstudio.desktop
|
2015-02-26 12:57:46 +01:00
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/texstudio.svg
|
2020-08-26 21:25:14 +02:00
|
|
|
%dir %{_datadir}/metainfo
|
2021-10-25 09:25:57 +02:00
|
|
|
%{_datadir}/metainfo/texstudio.metainfo.xml
|
2014-04-06 05:41:12 +02:00
|
|
|
|
|
|
|
%changelog
|