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