Blame SPECS/qt5-qtx11extras.spec

30927f
30927f
%global qt_module qtx11extras
30927f
30927f
%define docs 1
30927f
30927f
Summary: Qt5 - X11 support library
30927f
Name:    qt5-%{qt_module}
30927f
Version: 5.9.2
30927f
Release: 1%{?dist}
30927f
30927f
# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
30927f
License: LGPLv2 with exceptions or GPLv3 with exceptions
30927f
Url:     http://www.qt.io
30927f
Source0: http://download.qt.io/official_releases/qt/5.9/%{version}/submodules/%{qt_module}-opensource-src-%{version}.tar.xz
30927f
30927f
BuildRequires: cmake
30927f
BuildRequires: qt5-qtbase-devel >= %{version}
30927f
BuildRequires: qt5-qtbase-private-devel
30927f
30927f
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
30927f
30927f
%description
30927f
The X11 Extras module provides features specific to platforms using X11, e.g.
30927f
Linux and UNIX-like systems including embedded Linux systems that use the X
30927f
Window System.
30927f
30927f
%package devel
30927f
Summary: Development files for %{name}
30927f
Requires: %{name}%{?_isa} = %{version}-%{release}
30927f
Requires: qt5-qtbase-devel%{?_isa}
30927f
%description devel
30927f
%{summary}.
30927f
30927f
%if 0%{?docs}
30927f
%package doc
30927f
Summary: API documentation for %{name}
30927f
Requires: %{name} = %{version}-%{release}
30927f
BuildRequires: qt5-qdoc
30927f
BuildRequires: qt5-qhelpgenerator
30927f
BuildArch: noarch
30927f
%description doc
30927f
%{summary}.
30927f
%endif
30927f
30927f
30927f
%prep
30927f
%setup -q -n %{qt_module}-opensource-src-%{version}
30927f
30927f
%build
30927f
%{qmake_qt5}
30927f
30927f
make %{?_smp_mflags}
30927f
30927f
%if 0%{?docs}
30927f
make %{?_smp_mflags} docs
30927f
%endif
30927f
30927f
30927f
%install
30927f
make install INSTALL_ROOT=%{buildroot}
30927f
30927f
%if 0%{?docs}
30927f
make install_docs INSTALL_ROOT=%{buildroot}
30927f
%endif
30927f
30927f
## .prl/.la file love
30927f
# nuke .prl reference(s) to %%buildroot, excessive (.la-like) libs
30927f
pushd %{buildroot}%{_qt5_libdir}
30927f
for prl_file in libQt5*.prl ; do
30927f
  sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" ${prl_file}
30927f
  if [ -f "$(basename ${prl_file} .prl).so" ]; then
30927f
    rm -fv "$(basename ${prl_file} .prl).la"
30927f
    sed -i -e "/^QMAKE_PRL_LIBS/d" ${prl_file}
30927f
  fi
30927f
done
30927f
popd
30927f
30927f
%post -p /sbin/ldconfig
30927f
%postun -p /sbin/ldconfig
30927f
30927f
%files
30927f
%license LGPL_EXCEPTION.txt LICENSE.LGPL*
30927f
%{_qt5_libdir}/libQt5X11Extras.so.5*
30927f
30927f
%files devel
30927f
%{_qt5_headerdir}/QtX11Extras/
30927f
%{_qt5_libdir}/libQt5X11Extras.so
30927f
%{_qt5_libdir}/libQt5X11Extras.prl
30927f
%dir %{_qt5_libdir}/cmake/Qt5X11Extras/
30927f
%{_qt5_libdir}/cmake/Qt5X11Extras/Qt5X11ExtrasConfig*.cmake
30927f
%{_qt5_libdir}/pkgconfig/Qt5X11Extras.pc
30927f
%{_qt5_archdatadir}/mkspecs/modules/qt_lib_x11extras*.pri
30927f
30927f
%if 0%{?docs}
30927f
%files doc
30927f
%{_qt5_docdir}/qtx11extras.qch
30927f
%{_qt5_docdir}/qtx11extras/
30927f
%endif
30927f
30927f
30927f
%changelog
30927f
* Fri Oct 06 2017 Jan Grulich <jgrulich@redhat.com> - 5.9.2-1
30927f
- Update to 5.9.2
30927f
  Resolves: bz#1482795
30927f
30927f
* Mon Aug 21 2017 Jan Grulich <jgrulich@redhat.com> - 5.9.1-1
30927f
- Update to 5.9.1
30927f
  Resolves: bz#1482795
30927f
30927f
* Wed Jan 11 2017 Jan Grulich <jgrulich@redhat.com> - 5.6.2-1
30927f
- Update to 5.6.2
30927f
  Resolves: bz#1384835
30927f
30927f
* Tue Aug 30 2016 Jan Grulich <jgrulich@redhat.com> - 5.6.1-10
30927f
- Increase build version to have newer version than in EPEL
30927f
  Resolves: bz#1317419
30927f
30927f
* Wed Jun 08 2016 Jan Grulich <jgrulich@redhat.com> - 5.6.1-1
30927f
- Update to 5.6.1
30927f
  Resolves: bz#1317419
