SHA256
1
0
forked from pool/texstudio
Dominique Leuenberger 2022-11-26 17:45:21 +00:00 committed by Git OBS Bridge
commit b0904555fe
2 changed files with 13 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Nov 25 18:30:04 UTC 2022 - Dmitry Roshchin <dmitry_r@opensuse.org>
- Use cmake build system
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Nov 19 21:26:54 UTC 2022 - Markus Ebner <info@ebner-markus.de> Sat Nov 19 21:26:54 UTC 2022 - Markus Ebner <info@ebner-markus.de>
- Update to version 4.4.0 - Update to version 4.4.0

View File

@ -24,10 +24,12 @@ License: Apache-2.0 AND GPL-2.0-only AND GPL-3.0-only AND MPL-1.1
Group: Productivity/Publishing/TeX/Frontends Group: Productivity/Publishing/TeX/Frontends
URL: https://www.texstudio.org URL: https://www.texstudio.org
Source0: https://github.com/texstudio-org/texstudio/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz Source0: https://github.com/texstudio-org/texstudio/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: cmake
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: hicolor-icon-theme BuildRequires: hicolor-icon-theme
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: pkgconfig(Qt5Concurrent) BuildRequires: pkgconfig(Qt5Concurrent)
BuildRequires: pkgconfig(Qt5DBus)
BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Network) BuildRequires: pkgconfig(Qt5Network)
BuildRequires: pkgconfig(Qt5PrintSupport) BuildRequires: pkgconfig(Qt5PrintSupport)
@ -53,11 +55,14 @@ syntax highlighting, automatically code completion and more.
%define crashhandler NO_CRASH_HANDLER=true %define crashhandler NO_CRASH_HANDLER=true
%endif %endif
%qmake5 CONFIG-=debug %{?crashhandler} texstudio.pro %cmake
%make_jobs %cmake_build
%install %install
make INSTALL_ROOT=%{buildroot} 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} rm -f %{buildroot}%{_datadir}/texstudio/{AUTHORS,COPYING,CHANGELOG.txt}
%fdupes -s %{buildroot}%{_datadir}/texstudio/ %fdupes -s %{buildroot}%{_datadir}/texstudio/