use system qtsingleapplication
This commit is contained in:
parent
eca63e8d3b
commit
29a1782a81
|
@ -1,6 +1,6 @@
|
|||
Name: texstudio
|
||||
Version: 2.9.4
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
|
||||
Summary: A feature-rich editor for LaTeX documents
|
||||
Group: Applications/Publishing
|
||||
|
@ -13,8 +13,9 @@ Source0: http://downloads.sourceforge.net/texstudio/texstudio-%{version}.
|
|||
Source1: texstudio.desktop
|
||||
Patch0: texstudio-use-system-hunspell-instead-of-bundled-one.patch
|
||||
Patch1: texstudio-viewers-use-xdg-open.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
Patch2: texstudio-use-system-qtsingleapplication-instead-of-bundled-on.patch
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: qt5-qtbase-devel
|
||||
BuildRequires: qt5-qttools-devel
|
||||
BuildRequires: qt5-qttools-static
|
||||
|
@ -24,8 +25,9 @@ BuildRequires: hunspell-devel
|
|||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
BuildRequires: poppler-qt5-devel
|
||||
BuildRequires: qtsingleapplication-devel
|
||||
BuildRequires: qtsinglecoreapplication-devel
|
||||
BuildRequires: qtsingleapplication-qt5-devel
|
||||
BuildRequires: qtsinglecoreapplication-qt5-devel
|
||||
BuildRequires: zlib-devel
|
||||
|
||||
Requires: tex(latex)
|
||||
Provides: bundled(qcodeedit)
|
||||
|
@ -47,8 +49,9 @@ so it keeps it look&feel.
|
|||
%setup -q -n %{name}%{version}
|
||||
%patch0 -p1 -b .hunspell
|
||||
%patch1 -p1 -b .xdg
|
||||
%patch2 -p1 -b .qtsingle
|
||||
|
||||
rm -rf {hunspell}
|
||||
rm -rf {hunspell,qtsingleapplication}
|
||||
|
||||
%build
|
||||
export QTDIR=%{_libdir}/qt5
|
||||
|
@ -126,6 +129,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null ||:
|
|||
%doc utilities/AUTHORS utilities/COPYING utilities/CHANGELOG.txt
|
||||
|
||||
%changelog
|
||||
* Sun May 24 2015 Johannes Lips <hannes@fedoraproject.org> 2.9.4-3
|
||||
- add qtsingleapplication patch - using fedora version
|
||||
|
||||
* Sat Apr 25 2015 Johannes Lips <hannes@fedoraproject.org> 2.9.4-2
|
||||
- switch to building with Qt5
|
||||
- removed qtsingleapplication patch - using bundled one
|
||||
|
|
Loading…
Reference in New Issue