import qt5-qtquickcontrols-5.12.5-1.el8
This commit is contained in:
parent
44ae8fc818
commit
ca018ae3eb
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
SOURCES/qtquickcontrols-everywhere-src-5.11.1.tar.xz
|
SOURCES/qtquickcontrols-everywhere-src-5.12.5.tar.xz
|
||||||
|
@ -1 +1 @@
|
|||||||
59bba0d3c771119b72000ad91e9963ea75fd3953 SOURCES/qtquickcontrols-everywhere-src-5.11.1.tar.xz
|
1b30512d997c5f16ac69cf71293b90640e2290f4 SOURCES/qtquickcontrols-everywhere-src-5.12.5.tar.xz
|
||||||
|
@ -1,9 +1,11 @@
|
|||||||
%global qt_module qtquickcontrols
|
%global qt_module qtquickcontrols
|
||||||
|
|
||||||
|
%global build_tests 1
|
||||||
|
|
||||||
Name: qt5-%{qt_module}
|
Name: qt5-%{qt_module}
|
||||||
Summary: Qt5 - module with set of QtQuick controls
|
Summary: Qt5 - module with set of QtQuick controls
|
||||||
Version: 5.11.1
|
Version: 5.12.5
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
|
|
||||||
License: LGPLv2 or LGPLv3 and GFDL
|
License: LGPLv2 or LGPLv3 and GFDL
|
||||||
Url: http://www.qt.io
|
Url: http://www.qt.io
|
||||||
@ -32,6 +34,15 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|||||||
%description examples
|
%description examples
|
||||||
%{summary}.
|
%{summary}.
|
||||||
|
|
||||||
|
%if 0%{?build_tests}
|
||||||
|
%package tests
|
||||||
|
Summary: Unit tests for %{name}
|
||||||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description tests
|
||||||
|
%{summary}.
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{qt_module}-everywhere-src-%{version} -p1
|
%autosetup -n %{qt_module}-everywhere-src-%{version} -p1
|
||||||
@ -42,10 +53,25 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|||||||
|
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
|
%if 0%{?build_tests}
|
||||||
|
make sub-tests %{?_smp_mflags} -k ||:
|
||||||
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install INSTALL_ROOT=%{buildroot}
|
make install INSTALL_ROOT=%{buildroot}
|
||||||
|
|
||||||
|
%if 0%{?build_tests}
|
||||||
|
# Install tests for gating
|
||||||
|
mkdir -p %{buildroot}%{_qt5_libdir}/qt5
|
||||||
|
find ./tests -not -path '*/\.*' -type d | while read LINE
|
||||||
|
do
|
||||||
|
mkdir -p "%{buildroot}%{_qt5_libdir}/qt5/$LINE"
|
||||||
|
done
|
||||||
|
find ./tests -not -path '*/\.*' -not -name '*.h' -not -name '*.cpp' -not -name '*.pro' -not -name 'uic_wrapper.sh' -not -name 'Makefile' -not -name 'target_wrapper.sh' -type f | while read LINE
|
||||||
|
do
|
||||||
|
cp -r --parents "$LINE" %{buildroot}%{_qt5_libdir}/qt5/
|
||||||
|
done
|
||||||
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license LICENSE.*
|
%license LICENSE.*
|
||||||
@ -56,8 +82,16 @@ make install INSTALL_ROOT=%{buildroot}
|
|||||||
%{_qt5_examplesdir}/
|
%{_qt5_examplesdir}/
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?build_tests}
|
||||||
|
%files tests
|
||||||
|
%{_qt5_libdir}/qt5/tests
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 18 2019 Jan Grulich <jgrulich@redhat.com> - 5.12.5-1
|
||||||
|
- 5.12.5
|
||||||
|
Resolves: bz#1733145
|
||||||
|
|
||||||
* Mon Dec 10 2018 Jan Grulich <jgrulich@redhat.com> - 5.11.1-2
|
* Mon Dec 10 2018 Jan Grulich <jgrulich@redhat.com> - 5.11.1-2
|
||||||
- Rebuild to fix CET notes
|
- Rebuild to fix CET notes
|
||||||
Resolves: bz#1657243
|
Resolves: bz#1657243
|
||||||
|
Loading…
Reference in New Issue
Block a user