forked from pool/texworks
Accepting request 387300 from home:badshah400:branches:Publishing
(Sorry for the multiple sr's, having an awful day) - Update to version 0.6.0: - When building with QT5, add BuildRequires on pkgconfig(Qt5Concurrent) as this a necessary dependency this version onwards. - Set the cmake variable TeXworks_DIC_DIR to the proper installation location of myspell dicts in openSUSE to make texworks find them. OBS-URL: https://build.opensuse.org/request/show/387300 OBS-URL: https://build.opensuse.org/package/show/Publishing/texworks?expand=0&rev=15
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package texworks
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2007-09 by Jonathan Kew.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
|
||||
Name: texworks
|
||||
Version: 0.4.6
|
||||
Version: 0.6.0
|
||||
Release: 0
|
||||
Summary: TeXshop-like TeX Editor
|
||||
License: GPL-2.0+
|
||||
@@ -32,6 +32,7 @@ BuildRequires: hunspell-devel
|
||||
BuildRequires: libpoppler-devel >= 0.24
|
||||
%if 0%{?suse_version} >= 1320
|
||||
BuildRequires: libpoppler-qt5-devel >= 0.24
|
||||
BuildRequires: pkgconfig(Qt5Concurrent)
|
||||
BuildRequires: pkgconfig(Qt5Core)
|
||||
BuildRequires: pkgconfig(Qt5DBus)
|
||||
BuildRequires: pkgconfig(Qt5Gui)
|
||||
@@ -108,6 +109,7 @@ cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \\\
|
||||
-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=%{_lib} \\\
|
||||
-DWITH_LUA=ON \\\
|
||||
-DWITH_PYTHON=ON \\\
|
||||
-DTeXworks_DIC_DIR=%{_datadir}/myspell \\\
|
||||
%if 0%{?suse_version} >= 1320
|
||||
-DDESIRED_QT_VERSION="5" \\\
|
||||
%else
|
||||
|
Reference in New Issue
Block a user