Blame SPECS/qt5-qtconnectivity.spec

443226
443226
%global qt_module qtconnectivity
443226
443226
%define docs 1
443226
443226
Summary: Qt5 - Connectivity components
443226
Name:    qt5-%{qt_module}
443226
Version: 5.9.7
443226
Release: 1%{?dist}
443226
443226
# See LICENSE.GPL3, respectively, for exception details
443226
License: LGPLv2 with exceptions or GPLv3 with exceptions
443226
Url:     http://www.qt.io
443226
Source0: http://download.qt.io/official_releases/qt/5.9/%{version}/submodules/%{qt_module}-opensource-src-%{version}.tar.xz
443226
443226
## upstreamable patches
443226
443226
# htonl undefined, include arpa/inet.h
443226
Patch52: qtconnectivity-opensource-src-5.6.2-arpa_inet.patch
443226
443226
BuildRequires: cmake
443226
BuildRequires: qt5-qtbase-devel >= %{version}
443226
BuildRequires: qt5-qtdeclarative-devel
443226
BuildRequires: pkgconfig(bluez)
443226
443226
# filter qml provides
443226
%global __provides_exclude_from ^%{_qt5_archdatadir}/qml/.*\\.so$
443226
443226
%description
443226
%{summary}.
443226
443226
%package devel
443226
Summary: Development files for %{name}
443226
Requires: %{name}%{?_isa} = %{version}-%{release}
443226
Requires: qt5-qtbase-devel%{?_isa}
443226
%description devel
443226
%{summary}.
443226
443226
%if 0%{?docs}
443226
%package doc
443226
Summary: API documentation for %{name}
443226
Requires: %{name} = %{version}-%{release}
443226
BuildRequires: qt5-qdoc
443226
BuildRequires: qt5-qhelpgenerator
443226
BuildArch: noarch
443226
%description doc
443226
%{summary}.
443226
%endif
443226
443226
%package examples
443226
Summary: Programming examples for %{name}
443226
Requires: %{name}%{?_isa} = %{version}-%{release}
443226
%description examples
443226
%{summary}.
443226
443226
443226
%prep
443226
%setup -q -n %{qt_module}-opensource-src-%{version}
443226
%patch52 -p1 -b .arpa_inet
443226
443226
%build
443226
%{qmake_qt5}
443226
443226
make %{?_smp_mflags}
443226
443226
%if 0%{?docs}
443226
make %{?_smp_mflags} docs
443226
%endif
443226
443226
443226
%install
443226
make install INSTALL_ROOT=%{buildroot}
443226
443226
%if 0%{?docs}
443226
make install_docs INSTALL_ROOT=%{buildroot}
443226
%endif
443226
443226
# hardlink files to %{_bindir}, add -qt5 postfix to not conflict
443226
mkdir %{buildroot}%{_bindir}
443226
pushd %{buildroot}%{_qt5_bindir}
443226
for i in * ; do
443226
  case "${i}" in
443226
    *)
443226
      ln -v  ${i} %{buildroot}%{_bindir}/${i}
443226
      ;;
443226
  esac
443226
done
443226
popd
443226
443226
## .prl/.la file love
443226
# nuke .prl reference(s) to %%buildroot, excessive (.la-like) libs
443226
pushd %{buildroot}%{_qt5_libdir}
443226
for prl_file in libQt5*.prl ; do
443226
  sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" ${prl_file}
443226
  if [ -f "$(basename ${prl_file} .prl).so" ]; then
443226
    rm -fv "$(basename ${prl_file} .prl).la"
443226
    sed -i -e "/^QMAKE_PRL_LIBS/d" ${prl_file}
443226
  fi
443226
done
443226
popd
443226
443226
443226
%post -p /sbin/ldconfig
443226
%postun -p /sbin/ldconfig
443226
443226
%files
443226
%license LICENSE.GPL* LICENSE.LGPL*
443226
%{_bindir}/sdpscanner
443226
%{_qt5_bindir}/sdpscanner
443226
%{_qt5_libdir}/libQt5Bluetooth.so.5*
443226
%{_qt5_archdatadir}/qml/QtBluetooth/
443226
%{_qt5_libdir}/libQt5Nfc.so.5*
443226
%{_qt5_archdatadir}/qml/QtNfc/
443226
443226
%files devel
443226
%{_qt5_headerdir}/QtBluetooth/
443226
%{_qt5_libdir}/libQt5Bluetooth.so
443226
%{_qt5_libdir}/libQt5Bluetooth.prl
443226
%dir %{_qt5_libdir}/cmake/Qt5Bluetooth/
443226
%{_qt5_libdir}/cmake/Qt5Bluetooth/Qt5BluetoothConfig*.cmake
443226
%{_qt5_libdir}/pkgconfig/Qt5Bluetooth.pc
443226
%{_qt5_archdatadir}/mkspecs/modules/qt_lib_bluetooth*.pri
443226
%{_qt5_headerdir}/QtNfc/
443226
%{_qt5_libdir}/libQt5Nfc.so
443226
%{_qt5_libdir}/libQt5Nfc.prl
443226
%dir %{_qt5_libdir}/cmake/Qt5Nfc/
443226
%{_qt5_libdir}/cmake/Qt5Nfc/Qt5NfcConfig*.cmake
443226
%{_qt5_libdir}/pkgconfig/Qt5Nfc.pc
443226
%{_qt5_archdatadir}/mkspecs/modules/qt_lib_nfc*.pri
443226
443226
%if 0%{?docs}
443226
%files doc
443226
%license LICENSE.FDL
443226
%{_qt5_docdir}/qtbluetooth.qch
443226
%{_qt5_docdir}/qtbluetooth/
443226
%{_qt5_docdir}/qtnfc.qch
443226
%{_qt5_docdir}/qtnfc/
443226
%endif
443226
443226
%if 0%{?_qt5_examplesdir:1}
443226
%files examples
443226
%{_qt5_examplesdir}/
443226
%endif
443226
443226
443226
%changelog
443226
* Thu Feb 07 2019 Jan Grulich <jgrulich@redhat.com> - 5.9.7-1
443226
- Update to 5.9.7
443226
  Resolves: bz#1564002
