Blame SPECS/qt5-qtserialbus.spec

71130c
%global qt_module qtserialbus
71130c
71130c
%define docs 1
71130c
71130c
Summary: Qt5 - SerialPort component
71130c
Name:    qt5-%{qt_module}
71130c
Version: 5.9.2
71130c
Release: 1%{?dist}
71130c
71130c
# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
71130c
License: LGPLv2 with exceptions or GPLv3 with exceptions
71130c
Url:     http://www.qt.io
71130c
Source0: https://download.qt.io/official_releases/qt/5.9/%{version}/submodules/qtserialbus-opensource-src-%{version}.tar.xz
71130c
71130c
BuildRequires: qt5-qtbase-devel >= %{version}
71130c
BuildRequires: qt5-qtserialport-devel >= %{version}
71130c
71130c
%description
71130c
Qt Serial Port provides the basic functionality, which includes configuring,
71130c
I/O operations, getting and setting the control signals of the RS-232 pinouts.
71130c
71130c
%if 0%{?docs}
71130c
%package doc
71130c
Summary: API documentation for %{name}
71130c
License: GFDL
71130c
Requires: %{name} = %{version}-%{release}
71130c
BuildRequires: qt5-qdoc
71130c
BuildRequires: qt5-qhelpgenerator
71130c
BuildArch: noarch
71130c
%description doc
71130c
%{summary}.
71130c
%endif
71130c
71130c
%package devel
71130c
Summary: Development files for %{name}
71130c
Requires: %{name}%{?_isa} = %{version}-%{release}
71130c
Requires: qt5-qtbase-devel%{?_isa}
71130c
%description devel
71130c
%{summary}.
71130c
71130c
%package examples
71130c
Summary: Programming examples for %{name}
71130c
Requires: %{name}%{?_isa} = %{version}-%{release}
71130c
%description examples
71130c
%{summary}.
71130c
71130c
%prep
71130c
%setup -q -n %{qt_module}-opensource-src-%{version}
71130c
71130c
%build
71130c
%{qmake_qt5} %{?_qt5_examplesdir:CONFIG+=qt_example_installs}
71130c
71130c
make %{?_smp_mflags}
71130c
71130c
%if 0%{?docs}
71130c
# HACK to avoid multilib conflicts in noarch content
71130c
# see also https://bugreports.qt-project.org/browse/QTBUG-42071
71130c
QT_HASH_SEED=0; export QT_HASH_SEED
71130c
make %{?_smp_mflags} docs
71130c
%endif
71130c
71130c
%install
71130c
make install INSTALL_ROOT=%{buildroot}
71130c
71130c
%if 0%{?docs}
71130c
make install_docs INSTALL_ROOT=%{buildroot}
71130c
%endif
71130c
71130c
%post -p /sbin/ldconfig
71130c
%postun -p /sbin/ldconfig
71130c
71130c
%files
71130c
%license LICENSE.GPLv2 LICENSE.GPLv3 LICENSE.LGPLv3
71130c
%{_qt5_libdir}/libQt5SerialBus.so.5*
71130c
%{_qt5_bindir}/canbusutil
71130c
%{_qt5_plugindir}/canbus
71130c
71130c
%if 0%{?docs}
71130c
%files doc
71130c
%doc LICENSE.FDL
71130c
%{_qt5_docdir}/qtserialbus.qch
71130c
%{_qt5_docdir}/qtserialbus/
71130c
%endif
71130c
71130c
%files devel
71130c
%{_qt5_headerdir}/QtSerialBus/
71130c
%{_qt5_libdir}/libQt5SerialBus.so
71130c
%{_qt5_libdir}/libQt5SerialBus.prl
71130c
%dir %{_qt5_libdir}/cmake/Qt5SerialBus/
71130c
%{_qt5_libdir}/cmake/Qt5SerialBus
71130c
%{_qt5_libdir}/pkgconfig/Qt5SerialBus.pc
71130c
%{_qt5_prefix}/mkspecs/modules/*
71130c
%exclude %{_qt5_libdir}/libQt5SerialBus.la
71130c
71130c
# no examples, yet
71130c
%if 0%{?_qt5_examplesdir:1}
71130c
%files examples
71130c
%{_qt5_examplesdir}/
71130c
%endif
71130c
71130c
%changelog
71130c
* Fri Oct 06 2017 Jan Grulich <jgrulich@redhat.com> - 5.9.2-1
71130c
- Update to 5.9.2
71130c
  Resolves: bz#1482806
71130c
71130c
* Thu Sep 21 2017 Jan Grulich <jgrulich@redhat.com> - 5.9.1-1
71130c
- 5.9.1 - initial RHEL release
71130c
  Resolves: bz#1482806
71130c
71130c
* Wed May 31 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-1
71130c
- Upstream official release
71130c
71130c
* Fri May 26 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-0.1.rc
71130c
- Upstream Release Candidate retagged
71130c
71130c
* Wed May 24 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-0.rc.1
71130c
- Upstream Release Candidate 1
71130c
71130c
* Fri May 05 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-0.beta.3
71130c
- New upstream beta3 release
71130c
71130c
* Sun Apr 16 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-0.beta.1
71130c
- New upstream beta release
71130c
71130c
* Wed Feb 01 2017 Helio Chissini de Castro <helio@kde.org> - 5.8.0-1
71130c
- New upstream version
71130c
71130c
* Sat Dec 17 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.7.1-2
71130c
- updated sources, drop pkgconfig-style deps (for now)
71130c
71130c
* Thu Nov 10 2016 Helio Chissini de Castro <helio@kde.org> - 5.7.1-1
71130c
- New upstream version
71130c
71130c
* Tue Jul 05 2016 Helio Chissini de Castro <helio@kde.org> - 5.7.0-1
71130c
- New Qt 5.7.0 package