Blame SPECS/qt5-qtserialbus.spec

b3317d
%global qt_module qtserialbus
b3317d
b3317d
%global build_tests 1
b3317d
b3317d
Summary: Qt5 - SerialBus component
b3317d
Name:    qt5-%{qt_module}
b3317d
Version: 5.15.2
b3317d
Release: 7%{?dist}
b3317d
b3317d
# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
b3317d
License: LGPLv2 with exceptions or GPLv3 with exceptions
b3317d
Url:     http://www.qt.io
b3317d
%global majmin %(echo %{version} | cut -d. -f1-2)
b3317d
Source0: https://download.qt.io/official_releases/qt/%{majmin}/%{version}/submodules/%{qt_module}-everywhere-src-%{version}.tar.xz
b3317d
b3317d
## upstreamable patches
b3317d
# workaround FTBFS against kernel-header-5.2.0+
b3317d
Patch100: qtserialbus-everywhere-src-5.12.3-SIOCGSTAMP.patch
b3317d
b3317d
BuildRequires: make
b3317d
BuildRequires: qt5-qtbase-devel >= %{version}
b3317d
BuildRequires: qt5-qtbase-private-devel
b3317d
#libQt5Core.so.5(Qt_5_PRIVATE_API)(64bit)
b3317d
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
b3317d
BuildRequires: qt5-qtserialport-devel >= %{version}
b3317d
b3317d
%description
b3317d
Qt Serial Bus (API) provides classes and functions to access the various
b3317d
industrial serial buses and protocols, such as CAN, ModBus, and others.
b3317d
b3317d
%package devel
b3317d
Summary: Development files for %{name}
b3317d
Requires: %{name}%{?_isa} = %{version}-%{release}
b3317d
Requires: qt5-qtbase-devel%{?_isa}
b3317d
%description devel
b3317d
%{summary}.
b3317d
b3317d
%package examples
b3317d
Summary: Programming examples for %{name}
b3317d
Requires: %{name}%{?_isa} = %{version}-%{release}
b3317d
%description examples
b3317d
%{summary}.
b3317d
b3317d
%if 0%{?build_tests}
b3317d
%package tests
b3317d
Summary: Unit tests for %{name}
b3317d
Requires: %{name}%{?_isa} = %{version}-%{release}
b3317d
b3317d
%description tests
b3317d
%{summary}.
b3317d
%endif
b3317d
b3317d
%prep
b3317d
%autosetup -n %{qt_module}-everywhere-src-%{version} -p1
b3317d
b3317d
b3317d
%build
b3317d
%{qmake_qt5} \
b3317d
  %{?_qt5_examplesdir:CONFIG+=qt_example_installs}