443226
443226
* Fri Oct 06 2017 Jan Grulich <jgrulich@redhat.com> - 5.9.2-1
443226
- Update to 5.9.2
443226
  Resolves: bz#1482777
443226
443226
* Mon Aug 28 2017 Jan Grulich <jgrulich@redhat.com> - 5.9.1-1
443226
- Update to 5.9.1
443226
  Resolves: bz#1482777
443226
443226
* Wed Jan 11 2017 Jan Grulich <jgrulich@redhat.com> - 5.6.2-1
443226
- Update to 5.6.2
443226
  Resolves: bz#1384816
443226
443226
* Tue Aug 30 2016 Jan Grulich <jgrulich@redhat.com> - 5.6.1-10
443226
- Increase build version to have newer version than in EPEL
443226
  Resolves: bz#1317399
443226
443226
* Wed Jun 08 2016 Jan Grulich <jgrulich@redhat.com> - 5.6.1-1
443226
- Update to 5.6.1
443226
  Resolves: bz#1317399
443226
443226
* Wed Apr 13 2016 Jan Grulich <jgrulich@redhat.com> - 5.6.0-6
443226
- Enable documentation
443226
  Resolves: bz#1317399
443226
443226
* Thu Apr 07 2016 Jan Grulich <jgrulich@redhat.com> - 5.6.0-5
443226
- Initial version for RHEL
443226
  Resolves: bz#1317399
443226
443226
* Sun Mar 20 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-4
443226
- rebuild
443226
443226
* Sun Mar 20 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-3
443226
- rebuild
443226
443226
* Fri Mar 18 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-2
443226
- rebuild
443226
443226
* Mon Mar 14 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-1
443226
- 5.6.0 final release
443226
443226
* Tue Feb 23 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.7.rc
443226
- Update to final RC
443226
443226
* Mon Feb 15 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.6
443226
- Update RC release
443226
443226
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.0-0.5.beta
443226
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
443226
443226
* Mon Dec 28 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.4.beta
443226
- BR: cmake, use %%license, update Source URL
443226
443226
* Mon Dec 21 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.3
443226
- Update to final beta release
443226
443226
* Thu Dec 10 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.2
443226
- Official beta release
443226
443226
* Tue Nov 03 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.1
443226
- Start to implement 5.6.0 beta
443226
443226
* Thu Oct 15 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-2
443226
- Update to final release 5.5.1
443226
443226
* Tue Sep 29 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-1
443226
- Update to Qt 5.5.1 RC1
443226
443226
* Wed Jul 29 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-4
443226
- -docs: BuildRequires: qt5-qhelpgenerator, standardize bootstrapping macros
443226
443226
* Sun Jul 26 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-3
443226
- Enabled docs
443226
443226
* Thu Jul 16 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-2
443226
- cleaner qtbase dep, .spec cosmetics
443226
443226
* Wed Jul 1 2015 Helio Chissini de Castro <helio@kde.org> 5.5.0-1
443226
- New final upstream release Qt 5.5.0
443226
443226
* Wed Jun 24 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-0.2.rc
443226
- Update for official RC1 released packages
443226
443226
* Mon Jun 15 2015 Daniel Vrátil <dvratil@redhat.com> - 5.5.0-0.1.rc
443226
- Qt 5.5.0 RC1
443226
443226
* Wed Jun 03 2015 Jan Grulich <jgrulich@redhat.com> -5.4.2-1
443226
- 5.4.2
443226
443226
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 5.4.1-3
443226
- Rebuilt for GCC 5 C++11 ABI change
443226
443226
* Fri Feb 27 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.4.1-2
443226
- rebuild (gcc5)
443226
443226
* Tue Feb 24 2015 Jan Grulich <jgrulich@redhat.com> 5.4.1-1
443226
- 5.4.1
443226
443226
* Fri Jan 02 2015 Dan Horák <dan[at]danny.cz> 5.4.0-2
443226
- include the bswap patch in F-20 and F-21 builds too
443226
443226
* Wed Dec 10 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-1
443226
- 5.4.0 (final)
443226
443226
* Fri Nov 28 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.3.rc
443226
- 5.4.0-rc
443226
443226
* Mon Nov 03 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.2.beta
443226
- out-of-tree build, use %%qmake_qt5
443226
443226
* Sun Oct 19 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.1.beta
443226
- 5.4.0-beta
443226
443226
* Tue Sep 16 2014 Rex Dieter <rdieter@fedoraproject.org> 5.3.2-1
443226
- 5.3.2
443226
443226
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.1-2
443226
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
443226
443226
* Tue Jun 17 2014 Jan Grulich <jgrulich@redhat.com> - 5.3.1-1
443226
- 5.3.1
443226
443226
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.0-2
443226
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
443226
443226
* Wed May 21 2014 Jan Grulich <jgrulich@redhat.com> 5.3.0-1
443226
- 5.3.0
443226
443226
* Mon May 05 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-2
443226
- sanitize .prl files
443226
443226
* Wed Feb 05 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-1
443226
- 5.2.1
443226
443226
* Thu Jan 02 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-1
443226
- first try