Blame SPECS/qt5-qtxmlpatterns.spec

ac1457
%global qt_module qtxmlpatterns
ac1457
b2aa91
%global build_tests 1
b2aa91
ac1457
Summary: Qt5 - QtXmlPatterns component
ac1457
Name:    qt5-%{qt_module}
0da15f
Version: 5.15.3
0da15f
Release: 1%{?dist}
ac1457
# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
ac1457
License: LGPLv2 with exceptions or GPLv3 with exceptions
ac1457
Url:     http://www.qt.io
ac1457
%global majmin %(echo %{version} | cut -d. -f1-2)
0da15f
Source0: https://download.qt.io/official_releases/qt/%{majmin}/%{version}/submodules/%{qt_module}-everywhere-opensource-src-%{version}.tar.xz
ac1457
ac1457
BuildRequires: qt5-qtbase-devel >= %{version}
ac1457
BuildRequires: qt5-qtbase-private-devel
ac1457
#libQt5Core.so.5(Qt_5_PRIVATE_API)(64bit)
ac1457
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
b2aa91
BuildRequires: qt5-qtdeclarative-devel
ac1457
ac1457
%description
ac1457
The Qt XML Patterns module provides support for XPath, XQuery, XSLT,
ac1457
and XML Schema validation.
ac1457
ac1457
%package devel
ac1457
Summary: Development files for %{name}
ac1457
Requires: %{name}%{?_isa} = %{version}-%{release}
ac1457
Requires: qt5-qtbase-devel%{?_isa}
ac1457
%description devel
ac1457
%{summary}.
ac1457
ac1457
%package examples
ac1457
Summary: Programming examples for %{name}
ac1457
Requires: %{name}%{?_isa} = %{version}-%{release}
ac1457
%description examples
ac1457
%{summary}.
ac1457
b2aa91
%if 0%{?build_tests}
b2aa91
%package tests
b2aa91
Summary: Unit tests for %{name}
b2aa91
Requires: %{name}%{?_isa} = %{version}-%{release}
b2aa91
b2aa91
%description tests
b2aa91
%{summary}.
b2aa91
%endif
ac1457
ac1457
%prep
ac1457
%autosetup -n %{qt_module}-everywhere-src-%{version} -p1
ac1457
ac1457
ac1457
%build
ac1457
%{qmake_qt5}
ac1457
b2aa91
%make_build
ac1457
b2aa91
%if 0%{?build_tests}
b2aa91
make sub-tests %{?_smp_mflags} -k ||:
b2aa91
%endif
ac1457
ac1457
%install
ac1457
make install INSTALL_ROOT=%{buildroot}
ac1457
b2aa91
%if 0%{?build_tests}
b2aa91
# Install tests for gating
b2aa91
mkdir -p %{buildroot}%{_qt5_libdir}/qt5
b2aa91
find ./tests -not -path '*/\.*' -type d | while read LINE
b2aa91
do
b2aa91
    mkdir -p "%{buildroot}%{_qt5_libdir}/qt5/$LINE"
b2aa91
done
b2aa91
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
b2aa91
do
b2aa91
    cp -r --parents "$LINE" %{buildroot}%{_qt5_libdir}/qt5/
b2aa91
done
b2aa91
%endif
b2aa91
ac1457
# put non-conflicting binaries with -qt5 postfix in {_bindir}
ac1457
mkdir %{buildroot}%{_bindir}
ac1457
pushd %{buildroot}%{_qt5_bindir}
ac1457
for i in * ; do
ac1457
  case "${i}" in
ac1457
    xmlpatterns|xmlpatternsvalidator)
ac1457
      ln -v  ${i} %{buildroot}%{_bindir}/${i}-qt5
ac1457
      ln -sv ${i} ${i}-qt5
ac1457
      ;;
ac1457
    *)
ac1457
      ln -v  ${i} %{buildroot}%{_bindir}/${i}
ac1457
      ;;
ac1457
  esac
ac1457
done
ac1457
popd
ac1457
ac1457
## .prl/.la file love
ac1457
# nuke .prl reference(s) to %%buildroot, excessive (.la-like) libs
ac1457
pushd %{buildroot}%{_qt5_libdir}
ac1457
for prl_file in libQt5*.prl ; do
ac1457
  sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" ${prl_file}