30927f
30927f
* Wed Apr 13 2016 Jan Grulich <jgrulich@redhat.com> - 5.6.0-5
30927f
- Enable documentation
30927f
  Resolves: bz#1317419
30927f
30927f
* Thu Apr 07 2016 Jan Grulich <jgrulich@redhat.com> - 5.6.0-4
30927f
- Initial version for RHEL
30927f
  Resolves: bz#1317419
30927f
30927f
* Sun Mar 20 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-3
30927f
- rebuild
30927f
30927f
* Fri Mar 18 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-2
30927f
- rebuild
30927f
30927f
* Mon Mar 14 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-1
30927f
- 5.6.0 final release
30927f
30927f
* Tue Feb 23 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.8.rc
30927f
- Update to final RC
30927f
30927f
* Mon Feb 15 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.7.rc
30927f
- Integrate rc packages
30927f
30927f
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.0-0.6.beta
30927f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
30927f
30927f
* Thu Jan 21 2016 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.5.beta
30927f
- -doc subpkg
30927f
30927f
* Mon Dec 28 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.4.beta
30927f
- BR: cmake, update source URL, use %%license
30927f
30927f
* Mon Dec 21 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.3
30927f
- Update to final beta release
30927f
30927f
* Thu Dec 10 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.2
30927f
- Official beta release
30927f
30927f
* Tue Nov 03 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.1
30927f
- Start to implement 5.6.0 beta
30927f
30927f
* Thu Oct 15 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-2
30927f
- Update to final release 5.5.1
30927f
30927f
* Tue Sep 29 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-1
30927f
- Update to Qt 5.5.1 RC1
30927f
30927f
* Thu Jul 16 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-2
30927f
- tighten qtbase dep (#1233829)
30927f
30927f
* Wed Jul 1 2015 Helio Chissini de Castro <helio@kde.org> 5.5.0-1
30927f
- New final upstream release Qt 5.5.0
30927f
30927f
* Thu Jun 25 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-0.2.rc
30927f
- Update for official RC1 released packages
30927f
30927f
* Wed Jun 17 2015 Daniel Vrátil <dvratil@redhat.com> - 5.5.0-0.1.rc
30927f
- Qt 5.5.0 RC1
30927f
30927f
* Wed Jun 03 2015 Jan Grulich <jgrulich@redhat.com> - 5.4.2-1
30927f
- 5.4.2
30927f
30927f
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 5.4.1-3
30927f
- Rebuilt for GCC 5 C++11 ABI change
30927f
30927f
* Fri Feb 27 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.4.1-2
30927f
- rebuild (gcc5)
30927f
30927f
* Tue Feb 24 2015 Jan Grulich <jgrulich@redhat.com> 5.4.1-1
30927f
- 5.4.1
30927f
30927f
* Wed Dec 10 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-1
30927f
- 5.4.0 (final)
30927f
30927f
* Fri Nov 28 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.3.rc
30927f
- 5.4.0-rc
30927f
30927f
* Mon Nov 03 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.2.beta
30927f
- out-of-tree build, use %%qmake_qt5
30927f
30927f
* Sun Oct 19 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.1.beta
30927f
- 5.4.0-beta
30927f
30927f
* Wed Sep 17 2014 Rex Dieter <rdieter@fedoraproject.org> - 5.3.2-1
30927f
- 5.3.2
30927f
30927f
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.1-2
30927f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
30927f
30927f
* Tue Jun 17 2014 Jan Grulich <jgrulich@redhat.com> - 5.3.1-1
30927f
- 5.3.1
30927f
30927f
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.0-2
30927f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
30927f
30927f
* Wed May 21 2014 Jan Grulich <jgrulich@redhat.com> - 5.3.0-1
30927f
- 5.3.0
30927f
30927f
* Mon May 05 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-2
30927f
- use standard (same as qtbase) .la/.prl sanitation
30927f
30927f
* Thu Feb 06 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-1
30927f
- 5.2.1
30927f
30927f
* Thu Dec 12 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-1
30927f
- 5.2.0
30927f
30927f
* Sun Nov 10 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.4.beta1
30927f
- rebuild (arm/qreal)
30927f
30927f
* Thu Oct 24 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.3.beta1
30927f
- 5.2.0-beta1
30927f
30927f
* Thu Oct 24 2013 Lubomir Rintel <lkundrak@v3.sk> - 5.2.0-0.2.alpha
30927f
- Bulk sad and useless attempt at consistent SPEC file formatting
30927f
30927f
* Wed Oct 23 2013 Lubomir Rintel <lkundrak@v3.sk> - 5.2.0-0.2.alpha
30927f
- Remove ppc64 exclude
30927f
30927f
* Wed Oct 23 2013 Lubomir Rintel <lkundrak@v3.sk> - 5.2.0-0.1.alpha
30927f
- 5.2 alpha
30927f
30927f
* Fri Sep 27 2013 Lubomir Rintel <lkundrak@v3.sk> - 5.1.1-1
30927f
- Initial packaging