- noclucene
This commit is contained in:
parent
00da4a58c6
commit
2c399697f0
@ -1,7 +1,4 @@
|
|||||||
%global qt_module qttools
|
%global qt_module qttools
|
||||||
%if (0%{?fedora} > 19 && 0%{?fedora} < 26) || 0%{?rhel} > 6
|
|
||||||
%global system_clucene 1
|
|
||||||
%endif
|
|
||||||
|
|
||||||
Summary: Qt5 - QtTool components
|
Summary: Qt5 - QtTool components
|
||||||
Name: qt5-qttools
|
Name: qt5-qttools
|
||||||
@ -12,8 +9,6 @@ License: LGPLv3 or LGPLv2
|
|||||||
Url: http://www.qt.io
|
Url: http://www.qt.io
|
||||||
Source0: https://download.qt.io/development_releases/qt/5.9/%{version}-beta3/submodules/%{qt_module}-opensource-src-%{version}-beta3.tar.xz
|
Source0: https://download.qt.io/development_releases/qt/5.9/%{version}-beta3/submodules/%{qt_module}-opensource-src-%{version}-beta3.tar.xz
|
||||||
|
|
||||||
Patch1: qttools-opensource-src-5.3.2-system-clucene.patch
|
|
||||||
|
|
||||||
# help lrelease/lupdate use/prefer qmake-qt5
|
# help lrelease/lupdate use/prefer qmake-qt5
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1009893
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1009893
|
||||||
Patch2: qttools-opensource-src-5.5.0-qmake-qt5.patch
|
Patch2: qttools-opensource-src-5.5.0-qmake-qt5.patch
|
||||||
@ -39,10 +34,6 @@ BuildRequires: qt5-qtdeclarative-static >= %{version}
|
|||||||
BuildRequires: pkgconfig(Qt5Qml)
|
BuildRequires: pkgconfig(Qt5Qml)
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?system_clucene}
|
|
||||||
BuildRequires: clucene09-core-devel >= 0.9.21b-12
|
|
||||||
%endif
|
|
||||||
|
|
||||||
Requires: %{name}-common = %{version}-%{release}
|
Requires: %{name}-common = %{version}-%{release}
|
||||||
|
|
||||||
%{?_qt5:Requires: %{_qt5}%{?_isa} >= %{_qt5_version}}
|
%{?_qt5:Requires: %{_qt5}%{?_isa} >= %{_qt5_version}}
|
||||||
@ -62,7 +53,6 @@ BuildArch: noarch
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for %{name}
|
Summary: Development files for %{name}
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: %{name}-libs-clucene%{?_isa} = %{version}-%{release}
|
|
||||||
Requires: %{name}-libs-designer%{?_isa} = %{version}-%{release}
|
Requires: %{name}-libs-designer%{?_isa} = %{version}-%{release}
|
||||||
Requires: %{name}-libs-designercomponents%{?_isa} = %{version}-%{release}
|
Requires: %{name}-libs-designercomponents%{?_isa} = %{version}-%{release}
|
||||||
Requires: %{name}-libs-help%{?_isa} = %{version}-%{release}
|
Requires: %{name}-libs-help%{?_isa} = %{version}-%{release}
|
||||||
@ -79,14 +69,6 @@ Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
|||||||
%description static
|
%description static
|
||||||
%{summary}.
|
%{summary}.
|
||||||
|
|
||||||
%package libs-clucene
|
|
||||||
Summary: Qt5 CLucene runtime library
|
|
||||||
Requires: %{name}-common = %{version}-%{release}
|
|
||||||
# when split happened
|
|
||||||
Conflicts: qt5-tools < 5.4.0-0.2
|
|
||||||
%description libs-clucene
|
|
||||||
%{summary}.
|
|
||||||
|
|
||||||
%package libs-designer
|
%package libs-designer
|
||||||
Summary: Qt5 Designer runtime library
|
Summary: Qt5 Designer runtime library
|
||||||
Requires: %{name}-common = %{version}-%{release}
|
Requires: %{name}-common = %{version}-%{release}
|
||||||
@ -113,9 +95,6 @@ Conflicts: qt5-tools < 5.4.0-0.2
|
|||||||
|
|
||||||
%package -n qt5-assistant
|
%package -n qt5-assistant
|
||||||
Summary: Documentation browser for Qt5
|
Summary: Documentation browser for Qt5
|
||||||
%if ! 0%{?system_clucene}
|
|
||||||
Provides: bundled(clucene09)
|
|
||||||
%endif
|
|
||||||
Requires: %{name}-common = %{version}-%{release}
|
Requires: %{name}-common = %{version}-%{release}
|
||||||
%description -n qt5-assistant
|
%description -n qt5-assistant
|
||||||
%{summary}.
|
%{summary}.
|
||||||
@ -172,12 +151,6 @@ Requires: %{name}-common = %{version}-%{release}
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{qt_module}-opensource-src-%{version}-beta3
|
%setup -q -n %{qt_module}-opensource-src-%{version}-beta3
|
||||||
|
|
||||||
%if 0%{?system_clucene}
|
|
||||||
%patch1 -p1 -b .system_clucene
|
|
||||||
# bundled libs
|
|
||||||
rm -rf src/assistant/3rdparty/clucene
|
|
||||||
%endif
|
|
||||||
%patch2 -p1 -b .qmake-qt5
|
%patch2 -p1 -b .qmake-qt5
|
||||||
%ifarch %{mips32}
|
%ifarch %{mips32}
|
||||||
%patch4 -p1 -b .libatomic
|
%patch4 -p1 -b .libatomic
|
||||||
@ -273,11 +246,6 @@ popd
|
|||||||
%files common
|
%files common
|
||||||
%license LICENSE.LGPL*
|
%license LICENSE.LGPL*
|
||||||
|
|
||||||
%post libs-clucene -p /sbin/ldconfig
|
|
||||||
%postun libs-clucene -p /sbin/ldconfig
|
|
||||||
%files libs-clucene
|
|
||||||
%{_qt5_libdir}/libQt5CLucene.so.5*
|
|
||||||
|
|
||||||
%post libs-designer -p /sbin/ldconfig
|
%post libs-designer -p /sbin/ldconfig
|
||||||
%postun libs-designer -p /sbin/ldconfig
|
%postun libs-designer -p /sbin/ldconfig
|
||||||
%files libs-designer
|
%files libs-designer
|
||||||
@ -419,13 +387,10 @@ fi
|
|||||||
%{_qt5_bindir}/qcollectiongenerator*
|
%{_qt5_bindir}/qcollectiongenerator*
|
||||||
%{_qt5_bindir}/qhelpconverter*
|
%{_qt5_bindir}/qhelpconverter*
|
||||||
%{_qt5_bindir}/qtplugininfo*
|
%{_qt5_bindir}/qtplugininfo*
|
||||||
%{_qt5_headerdir}/QtCLucene/
|
|
||||||
%{_qt5_headerdir}/QtDesigner/
|
%{_qt5_headerdir}/QtDesigner/
|
||||||
%{_qt5_headerdir}/QtDesignerComponents/
|
%{_qt5_headerdir}/QtDesignerComponents/
|
||||||
%{_qt5_headerdir}/QtHelp/
|
%{_qt5_headerdir}/QtHelp/
|
||||||
%{_qt5_headerdir}/QtUiPlugin
|
%{_qt5_headerdir}/QtUiPlugin
|
||||||
%{_qt5_libdir}/libQt5CLucene.prl
|
|
||||||
%{_qt5_libdir}/libQt5CLucene.so
|
|
||||||
%{_qt5_libdir}/libQt5Designer*.prl
|
%{_qt5_libdir}/libQt5Designer*.prl
|
||||||
%{_qt5_libdir}/libQt5Designer*.so
|
%{_qt5_libdir}/libQt5Designer*.so
|
||||||
%{_qt5_libdir}/libQt5Help.prl
|
%{_qt5_libdir}/libQt5Help.prl
|
||||||
@ -436,7 +401,6 @@ fi
|
|||||||
%{_qt5_libdir}/cmake/Qt5UiPlugin/
|
%{_qt5_libdir}/cmake/Qt5UiPlugin/
|
||||||
%{_qt5_libdir}/pkgconfig/Qt5Designer.pc
|
%{_qt5_libdir}/pkgconfig/Qt5Designer.pc
|
||||||
%{_qt5_libdir}/pkgconfig/Qt5Help.pc
|
%{_qt5_libdir}/pkgconfig/Qt5Help.pc
|
||||||
%{_qt5_archdatadir}/mkspecs/modules/qt_lib_clucene_private.pri
|
|
||||||
%{_qt5_archdatadir}/mkspecs/modules/qt_lib_designer.pri
|
%{_qt5_archdatadir}/mkspecs/modules/qt_lib_designer.pri
|
||||||
%{_qt5_archdatadir}/mkspecs/modules/qt_lib_designer_private.pri
|
%{_qt5_archdatadir}/mkspecs/modules/qt_lib_designer_private.pri
|
||||||
%{_qt5_archdatadir}/mkspecs/modules/qt_lib_designercomponents_private.pri
|
%{_qt5_archdatadir}/mkspecs/modules/qt_lib_designercomponents_private.pri
|
||||||
|
Loading…
Reference in New Issue
Block a user