b3317d
b3317d
%make_build
b3317d
b3317d
%if 0%{?build_tests}
b3317d
%qt5_build_tests
b3317d
%endif
b3317d
b3317d
%install
b3317d
make install INSTALL_ROOT=%{buildroot}
b3317d
b3317d
%if 0%{?build_tests}
b3317d
%qt5_install_tests
b3317d
%endif
b3317d
b3317d
%ldconfig_scriptlets
b3317d
b3317d
%files
b3317d
%license LICENSE.*
b3317d
%{_qt5_libdir}/libQt5SerialBus.so.5*
b3317d
%{_qt5_bindir}/canbusutil
b3317d
%{_qt5_plugindir}/canbus
b3317d
b3317d
%files devel
b3317d
%{_qt5_headerdir}/QtSerialBus/
b3317d
%{_qt5_libdir}/libQt5SerialBus.so
b3317d
%{_qt5_libdir}/libQt5SerialBus.prl
b3317d
%dir %{_qt5_libdir}/cmake/Qt5SerialBus/
b3317d
%{_qt5_libdir}/cmake/Qt5SerialBus
b3317d
%{_qt5_libdir}/pkgconfig/Qt5SerialBus.pc
b3317d
%{_qt5_archdatadir}/mkspecs/modules/*
b3317d
%exclude %{_qt5_libdir}/libQt5SerialBus.la
b3317d
b3317d
# no examples, yet
b3317d
%if 0%{?_qt5_examplesdir:1}
b3317d
%files examples
b3317d
%{_qt5_examplesdir}/
b3317d
%endif
b3317d
b3317d
%if 0%{?build_tests}
b3317d
%files tests
b3317d
%{_qt5_libdir}/qt5/tests
b3317d
%endif
b3317d
b3317d
%changelog
b3317d
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 5.15.2-7
b3317d
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
b3317d
  Related: rhbz#1991688
b3317d
b3317d
* Sat Jun 19 2021 Jan Grulich <jgrulich@redhat.com> - 5.15.2-6
b3317d
- Properly build unit tests
b3317d
  Resolves: bz#1968472
b3317d
b3317d
* Wed Jun 09 2021 Jan Grulich <jgrulich@redhat.com> - 5.15.2-5
b3317d
- Add gating tests
b3317d
  Resolves: bz#1968472
b3317d
b3317d
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 5.15.2-4
b3317d
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
b3317d
b3317d
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.15.2-3
b3317d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
b3317d
b3317d
* Tue Nov 24 07:54:15 CET 2020 Jan Grulich <jgrulich@redhat.com> - 5.15.2-2
b3317d
- Rebuild for qtbase with -no-reduce-relocations option
b3317d
b3317d
* Fri Nov 20 09:30:47 CET 2020 Jan Grulich <jgrulich@redhat.com> - 5.15.2-1
b3317d
- 5.15.2
b3317d
b3317d
* Thu Sep 10 2020 Jan Grulich <jgrulich@redhat.com> - 5.15.1-1
b3317d
- 5.15.1
b3317d
b3317d
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.14.2-3
b3317d
- Second attempt - Rebuilt for
b3317d
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
b3317d
b3317d
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.14.2-2
b3317d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
b3317d
b3317d
* Sat Apr 04 2020 Rex Dieter <rdieter@fedoraproject.org> - 5.14.2-1
b3317d
- 5.14.2
b3317d
b3317d
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.13.2-2
b3317d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
b3317d
b3317d
* Mon Dec 09 2019 Jan Grulich <jgrulich@redhat.com> - 5.13.2-1
b3317d
- 5.13.2
b3317d
b3317d
* Tue Sep 24 2019 Jan Grulich <jgrulich@redhat.com> - 5.12.5-1
b3317d
- 5.12.5
b3317d
b3317d
* Sat Aug 17 2019 Rex Dieter <rdieter@fedoraproject.org> - 5.12.4-3
b3317d
- update %%summary %%description (#1667670)
b3317d
b3317d
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.12.4-2
b3317d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
b3317d
b3317d
* Fri Jun 14 2019 Jan Grulich <jgrulich@redhat.com> - 5.12.4-1
b3317d
- 5.12.4
b3317d
b3317d
* Tue Jun 04 2019 Jan Grulich <jgrulich@redhat.com> - 5.12.3-1
b3317d
- 5.12.3
b3317d
b3317d
* Fri Feb 15 2019 Rex Dieter <rdieter@fedoraproject.org> - 5.12.1-1
b3317d
- 5.12.1
b3317d
b3317d
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.11.3-2
b3317d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
b3317d
b3317d
* Fri Dec 07 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.11.3-1
b3317d
- 5.11.3
b3317d
b3317d
* Fri Sep 21 2018 Jan Grulich <jgrulich@redhat.com> - 5.11.2-1
b3317d
- 5.11.2
b3317d
b3317d
* Sun Jul 15 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.11.1-3
b3317d
- use %%{_qt5_archdatadir}/mkspecs/
b3317d
b3317d
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.11.1-2
b3317d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
b3317d
b3317d
* Tue Jun 19 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.11.1-1
b3317d
- 5.11.1
b3317d
b3317d
* Sun May 27 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.11.0-1
b3317d
- 5.11.0
b3317d
- use %%make_build %%ldconfig_scriptlets
b3317d
b3317d
* Wed Feb 14 2018 Jan Grulich <jgrulich@redhat.com> - 5.10.1-1
b3317d
- 5.10.1
b3317d
b3317d
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.10.0-2
b3317d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
b3317d
b3317d
* Wed Jan 03 2018 Rex Dieter <rdieter@fedoraproject.org> 5.10.0-1
b3317d
- 5.10.0
b3317d
b3317d
* Thu Nov 23 2017 Jan Grulich <jgrulich@redhat.com> - 5.9.3-1
b3317d
- 5.9.3
b3317d
b3317d
* Tue Oct 17 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.9.2-2
b3317d
- BR: qt5-qtbase-private-devel, cosmetics
b3317d
b3317d
* Mon Oct 09 2017 Jan Grulich <jgrulich@redhat.com> - 5.9.2-1
b3317d
- 5.9.2
b3317d
b3317d
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.9.0-3
b3317d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
b3317d
b3317d
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.9.0-2
b3317d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
b3317d
b3317d
* Wed May 31 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-1
b3317d
- Upstream official release
b3317d
b3317d
* Fri May 26 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-0.1.rc
b3317d
- Upstream Release Candidate retagged
b3317d
b3317d
* Wed May 24 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-0.rc.1
b3317d
- Upstream Release Candidate 1
b3317d
b3317d
* Fri May 05 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-0.beta.3
b3317d
- New upstream beta3 release
b3317d
b3317d
* Sun Apr 16 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-0.beta.1
b3317d
- New upstream beta release
b3317d
b3317d
* Wed Feb 01 2017 Helio Chissini de Castro <helio@kde.org> - 5.8.0-1
b3317d
- New upstream version
b3317d
b3317d
* Sat Dec 17 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.7.1-2
b3317d
- updated sources, drop pkgconfig-style deps (for now)
b3317d
b3317d
* Thu Nov 10 2016 Helio Chissini de Castro <helio@kde.org> - 5.7.1-1
b3317d
- New upstream version
b3317d
b3317d
* Tue Jul 05 2016 Helio Chissini de Castro <helio@kde.org> - 5.7.0-1
b3317d
- New Qt 5.7.0 package