ac1457
  if [ -f "$(basename ${prl_file} .prl).so" ]; then
ac1457
    rm -fv "$(basename ${prl_file} .prl).la"
ac1457
    sed -i -e "/^QMAKE_PRL_LIBS/d" ${prl_file}
ac1457
  fi
ac1457
done
ac1457
popd
ac1457
ac1457
b2aa91
%ldconfig_scriptlets
ac1457
ac1457
%files
ac1457
%license LICENSE.LGPL*
ac1457
%{_qt5_libdir}/libQt5XmlPatterns.so.5*
b2aa91
%{_qt5_archdatadir}/qml/QtQuick/XmlListModel/
ac1457
ac1457
%files devel
ac1457
%{_qt5_bindir}/xmlpatterns*
ac1457
%{_bindir}/xmlpatterns*
ac1457
%{_qt5_headerdir}/Qt*/
ac1457
%{_qt5_libdir}/libQt5*.so
ac1457
%{_qt5_libdir}/libQt5*.prl
ac1457
%{_qt5_libdir}/cmake/Qt5*/
ac1457
%{_qt5_libdir}/pkgconfig/Qt5*.pc
ac1457
%{_qt5_archdatadir}/mkspecs/modules/*.pri
ac1457
ac1457
%files examples
ac1457
%{_qt5_examplesdir}/
ac1457
b2aa91
%if 0%{?build_tests}
b2aa91
%files tests
b2aa91
%{_qt5_libdir}/qt5/tests
b2aa91
%endif
ac1457
ac1457
%changelog
0da15f
* Fri Mar 25 2022 Jan Grulich <jgrulich@redhat.com> - 5.15.3-1
0da15f
- 5.15.3
0da15f
  Resolves: bz#2061412
0da15f
fb0dc2
* Wed Apr 28 2021 Jan Grulich <jgrulich@redhat.com> - 5.15.2-2
fb0dc2
- Rebuild (binutils)
fb0dc2
  Resolves: bz#1930061
fb0dc2
fb0dc2
* Sun Apr 04 2021 Jan Grulich <jgrulich@redhat.com> - 5.15.2-1
fb0dc2
- 5.15.2
fb0dc2
  Resolves: bz#1930061
fb0dc2
b2aa91
* Thu Nov 07 2019 Jan Grulich <jgrulich@redhat.com> - 5.12.5-1
b2aa91
- 5.12.5
b2aa91
  Resolves: bz#1733157
b2aa91
ac1457
* Mon Dec 10 2018 Jan Grulich <jgrulich@redhat.com> - 5.11.1-2
ac1457
- Rebuild to fix CET notes
ac1457
  Resolves: bz#1657227
ac1457
ac1457
* Thu Jun 28 2018 Jan Grulich <jgrulich@redhat.com> - 5.11.1-1
ac1457
- 5.11.1
ac1457
ac1457
* Tue Feb 13 2018 Jan Grulich <jgrulich@redhat.com> - 5.10.1-1
ac1457
- 5.10.1
ac1457
ac1457
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.10.0-2
ac1457
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
ac1457
ac1457
* Tue Dec 19 2017 Jan Grulich <jgrulich@redhat.com> - 5.10.0-1
ac1457
- 5.10.0
ac1457
ac1457
* Thu Nov 23 2017 Jan Grulich <jgrulich@redhat.com> - 5.9.3-1
ac1457
- 5.9.3
ac1457
ac1457
* Tue Oct 17 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.9.2-2
ac1457
- BR: qt5-qtbase-private-devel, use %%autosetup
ac1457
ac1457
* Mon Oct 09 2017 Jan Grulich <jgrulich@redhat.com> - 5.9.2-1
ac1457
- 5.9.2
ac1457
ac1457
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.9.1-3
ac1457
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
ac1457
ac1457
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.9.1-2
ac1457
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
ac1457
ac1457
* Wed Jul 19 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.9.1-1
ac1457
- 5.9.1
ac1457
ac1457
* Fri Jun 16 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.9.0-2
ac1457
- drop shadow/out-of-tree builds (#1456211,QTBUG-37417)
ac1457
ac1457
* Wed May 31 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-1
ac1457
- Upstream official release
ac1457
ac1457
* Fri May 26 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-0.1.rc
ac1457
- Upstream Release Candidate retagged
ac1457
ac1457
* Wed May 24 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-0.rc.1
ac1457
- Upstream Release Candidate 1
ac1457
ac1457
* Fri May 05 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-0.beta.3
ac1457
- New upstream beta3 release
ac1457
ac1457
* Sun Apr 16 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-0.beta.1
ac1457
- New upstream beta release
ac1457
ac1457
* Mon Apr 03 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.8.0-4
ac1457
- build -doc on all archs
ac1457
ac1457
* Thu Mar 30 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.8.0-3
ac1457
- de-bootstrap
ac1457
ac1457
* Wed Mar 29 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.8.0-2
ac1457
- bootstrap
ac1457
ac1457
* Fri Jan 27 2017 Helio Chissini de Castro <helio@kde.org> - 5.8.0-2
ac1457
- Add qt5-qtbase-doc as requires to doc creation.
ac1457
ac1457
* Fri Jan 27 2017 Helio Chissini de Castro <helio@kde.org> - 5.8.0-1
ac1457
- New upstream version
ac1457
ac1457
* Sat Dec 10 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.7.1-4
ac1457
- drop BR: cmake (handled by qt5-rpm-macros now)
ac1457
ac1457
* Fri Dec 09 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.7.1-3
ac1457
- rebuild
ac1457
ac1457
* Fri Dec 09 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.7.1-2
ac1457
- 5.7.1 dec5 snapshot
ac1457
ac1457
* Wed Nov 09 2016 Helio Chissini de Castro <helio@kde.org> - 5.7.1-1
ac1457
- New upstream version
ac1457
ac1457
* Mon Jul 04 2016 Helio Chissini de Castro <helio@kde.org> - 5.7.0-2
ac1457
- Compiled with gcc
ac1457
ac1457
* Tue Jun 14 2016 Helio Chissini de Castro <helio@kde.org> - 5.7.0-1
ac1457
- Qt 5.7.0 release
ac1457
ac1457
* Thu Jun 09 2016 Helio Chissini de Castro <helio@kde.org> - 5.7.0-0.1
ac1457
- Prepare 5.7.0 release
ac1457
ac1457
* Thu Jun 09 2016 Jan Grulich <jgrulich@redhat.com> - 5.6.1-1
ac1457
- Update to 5.6.1
ac1457
ac1457
* Sun Mar 20 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-4
ac1457
- rebuild
ac1457
ac1457
* Fri Mar 18 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-3
ac1457
- de-bootstap
ac1457
ac1457
* Fri Mar 18 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-2
ac1457
- rebuild
ac1457
ac1457
* Mon Mar 14 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-1
ac1457
- 5.6.0 release
ac1457
ac1457
* Tue Feb 23 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.10.rc
ac1457
- Update to final RC
ac1457
ac1457
* Mon Feb 15 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.9.rc
ac1457
- Integrate RC builds.
ac1457
ac1457
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.0-0.8.beta3
ac1457
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
ac1457
ac1457
* Mon Dec 28 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.7.beta3
ac1457
- update source URL, BR: cmake, use %%license
ac1457
ac1457
* Mon Dec 21 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.6
ac1457
- Update to final beta3 release
ac1457
ac1457
* Thu Dec 10 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.5
ac1457
- Official beta3 release
ac1457
ac1457
* Sat Dec 05 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.4
ac1457
- (re)enable bootstrap
ac1457
ac1457
* Sat Dec 05 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.2
ac1457
- Beta 2
ac1457
ac1457
* Tue Nov 03 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.1
ac1457
- Start to implement 5.6.0 beta3
ac1457
ac1457
* Thu Oct 15 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-2
ac1457
- Update to final release 5.5.1
ac1457
ac1457
* Tue Sep 29 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-1
ac1457
- Update to Qt 5.5.1 RC1
ac1457
ac1457
* Wed Jul 29 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-3
ac1457
- -docs: BuildRequires: qt5-qhelpgenerator, standardize bootstrapping
ac1457
ac1457
* Thu Jul 16 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-2
ac1457
- tighten qtbase dep (#1233829)
ac1457
ac1457
* Wed Jul 1 2015 Helio Chissini de Castro <helio@kde.org> 5.5.0-1
ac1457
- New final upstream release Qt 5.5.0
ac1457
ac1457
* Mon Jun 29 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-0.3.rc
ac1457
- Second round of builds now with bootstrap enabled due new qttools
ac1457
ac1457
* Thu Jun 25 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-0.2.rc
ac1457
- Update for official RC1 released packages
ac1457
ac1457
* Wed Jun 17 2015 Daniel Vrátil <dvratil@redhat.com> - 5.5.0-0.1.rc
ac1457
- Qt 5.5.0 RC1
ac1457
ac1457
* Wed Jun 03 2015 Jan Grulich <jgrulich@redhat.com> - 5.4.2-1
ac1457
- 5.4.2
ac1457
ac1457
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 5.4.1-3
ac1457
- Rebuilt for GCC 5 C++11 ABI change
ac1457
ac1457
* Fri Feb 27 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.4.1-2
ac1457
- rebuild (gcc5)
ac1457
ac1457
* Tue Feb 24 2015 Jan Grulich <jgrulich@redhat.com> 5.4.1-1
ac1457
- 5.4.1
ac1457
ac1457
* Mon Feb 16 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-2
ac1457
- rebuild (gcc5)
ac1457
ac1457
* Wed Dec 10 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-1
ac1457
- 5.4.0 (final)
ac1457
ac1457
* Fri Nov 28 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.3.rc
ac1457
- 5.4.0-rc
ac1457
ac1457
* Mon Nov 03 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.2.beta3
ac1457
- out-of-tree build, use %%qmake_qt5
ac1457
ac1457
* Sat Oct 18 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.1.beta3
ac1457
- 5.4.0-beta3
ac1457
ac1457
* Tue Sep 16 2014 Rex Dieter <rdieter@fedoraproject.org> 5.3.2-1
ac1457
- 5.3.2
ac1457
ac1457
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.1-2
ac1457
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
ac1457
ac1457
* Tue Jun 17 2014 Jan Grulich <jgrulich@redhat.com> - 5.3.1-1
ac1457
- 5.3.1
ac1457
ac1457
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.0-2
ac1457
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
ac1457
ac1457
* Wed May 21 2014 Jan Grulich <jgrulich@redhat.com> - 5.3.0-1
ac1457
- 5.3.0
ac1457
ac1457
* Mon May 05 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-2
ac1457
- use standard (same as qtbase) .prl sanitation
ac1457
ac1457
* Wed Feb 05 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-1
ac1457
- 5.2.1
ac1457
ac1457
* Mon Jan 27 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-3
ac1457
- -examples subpkg
ac1457
ac1457
* Tue Jan 14 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-2
ac1457
- epel7 bootstrapped
ac1457
ac1457
* Thu Dec 12 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-1
ac1457
- 5.2.0
ac1457
ac1457
* Mon Dec 02 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.10.rc1
ac1457
- 5.2.0-rc1
ac1457
ac1457
* Sun Nov 10 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.4.beta31
ac1457
- rebuild (arm/qreal)
ac1457
ac1457
* Thu Oct 24 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.3.beta31
ac1457
- 5.2.0-beta31
ac1457
ac1457
* Wed Oct 16 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.2.alpha
ac1457
- bootstrap ppc
ac1457
ac1457
* Wed Oct 02 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.1.alpha
ac1457
- 5.2.0-alpha
ac1457
- -doc subpkg
ac1457
ac1457
* Wed Aug 28 2013 Rex Dieter <rdieter@fedoraproject.org> 5.1.1-1
ac1457
- 5.1.1
ac1457
ac1457
* Sat Aug 17 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.2-2
ac1457
- %%doc LICENSE.GPL LICENSE.LGPL LGPL_EXCEPTION.txt
ac1457
- update Source URL
ac1457
ac1457
* Thu Apr 11 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.2-1
ac1457
- 5.0.2
ac1457
ac1457
* Sat Feb 23 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.1-1
ac1457
- first try
ac1457