hannes pushed to texstudio (f21). "use system qtsingleapplication"

notifications at fedoraproject.org notifications at fedoraproject.org
Sun May 24 07:52:49 UTC 2015


From 29a1782a8183d5c7ab40c3de1beda804422e95fb Mon Sep 17 00:00:00 2001
From: hannes <hannes at fedoraproject.org>
Date: Sun, 24 May 2015 09:51:20 +0200
Subject: use system qtsingleapplication


diff --git a/texstudio.spec b/texstudio.spec
index dbb9b0f..a843078 100644
--- a/texstudio.spec
+++ b/texstudio.spec
@@ -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 at fedoraproject.org> 2.9.4-3
+- add qtsingleapplication patch - using fedora version
+
 * Sat Apr 25 2015 Johannes Lips <hannes at fedoraproject.org> 2.9.4-2
 - switch to building with Qt5
 - removed qtsingleapplication patch - using bundled one
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/texstudio.git/commit/?h=f21&id=29a1782a8183d5c7ab40c3de1beda804422e95fb


More information about the scm-commits mailing list