2013-08-28 19:26:04 +00:00
|
|
|
|
2014-10-26 02:25:43 +00:00
|
|
|
#global bootstrap 1
|
2013-08-28 19:26:04 +00:00
|
|
|
%global qt_module qttools
|
2014-12-02 19:27:33 +00:00
|
|
|
%if 0%{?fedora} > 19 || 0%{?rhel} > 6
|
2013-08-28 19:26:04 +00:00
|
|
|
%global system_clucene 1
|
2014-10-25 22:34:04 +00:00
|
|
|
%endif
|
2013-10-02 14:33:44 +00:00
|
|
|
|
|
|
|
# define to build docs, need to undef this for bootstrapping
|
|
|
|
# where qt5-qttools builds are not yet available
|
2013-11-25 13:41:45 +00:00
|
|
|
# only primary archs (for now), allow secondary to bootstrap
|
2014-10-25 23:17:21 +00:00
|
|
|
%if ! 0%{?bootstrap}
|
2013-11-25 13:41:45 +00:00
|
|
|
%ifarch %{arm} %{ix86} x86_64
|
2013-10-25 00:56:05 +00:00
|
|
|
%define docs 1
|
2013-11-25 13:41:45 +00:00
|
|
|
%endif
|
2014-10-25 23:17:21 +00:00
|
|
|
%endif
|
2013-08-28 19:26:04 +00:00
|
|
|
|
2014-11-28 15:59:08 +00:00
|
|
|
%define pre rc
|
2014-10-19 01:22:20 +00:00
|
|
|
|
2013-08-28 20:33:39 +00:00
|
|
|
Summary: Qt5 - QtTool components
|
2013-08-28 19:26:04 +00:00
|
|
|
Name: qt5-qttools
|
2014-10-19 01:22:20 +00:00
|
|
|
Version: 5.4.0
|
2014-12-09 14:48:01 +00:00
|
|
|
Release: 0.10.%{pre}%{?dist}
|
2013-08-28 19:26:04 +00:00
|
|
|
|
|
|
|
# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
|
|
|
|
License: LGPLv2 with exceptions or GPLv3 with exceptions
|
|
|
|
Url: http://qt-project.org/
|
2013-10-02 14:33:44 +00:00
|
|
|
%if 0%{?pre:1}
|
2014-10-19 01:22:20 +00:00
|
|
|
Source0: http://download.qt-project.org/development_releases/qt/5.4/%{version}-%{pre}/submodules/%{qt_module}-opensource-src-%{version}-%{pre}.tar.xz
|
2013-10-02 14:33:44 +00:00
|
|
|
%else
|
2014-10-19 01:22:20 +00:00
|
|
|
Source0: http://download.qt-project.org/official_releases/qt/5.4/%{version}/submodules/%{qt_module}-opensource-src-%{version}.tar.xz
|
2013-10-02 14:33:44 +00:00
|
|
|
%endif
|
2013-08-28 19:26:04 +00:00
|
|
|
|
2014-10-26 02:31:20 +00:00
|
|
|
Patch1: qttools-opensource-src-5.3.2-system-clucene.patch
|
2013-08-28 19:26:04 +00:00
|
|
|
|
2013-09-21 06:03:42 +00:00
|
|
|
# help lrelease/lupdate use/prefer qmake-qt5
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1009893
|
2013-12-02 17:34:33 +00:00
|
|
|
Patch2: qttools-opensource-src-5.2.0-qmake-qt5.patch
|
2013-09-21 06:03:42 +00:00
|
|
|
|
2013-09-21 05:38:09 +00:00
|
|
|
## upstream patches
|
|
|
|
|
2013-08-28 19:26:04 +00:00
|
|
|
Source20: assistant.desktop
|
|
|
|
Source21: designer.desktop
|
|
|
|
Source22: linguist.desktop
|
|
|
|
Source23: qdbusviewer.desktop
|
|
|
|
|
2013-09-11 21:44:01 +00:00
|
|
|
# %%check needs cmake (and don't want to mess with cmake28)
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} > 6
|
2013-09-11 20:19:51 +00:00
|
|
|
BuildRequires: cmake
|
2013-09-11 21:44:01 +00:00
|
|
|
%endif
|
2013-08-28 19:26:04 +00:00
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
BuildRequires: qt5-qtbase-devel >= %{version}
|
|
|
|
BuildRequires: qt5-qtbase-static
|
2013-08-28 20:33:39 +00:00
|
|
|
BuildRequires: qt5-qtdeclarative-static
|
|
|
|
BuildRequires: qt5-qtwebkit-devel
|
|
|
|
|
2013-08-28 19:26:04 +00:00
|
|
|
%if 0%{?system_clucene}
|
2014-10-26 02:25:43 +00:00
|
|
|
BuildRequires: clucene09-core-devel >= 0.9.21b-12
|
2013-08-28 19:26:04 +00:00
|
|
|
%endif
|
|
|
|
|
2014-10-25 23:17:21 +00:00
|
|
|
Requires: %{name}-common = %{version}-%{release}
|
2013-08-28 19:26:04 +00:00
|
|
|
%{?_qt5_version:Requires: qt5-qtbase%{?_isa} >= %{_qt5_version}}
|
|
|
|
|
2014-10-25 23:17:21 +00:00
|
|
|
# when -libs were split out, for multilib upgrade path
|
|
|
|
Obsoletes: qt5-tools < 5.4.0-0.2
|
|
|
|
|
2013-08-28 20:33:39 +00:00
|
|
|
%description
|
2013-08-28 19:26:04 +00:00
|
|
|
%{summary}.
|
|
|
|
|
2014-10-25 23:17:21 +00:00
|
|
|
%package common
|
|
|
|
Summary: Common files for %{name}
|
|
|
|
BuildArch: noarch
|
|
|
|
%description common
|
|
|
|
%{summary}.
|
|
|
|
|
2013-08-28 19:26:04 +00:00
|
|
|
%package devel
|
2013-08-28 20:33:39 +00:00
|
|
|
Summary: Development files for %{name}
|
2014-10-25 23:17:21 +00:00
|
|
|
Requires: %{name} = %{version}-%{release}
|
2014-10-25 23:33:58 +00:00
|
|
|
Requires: %{name}-libs-clucene%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: %{name}-libs-designer%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: %{name}-libs-designercomponents%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: %{name}-libs-help%{?_isa} = %{version}-%{release}
|
2013-08-28 19:26:04 +00:00
|
|
|
Requires: qt5-qtbase-devel%{?_isa}
|
|
|
|
Provides: qt5-designer = %{version}-%{release}
|
|
|
|
Provides: qt5-linguist = %{version}-%{release}
|
|
|
|
%description devel
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%package static
|
|
|
|
Summary: Static library files for %{name}
|
|
|
|
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
|
|
|
%description static
|
|
|
|
%{summary}.
|
|
|
|
|
2014-10-25 23:33:58 +00:00
|
|
|
%package libs-clucene
|
2014-10-25 23:17:21 +00:00
|
|
|
Summary: Qt5 CLucene runtime library
|
|
|
|
Requires: %{name}-common = %{version}-%{release}
|
|
|
|
# when split happened
|
|
|
|
Conflicts: qt5-tools < 5.4.0-0.2
|
2014-10-25 23:33:58 +00:00
|
|
|
%description libs-clucene
|
2014-10-25 23:17:21 +00:00
|
|
|
%{summary}.
|
|
|
|
|
2014-10-25 23:33:58 +00:00
|
|
|
%package libs-designer
|
2014-10-25 23:17:21 +00:00
|
|
|
Summary: Qt5 Designer runtime library
|
|
|
|
Requires: %{name}-common = %{version}-%{release}
|
|
|
|
# when split happened
|
|
|
|
Conflicts: qt5-tools < 5.4.0-0.2
|
2014-10-25 23:33:58 +00:00
|
|
|
%description libs-designer
|
2014-10-25 23:17:21 +00:00
|
|
|
%{summary}.
|
|
|
|
|
2014-10-25 23:33:58 +00:00
|
|
|
%package libs-designercomponents
|
2014-10-25 23:17:21 +00:00
|
|
|
Summary: Qt5 Designer Components runtime library
|
|
|
|
Requires: %{name}-common = %{version}-%{release}
|
|
|
|
# when split happened
|
|
|
|
Conflicts: qt5-tools < 5.4.0-0.2
|
2014-10-25 23:34:59 +00:00
|
|
|
%description libs-designercomponents
|
2014-10-25 23:17:21 +00:00
|
|
|
%{summary}.
|
|
|
|
|
2014-10-25 23:33:58 +00:00
|
|
|
%package libs-help
|
2014-10-25 23:17:21 +00:00
|
|
|
Summary: Qt5 Help runtime library
|
|
|
|
Requires: %{name}-common = %{version}-%{release}
|
|
|
|
# when split happened
|
|
|
|
Conflicts: qt5-tools < 5.4.0-0.2
|
2014-10-25 23:33:58 +00:00
|
|
|
%description libs-help
|
2014-10-25 23:17:21 +00:00
|
|
|
%{summary}.
|
|
|
|
|
2013-08-28 20:33:39 +00:00
|
|
|
%package -n qt5-assistant
|
|
|
|
Summary: Documentation browser for Qt5
|
2014-10-25 23:17:21 +00:00
|
|
|
Requires: %{name}-common = %{version}-%{release}
|
2013-08-28 20:33:39 +00:00
|
|
|
%description -n qt5-assistant
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%package -n qt5-designer-plugin-webkit
|
|
|
|
Summary: Qt5 designer plugin for WebKit
|
2014-10-25 23:33:58 +00:00
|
|
|
Requires: %{name}-libs-designer%{?_isa} = %{version}-%{release}
|
2013-08-28 20:33:39 +00:00
|
|
|
%description -n qt5-designer-plugin-webkit
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%package -n qt5-qdbusviewer
|
|
|
|
Summary: D-Bus debugger and viewer
|
2014-10-25 23:17:21 +00:00
|
|
|
Requires: %{name}-common = %{version}-%{release}
|
2013-08-28 20:33:39 +00:00
|
|
|
%{?_qt5_version:Requires: qt5-qtbase%{?_isa} >= %{_qt5_version}}
|
|
|
|
%description -n qt5-qdbusviewer
|
|
|
|
QDbusviewer can be used to inspect D-Bus objects of running programs
|
|
|
|
and invoke methods on those objects.
|
|
|
|
|
2013-10-02 14:33:44 +00:00
|
|
|
%if 0%{?docs}
|
|
|
|
%package doc
|
|
|
|
Summary: API documentation for %{name}
|
|
|
|
# for qhelpgenerator
|
|
|
|
BuildRequires: qt5-qttools-devel
|
|
|
|
BuildArch: noarch
|
|
|
|
%description doc
|
|
|
|
%{summary}.
|
|
|
|
%endif
|
|
|
|
|
2014-01-27 13:15:36 +00:00
|
|
|
%package examples
|
|
|
|
Summary: Programming examples for %{name}
|
2014-10-25 23:17:21 +00:00
|
|
|
Requires: %{name}-common = %{version}-%{release}
|
2014-01-27 13:15:36 +00:00
|
|
|
%description examples
|
|
|
|
%{summary}.
|
|
|
|
|
2013-08-28 19:26:04 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n qttools-opensource-src-%{version}%{?pre:-%{pre}}
|
|
|
|
|
|
|
|
%if 0%{?system_clucene}
|
2014-05-29 21:48:54 +00:00
|
|
|
%patch1 -p1 -b .system_clucene
|
2013-08-28 19:26:04 +00:00
|
|
|
# bundled libs
|
2014-05-29 21:48:54 +00:00
|
|
|
rm -rf src/assistant/3rdparty/clucene
|
2013-08-28 19:26:04 +00:00
|
|
|
%endif
|
2013-09-21 18:16:21 +00:00
|
|
|
%patch2 -p1 -b .qmake-qt5
|
2013-08-28 19:26:04 +00:00
|
|
|
|
|
|
|
|
|
|
|
%build
|
2014-11-04 00:55:15 +00:00
|
|
|
mkdir %{_target_platform}
|
|
|
|
pushd %{_target_platform}
|
|
|
|
%{qmake_qt5} ..
|
2013-08-28 19:26:04 +00:00
|
|
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
2013-10-02 14:33:44 +00:00
|
|
|
%if 0%{?docs}
|
|
|
|
make %{?_smp_mflags} docs
|
|
|
|
%endif
|
2014-11-04 00:55:15 +00:00
|
|
|
popd
|
2013-10-02 14:33:44 +00:00
|
|
|
|
2013-08-28 19:26:04 +00:00
|
|
|
|
|
|
|
%install
|
2014-11-04 00:55:15 +00:00
|
|
|
make install INSTALL_ROOT=%{buildroot} -C %{_target_platform}
|
2013-08-28 19:26:04 +00:00
|
|
|
|
2013-10-02 14:33:44 +00:00
|
|
|
%if 0%{?docs}
|
2014-11-04 00:55:15 +00:00
|
|
|
make install_docs INSTALL_ROOT=%{buildroot} -C %{_target_platform}
|
2013-10-02 14:33:44 +00:00
|
|
|
%endif
|
|
|
|
|
2013-08-28 19:26:04 +00:00
|
|
|
# Add desktop files, --vendor=qt4 helps avoid possible conflicts with qt3/qt4
|
|
|
|
desktop-file-install \
|
|
|
|
--dir=%{buildroot}%{_datadir}/applications \
|
|
|
|
--vendor="qt5" \
|
|
|
|
%{SOURCE20} %{SOURCE21} %{SOURCE22} %{SOURCE23}
|
|
|
|
|
|
|
|
# icons
|
|
|
|
install -m644 -p -D src/assistant/assistant/images/assistant.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/assistant-qt5.png
|
|
|
|
install -m644 -p -D src/assistant/assistant/images/assistant-128.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/assistant-qt5.png
|
|
|
|
install -m644 -p -D src/designer/src/designer/images/designer.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/designer-qt5.png
|
|
|
|
install -m644 -p -D src/qdbus/qdbusviewer/images/qdbusviewer.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/qdbusviewer-qt5.png
|
|
|
|
install -m644 -p -D src/qdbus/qdbusviewer/images/qdbusviewer-128.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/qdbusviewer-qt5.png
|
|
|
|
# linguist icons
|
|
|
|
for icon in src/linguist/linguist/images/icons/linguist-*-32.png ; do
|
|
|
|
size=$(echo $(basename ${icon}) | cut -d- -f2)
|
2014-11-30 17:20:42 +00:00
|
|
|
install -p -m644 -D ${icon} %{buildroot}%{_datadir}/icons/hicolor/${size}x${size}/apps/linguist-qt5.png
|
2013-08-28 19:26:04 +00:00
|
|
|
done
|
|
|
|
|
2013-10-02 14:33:44 +00:00
|
|
|
# hardlink files to %{_bindir}, add -qt5 postfix to not conflict
|
2013-08-28 19:26:04 +00:00
|
|
|
mkdir %{buildroot}%{_bindir}
|
|
|
|
pushd %{buildroot}%{_qt5_bindir}
|
|
|
|
for i in * ; do
|
|
|
|
case "${i}" in
|
|
|
|
assistant|designer|lconvert|linguist|lrelease|lupdate|pixeltool|qcollectiongenerator|qdbus|qdbusviewer|qhelpconverter|qhelpgenerator)
|
2013-10-02 14:33:44 +00:00
|
|
|
ln -v ${i} %{buildroot}%{_bindir}/${i}-qt5
|
|
|
|
ln -sv ${i} ${i}-qt5
|
2013-08-28 19:26:04 +00:00
|
|
|
;;
|
2013-10-02 14:33:44 +00:00
|
|
|
*)
|
|
|
|
ln -v ${i} %{buildroot}%{_bindir}/${i}
|
2013-08-28 19:26:04 +00:00
|
|
|
;;
|
|
|
|
esac
|
|
|
|
done
|
|
|
|
popd
|
|
|
|
|
|
|
|
## .prl/.la file love
|
|
|
|
# nuke .prl reference(s) to %%buildroot, excessive (.la-like) libs
|
|
|
|
pushd %{buildroot}%{_qt5_libdir}
|
|
|
|
for prl_file in libQt5*.prl ; do
|
|
|
|
sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" ${prl_file}
|
|
|
|
if [ -f "$(basename ${prl_file} .prl).so" ]; then
|
|
|
|
rm -fv "$(basename ${prl_file} .prl).la"
|
|
|
|
sed -i -e "/^QMAKE_PRL_LIBS/d" ${prl_file}
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
popd
|
|
|
|
|
2013-09-11 20:19:51 +00:00
|
|
|
## work-in-progress... -- rex
|
2013-09-11 21:44:01 +00:00
|
|
|
%if 0%{?fedora} || 0%{?rhel} > 6
|
2013-09-11 20:19:51 +00:00
|
|
|
%check
|
|
|
|
export CMAKE_PREFIX_PATH=%{buildroot}%{_qt5_prefix}:%{buildroot}%{_prefix}
|
|
|
|
export PATH=%{buildroot}%{_qt5_bindir}:%{_qt5_bindir}:$PATH
|
|
|
|
export LD_LIBRARY_PATH=%{buildroot}%{_qt5_libdir}
|
|
|
|
mkdir tests/auto/cmake/%{_target_platform}
|
|
|
|
pushd tests/auto/cmake/%{_target_platform}
|
|
|
|
cmake ..
|
|
|
|
ctest --output-on-failure ||:
|
|
|
|
popd
|
2013-09-11 21:44:01 +00:00
|
|
|
%endif
|
2013-09-11 20:19:51 +00:00
|
|
|
|
2013-08-28 19:26:04 +00:00
|
|
|
|
2013-08-28 20:33:39 +00:00
|
|
|
%files
|
|
|
|
%{_bindir}/qdbus-qt5
|
2013-10-02 14:33:44 +00:00
|
|
|
%{_bindir}/qtpaths
|
2014-10-25 23:17:21 +00:00
|
|
|
%{_qt5_bindir}/qdbus
|
|
|
|
%{_qt5_bindir}/qdbus-qt5
|
2013-10-02 14:33:44 +00:00
|
|
|
%{_qt5_bindir}/qtpaths
|
2014-10-25 23:17:21 +00:00
|
|
|
|
|
|
|
%files common
|
|
|
|
%doc LGPL_EXCEPTION.txt LICENSE.LGPL*
|
|
|
|
|
2014-10-25 23:33:58 +00:00
|
|
|
%post libs-clucene -p /sbin/ldconfig
|
|
|
|
%postun libs-clucene -p /sbin/ldconfig
|
|
|
|
%files libs-clucene
|
2013-08-28 19:26:04 +00:00
|
|
|
%{_qt5_libdir}/libQt5CLucene.so.5*
|
2014-10-25 23:17:21 +00:00
|
|
|
|
2014-10-25 23:33:58 +00:00
|
|
|
%post libs-designer -p /sbin/ldconfig
|
|
|
|
%postun libs-designer -p /sbin/ldconfig
|
|
|
|
%files libs-designer
|
2013-08-28 19:26:04 +00:00
|
|
|
%{_qt5_libdir}/libQt5Designer.so.5*
|
2014-10-25 23:17:21 +00:00
|
|
|
%dir %{_qt5_libdir}/cmake/Qt5Designer/
|
|
|
|
|
2014-10-25 23:33:58 +00:00
|
|
|
%post libs-designercomponents -p /sbin/ldconfig
|
|
|
|
%postun libs-designercomponents -p /sbin/ldconfig
|
|
|
|
%files libs-designercomponents
|
2013-08-28 19:26:04 +00:00
|
|
|
%{_qt5_libdir}/libQt5DesignerComponents.so.5*
|
2014-10-25 23:17:21 +00:00
|
|
|
|
2014-10-25 23:33:58 +00:00
|
|
|
%post libs-help -p /sbin/ldconfig
|
|
|
|
%postun libs-help -p /sbin/ldconfig
|
|
|
|
%files libs-help
|
2013-08-28 19:26:04 +00:00
|
|
|
%{_qt5_libdir}/libQt5Help.so.5*
|
2013-08-28 20:33:39 +00:00
|
|
|
|
|
|
|
%post -n qt5-assistant
|
|
|
|
touch --no-create %{_datadir}/icons/hicolor ||:
|
|
|
|
|
|
|
|
%posttrans -n qt5-assistant
|
|
|
|
gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
|
|
|
|
|
|
|
|
%postun -n qt5-assistant
|
|
|
|
if [ $1 -eq 0 ] ; then
|
|
|
|
touch --no-create %{_datadir}/icons/hicolor ||:
|
|
|
|
gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
|
|
|
|
fi
|
|
|
|
|
|
|
|
%files -n qt5-assistant
|
|
|
|
%{_bindir}/assistant-qt5
|
|
|
|
%{_qt5_bindir}/assistant*
|
2013-08-28 19:26:04 +00:00
|
|
|
%{_datadir}/applications/*assistant.desktop
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/assistant*.*
|
2013-08-28 20:33:39 +00:00
|
|
|
|
|
|
|
%files -n qt5-designer-plugin-webkit
|
2014-01-27 13:36:31 +00:00
|
|
|
%{_qt5_plugindir}/designer/libqwebview.so
|
2014-10-19 01:22:20 +00:00
|
|
|
%{_qt5_libdir}/cmake/Qt5Designer/Qt5Designer_QWebViewPlugin.cmake
|
2013-08-28 20:33:39 +00:00
|
|
|
|
|
|
|
%post -n qt5-qdbusviewer
|
|
|
|
touch --no-create %{_datadir}/icons/hicolor ||:
|
|
|
|
|
|
|
|
%posttrans -n qt5-qdbusviewer
|
|
|
|
gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
|
|
|
|
|
|
|
|
%postun -n qt5-qdbusviewer
|
|
|
|
if [ $1 -eq 0 ] ; then
|
|
|
|
touch --no-create %{_datadir}/icons/hicolor ||:
|
|
|
|
gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
|
|
|
|
fi
|
|
|
|
|
|
|
|
%files -n qt5-qdbusviewer
|
|
|
|
%{_bindir}/qdbusviewer*
|
|
|
|
%{_qt5_bindir}/qdbusviewer*
|
|
|
|
%{_datadir}/applications/*qdbusviewer.desktop
|
2013-08-28 19:26:04 +00:00
|
|
|
%{_datadir}/icons/hicolor/*/apps/qdbusviewer*.*
|
|
|
|
|
2013-08-28 20:33:39 +00:00
|
|
|
%post devel
|
2013-08-28 19:26:04 +00:00
|
|
|
touch --no-create %{_datadir}/icons/hicolor ||:
|
|
|
|
|
2013-08-28 20:33:39 +00:00
|
|
|
%posttrans devel
|
2013-08-28 19:26:04 +00:00
|
|
|
gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
|
|
|
|
update-desktop-database -q &> /dev/null ||:
|
|
|
|
|
2013-08-28 20:33:39 +00:00
|
|
|
%postun devel
|
2013-08-28 19:26:04 +00:00
|
|
|
if [ $1 -eq 0 ] ; then
|
|
|
|
touch --no-create %{_datadir}/icons/hicolor ||:
|
|
|
|
gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
|
|
|
|
fi
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_bindir}/designer*
|
|
|
|
%{_bindir}/lconvert*
|
|
|
|
%{_bindir}/linguist*
|
|
|
|
%{_bindir}/lrelease*
|
|
|
|
%{_bindir}/lupdate*
|
|
|
|
%{_bindir}/pixeltool*
|
|
|
|
%{_bindir}/qcollectiongenerator*
|
|
|
|
%{_bindir}/qhelpconverter*
|
|
|
|
%{_bindir}/qhelpgenerator*
|
2014-05-22 07:59:49 +00:00
|
|
|
%{_bindir}/qtdiag*
|
2013-08-28 19:26:04 +00:00
|
|
|
%{_qt5_bindir}/designer*
|
|
|
|
%{_qt5_bindir}/lconvert*
|
|
|
|
%{_qt5_bindir}/linguist*
|
|
|
|
%{_qt5_bindir}/lrelease*
|
|
|
|
%{_qt5_bindir}/lupdate*
|
|
|
|
%{_qt5_bindir}/pixeltool*
|
2014-05-22 07:59:49 +00:00
|
|
|
%{_qt5_bindir}/qtdiag*
|
2013-08-28 19:26:04 +00:00
|
|
|
%{_qt5_bindir}/qcollectiongenerator*
|
|
|
|
%{_qt5_bindir}/qhelpconverter*
|
|
|
|
%{_qt5_bindir}/qhelpgenerator*
|
2013-08-28 20:33:39 +00:00
|
|
|
%{_qt5_headerdir}/QtCLucene/
|
|
|
|
%{_qt5_headerdir}/QtDesigner/
|
|
|
|
%{_qt5_headerdir}/QtDesignerComponents/
|
|
|
|
%{_qt5_headerdir}/QtHelp/
|
2014-10-25 23:17:21 +00:00
|
|
|
# phrasebooks used by linguist
|
|
|
|
%{_qt5_datadir}/phrasebooks/
|
2013-08-28 19:26:04 +00:00
|
|
|
%{_qt5_libdir}/libQt5CLucene.prl
|
|
|
|
%{_qt5_libdir}/libQt5CLucene.so
|
|
|
|
%{_qt5_libdir}/libQt5Designer*.prl
|
|
|
|
%{_qt5_libdir}/libQt5Designer*.so
|
|
|
|
%{_qt5_libdir}/libQt5Help.prl
|
|
|
|
%{_qt5_libdir}/libQt5Help.so
|
2014-10-19 01:22:20 +00:00
|
|
|
%{_qt5_libdir}/cmake/Qt5Designer/Qt5DesignerConfig*.cmake
|
|
|
|
%dir %{_qt5_libdir}/cmake/Qt5Help/
|
|
|
|
%{_qt5_libdir}/cmake/Qt5Help/Qt5HelpConfig*.cmake
|
|
|
|
%dir %{_qt5_libdir}/cmake/Qt5LinguistTools/
|
|
|
|
%{_qt5_libdir}/cmake/Qt5LinguistTools/Qt5LinguistToolsConfig*.cmake
|
|
|
|
%{_qt5_libdir}/cmake/Qt5LinguistTools/Qt5LinguistToolsMacros.cmake
|
2013-08-28 20:33:39 +00:00
|
|
|
%{_qt5_libdir}/pkgconfig/Qt5CLucene.pc
|
|
|
|
%{_qt5_libdir}/pkgconfig/Qt5Designer.pc
|
|
|
|
%{_qt5_libdir}/pkgconfig/Qt5DesignerComponents.pc
|
|
|
|
%{_qt5_libdir}/pkgconfig/Qt5Help.pc
|
2013-08-28 19:26:04 +00:00
|
|
|
%{_qt5_archdatadir}/mkspecs/modules/*.pri
|
|
|
|
%{_datadir}/applications/*designer.desktop
|
|
|
|
%{_datadir}/applications/*linguist.desktop
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/designer*.*
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/linguist*.*
|
2014-10-25 23:17:21 +00:00
|
|
|
|
2014-01-27 13:39:43 +00:00
|
|
|
# example designer plugins
|
|
|
|
%{_qt5_plugindir}/designer/libcontainerextension.so
|
|
|
|
%{_qt5_plugindir}/designer/libcustomwidgetplugin.so
|
|
|
|
%{_qt5_plugindir}/designer/libtaskmenuextension.so
|
|
|
|
%{_qt5_plugindir}/designer/libworldtimeclockplugin.so
|
2014-05-22 07:59:49 +00:00
|
|
|
%{_qt5_plugindir}/designer/libqquickwidget.so
|
2014-10-25 23:17:21 +00:00
|
|
|
%dir %{_qt5_libdir}/cmake/Qt5Designer/
|
2014-10-19 01:22:20 +00:00
|
|
|
%{_qt5_libdir}/cmake/Qt5Designer/Qt5Designer_AnalogClockPlugin.cmake
|
|
|
|
%{_qt5_libdir}/cmake/Qt5Designer/Qt5Designer_MultiPageWidgetPlugin.cmake
|
|
|
|
%{_qt5_libdir}/cmake/Qt5Designer/Qt5Designer_QQuickWidgetPlugin.cmake
|
|
|
|
%{_qt5_libdir}/cmake/Qt5Designer/Qt5Designer_TicTacToePlugin.cmake
|
|
|
|
%{_qt5_libdir}/cmake/Qt5Designer/Qt5Designer_WorldTimeClockPlugin.cmake
|
2013-08-28 19:26:04 +00:00
|
|
|
|
|
|
|
%files static
|
2013-08-28 20:33:39 +00:00
|
|
|
%{_qt5_headerdir}/QtUiTools/
|
2013-08-28 19:26:04 +00:00
|
|
|
%{_qt5_libdir}/libQt5UiTools.*a
|
|
|
|
%{_qt5_libdir}/libQt5UiTools.prl
|
2013-08-28 20:33:39 +00:00
|
|
|
%{_qt5_libdir}/cmake/Qt5UiTools/
|
|
|
|
%{_qt5_libdir}/pkgconfig/Qt5UiTools.pc
|
2013-08-28 19:26:04 +00:00
|
|
|
|
2013-10-02 14:33:44 +00:00
|
|
|
%if 0%{?docs}
|
|
|
|
%files doc
|
2014-10-25 23:17:21 +00:00
|
|
|
%doc LICENSE.FDL
|
2013-10-02 14:33:44 +00:00
|
|
|
%{_qt5_docdir}/qtassistant.qch
|
|
|
|
%{_qt5_docdir}/qtassistant/
|
|
|
|
%{_qt5_docdir}/qtdesigner.qch
|
|
|
|
%{_qt5_docdir}/qtdesigner/
|
|
|
|
%{_qt5_docdir}/qthelp.qch
|
|
|
|
%{_qt5_docdir}/qthelp/
|
|
|
|
%{_qt5_docdir}/qtlinguist.qch
|
|
|
|
%{_qt5_docdir}/qtlinguist/
|
|
|
|
%{_qt5_docdir}/qtuitools.qch
|
|
|
|
%{_qt5_docdir}/qtuitools/
|
|
|
|
%endif
|
|
|
|
|
2014-01-27 13:15:36 +00:00
|
|
|
%if 0%{?_qt5_examplesdir:1}
|
|
|
|
%files examples
|
|
|
|
%{_qt5_examplesdir}/
|
|
|
|
%endif
|
|
|
|
|
2013-10-02 14:33:44 +00:00
|
|
|
|
2013-08-28 19:26:04 +00:00
|
|
|
%changelog
|
2014-12-09 14:48:01 +00:00
|
|
|
* Tue Dec 09 2014 Daniel Vrátil <dvratil@redhat.com> 5.4.0-0.10.rc
|
|
|
|
- fix icon name in qdbusviewer-qt5.desktop
|
|
|
|
|
2014-11-30 17:20:42 +00:00
|
|
|
* Sun Nov 30 2014 Kevin Kofler <Kevin@tigcc.ticalc.org> 5.4.0-0.9.rc
|
|
|
|
- install Linguist icon as linguist-qt5.png, fixes file conflict (#1169127)
|
|
|
|
|
2014-11-28 15:59:08 +00:00
|
|
|
* Fri Nov 28 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.8.rc
|
|
|
|
- 5.4.0-rc
|
|
|
|
|
2014-11-04 00:55:15 +00:00
|
|
|
* Mon Nov 03 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.7.beta
|
|
|
|
- out-of-tree build, use %%qmake_qt5
|
|
|
|
|
2014-11-01 00:25:12 +00:00
|
|
|
* Fri Oct 31 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.6.beta
|
|
|
|
- respin system-clucene.patch
|
|
|
|
|
2014-10-26 23:13:10 +00:00
|
|
|
* Sun Oct 26 2014 Kevin Kofler <Kevin@tigcc.ticalc.org> 5.4.0-0.5.beta
|
|
|
|
- system-clucene patch: create path recursively in QtCLucene, CLucene can't
|
|
|
|
|
2014-10-26 02:25:43 +00:00
|
|
|
* Sun Oct 26 2014 Kevin Kofler <Kevin@tigcc.ticalc.org> 5.4.0-0.4.beta
|
|
|
|
- disable bootstrap (reenable -doc)
|
|
|
|
- system-clucene patch: drop -fpermissive flag
|
|
|
|
- system-clucene patch: use toLocal8Bit instead of toStdString
|
|
|
|
- system_clucene: BR clucene09-core-devel >= 0.9.21b-12 (-11 was broken)
|
|
|
|
|
2014-10-25 23:17:21 +00:00
|
|
|
* Sat Oct 25 2014 Rex Dieter <rdieter@fedoraproject.org> - 5.4.0-0.3.beta
|
|
|
|
- libQt5Designer should be in a subpackage (#1156685)
|
|
|
|
- -doc: disable(boostrap for new clucene), drop dep on main pkg
|
|
|
|
|
2014-10-25 22:34:04 +00:00
|
|
|
* Sat Oct 25 2014 Kevin Kofler <Kevin@tigcc.ticalc.org> 5.4.0-0.2.beta
|
|
|
|
- BR and rebuild against reference-counting-enabled clucene09 (#1128293)
|
|
|
|
|
2014-10-19 01:22:20 +00:00
|
|
|
* Sat Oct 18 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.1.beta
|
|
|
|
- 5.4.0-beta
|
|
|
|
|
2014-10-17 14:05:09 +00:00
|
|
|
* Fri Oct 17 2014 Rex Dieter <rdieter@fedoraproject.org> 5.3.2-2
|
|
|
|
- -devel: Requires: qt5-designer-plugin-webkit
|
|
|
|
|
2014-09-16 17:50:33 +00:00
|
|
|
* Tue Sep 16 2014 Rex Dieter <rdieter@fedoraproject.org> 5.3.2-1
|
|
|
|
- 5.3.2
|
|
|
|
|
2014-08-17 22:53:36 +00:00
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-26 07:55:17 +00:00
|
|
|
* Tue Jun 17 2014 Jan Grulich <jgrulich@redhat.com> - 5.3.1-1
|
|
|
|
- 5.3.1
|
|
|
|
|
2014-06-08 01:24:18 +00:00
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-05-29 21:48:54 +00:00
|
|
|
* Thu May 29 2014 Kevin Kofler <Kevin@tigcc.ticalc.org> 5.3.0-2
|
|
|
|
- restore system-clucene patch, rm the bundled copy
|
|
|
|
|
2014-05-21 15:51:17 +00:00
|
|
|
* Wed May 21 2014 Jan Grulich <jgrulich@redhat.com> 5.3.0-1
|
|
|
|
- 5.3.0
|
|
|
|
|
2014-02-05 15:25:46 +00:00
|
|
|
* Wed Feb 05 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-1
|
|
|
|
- 5.2.1
|
|
|
|
|
2014-01-27 13:15:36 +00:00
|
|
|
* Mon Jan 27 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-3
|
|
|
|
- -examples subpkg
|
|
|
|
|
2014-01-14 14:10:24 +00:00
|
|
|
* Tue Jan 14 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-2
|
|
|
|
- epel7 bootstrapped
|
|
|
|
|
2013-12-12 13:30:05 +00:00
|
|
|
* Thu Dec 12 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-1
|
|
|
|
- 5.2.0
|
|
|
|
|
2013-12-02 17:34:33 +00:00
|
|
|
* Mon Dec 02 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.10.rc1
|
|
|
|
- 5.2.0-rc1
|
|
|
|
|
2013-11-25 13:41:45 +00:00
|
|
|
* Mon Nov 25 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.5.beta1
|
|
|
|
- enable -doc only on primary archs (allow secondary bootstrap)
|
|
|
|
|
2013-11-09 19:20:52 +00:00
|
|
|
* Sat Nov 09 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.4.beta1
|
|
|
|
- rebuild (arm/qreal)
|
|
|
|
|
2013-10-25 00:56:05 +00:00
|
|
|
* Thu Oct 24 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.3.beta1
|
|
|
|
- 5.2.0-beta1
|
|
|
|
|
2013-10-16 18:04:57 +00:00
|
|
|
* Wed Oct 16 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.2.alpha
|
|
|
|
- bootstrap ppc
|
|
|
|
|
2013-10-02 14:33:44 +00:00
|
|
|
* Tue Oct 01 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.1.alpha
|
|
|
|
- 5.2.0-alpha
|
|
|
|
- -doc subpkg
|
|
|
|
|
2013-09-21 18:16:21 +00:00
|
|
|
* Sat Sep 21 2013 Rex Dieter <rdieter@fedoraproject.org> 5.1.1-6
|
2013-09-21 06:03:42 +00:00
|
|
|
- lupdate can't find qmake configuration file default (#1009893)
|
|
|
|
|
2013-09-21 05:38:09 +00:00
|
|
|
* Sat Sep 21 2013 Rex Dieter <rdieter@fedoraproject.org> 5.1.1-4
|
|
|
|
- use upstream cmake fix(es) (QTBUG-32570, #1006254)
|
|
|
|
|
2013-09-11 20:19:51 +00:00
|
|
|
* Wed Sep 11 2013 Rex Dieter <rdieter@fedoraproject.org> 5.1.1-3
|
|
|
|
- wrong path to lrelease (#1006254)
|
|
|
|
- %%check: first try
|
|
|
|
|
2013-09-10 16:54:22 +00:00
|
|
|
* Tue Sep 10 2013 Rex Dieter <rdieter@fedoraproject.org> 5.1.1-2
|
|
|
|
- ExclusiveArch: %{ix86} x86_64 %{arm}
|
|
|
|
- epel-6 love
|
|
|
|
|
2013-08-28 20:33:39 +00:00
|
|
|
* Wed Aug 28 2013 Rex Dieter <rdieter@fedoraproject.org> 5.1.1-1
|
|
|
|
- qttools-5.1.1
|
|
|
|
- qt5-assistant, qt5-qdbusviewer, qt5-designer-plugin-webkit subpkgs (to match qt4)
|
|
|
|
|
2013-08-28 19:26:04 +00:00
|
|
|
* Mon Aug 19 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.2-4
|
|
|
|
- use system clucene09-core
|
|
|
|
|
|
|
|
* Mon Apr 29 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.2-3
|
|
|
|
- drop deprecated Encoding= key from .desktop files
|
|
|
|
- add justification for desktop vendor usage
|
|
|
|
|
|
|
|
* Fri Apr 19 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.2-2
|
|
|
|
- add .desktop/icons for assistant, designer, linguist, qdbusviewer
|
|
|
|
|
|
|
|
* Thu Apr 11 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.2-1
|
|
|
|
- 5.0.2
|
|
|
|
|
|
|
|
* Mon Feb 25 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.1-2
|
|
|
|
- BR: pkgconfig(zlib)
|
|
|
|
- -static subpkg
|
|
|
|
|
|
|
|
* Sat Feb 23 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.1-1
|
|
|
|
- first try
|
|
|
|
|