Blame SPECS/qt5-qtxmlpatterns.spec

292203
292203
%global qt_module qtxmlpatterns
292203
292203
# define to build docs, need to undef this for bootstrapping
292203
# where qt5-qttools builds are not yet available
292203
# only primary archs (for now), allow secondary to bootstrap
292203
# global bootstrap 1
292203
292203
%if ! 0%{?bootstrap}
292203
%ifarch %{arm} %{ix86} x86_64
292203
%define docs 1
292203
%endif
292203
%endif
292203
292203
Summary: Qt5 - QtXmlPatterns component
292203
Name:    qt5-%{qt_module}
d4ed84
Version: 5.9.2
1bd6f4
Release: 1%{?dist}
292203
# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
292203
License: LGPLv2 with exceptions or GPLv3 with exceptions
292203
Url:     http://www.qt.io
d4ed84
Source0: http://download.qt.io/official_releases/qt/5.9/%{version}/submodules/%{qt_module}-opensource-src-%{version}.tar.xz
292203
292203
BuildRequires: cmake
292203
BuildRequires: qt5-qtbase-devel >= %{version}
292203
292203
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
292203
292203
%description
292203
The Qt XML Patterns module provides support for XPath, XQuery, XSLT,
292203
and XML Schema validation.
292203
292203
%package devel
292203
Summary: Development files for %{name}
292203
Requires: %{name}%{?_isa} = %{version}-%{release}
292203
Requires: qt5-qtbase-devel%{?_isa}
292203
%description devel
292203
%{summary}.
292203
292203
%if 0%{?docs}
292203
%package doc
292203
Summary: API documentation for %{name}
292203
License: GFDL
292203
Requires: %{name} = %{version}-%{release}
292203
BuildRequires: qt5-qdoc
292203
BuildRequires: qt5-qhelpgenerator
292203
BuildArch: noarch
292203
%description doc
292203
%{summary}.
292203
%endif
292203
292203
%package examples
292203
Summary: Programming examples for %{name}
292203
Requires: %{name}%{?_isa} = %{version}-%{release}
292203
%description examples
292203
%{summary}.
292203
292203
292203
%prep
1bd6f4
%setup -q -n %{qt_module}-opensource-src-%{version}
292203
292203
292203
%build
d4ed84
%{qmake_qt5}
292203
292203
make %{?_smp_mflags}
292203
d4ed84
292203
%if 0%{?docs}
292203
make %{?_smp_mflags} docs
292203
%endif
d4ed84
292203
292203
%install
d4ed84
make install INSTALL_ROOT=%{buildroot}
292203
292203
%if 0%{?docs}
d4ed84
make install_docs INSTALL_ROOT=%{buildroot}
292203
%endif
292203
292203
# put non-conflicting binaries with -qt5 postfix in %{_bindir}
292203
mkdir %{buildroot}%{_bindir}
292203
pushd %{buildroot}%{_qt5_bindir}
292203
for i in * ; do
292203
  case "${i}" in
292203
    xmlpatterns|xmlpatternsvalidator)
292203
      ln -v  ${i} %{buildroot}%{_bindir}/${i}-qt5
292203
      ln -sv ${i} ${i}-qt5
292203
      ;;
292203
    *)
292203
      ln -v  ${i} %{buildroot}%{_bindir}/${i}
292203
      ;;
292203
  esac
292203
done
292203
popd
292203
292203
## .prl/.la file love
292203
# nuke .prl reference(s) to %%buildroot, excessive (.la-like) libs
292203
pushd %{buildroot}%{_qt5_libdir}
292203
for prl_file in libQt5*.prl ; do
292203
  sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" ${prl_file}
292203
  if [ -f "$(basename ${prl_file} .prl).so" ]; then
292203
    rm -fv "$(basename ${prl_file} .prl).la"
292203
    sed -i -e "/^QMAKE_PRL_LIBS/d" ${prl_file}
292203
  fi
292203
done
292203
popd
292203
292203
%post -p /sbin/ldconfig
292203
%postun -p /sbin/ldconfig
292203
292203
%files
292203
%license LICENSE.LGPL* LGPL_EXCEPTION.txt
292203
%{_qt5_libdir}/libQt5XmlPatterns.so.5*
292203
292203
%files devel
292203
%{_qt5_bindir}/xmlpatterns*
292203
%{_bindir}/xmlpatterns*
292203
%{_qt5_headerdir}/Qt*/
292203
%{_qt5_libdir}/libQt5*.so
292203
%{_qt5_libdir}/libQt5*.prl
292203
%{_qt5_libdir}/cmake/Qt5*/
292203
%{_qt5_libdir}/pkgconfig/Qt5*.pc
292203
%{_qt5_archdatadir}/mkspecs/modules/*.pri
292203
292203
%if 0%{?docs}
292203
%files doc
292203
%license LICENSE.FDL
292203
%{_qt5_docdir}/qtxmlpatterns.qch
292203
%{_qt5_docdir}/qtxmlpatterns/
292203
%endif
292203
292203
%files examples
292203
%{_qt5_examplesdir}/
292203
292203
292203
%changelog
d4ed84
* Fri Oct 06 2017 Jan Grulich <jgrulich@redhat.com> - 5.9.2-1
d4ed84
- Update to 5.9.2
d4ed84
  Resolves: bz#1482794
d4ed84
d4ed84
* Mon Sep 04 2017 Jan Grulich <jgrulich@redhat.com> - 5.9.1-2
d4ed84
- Enable documentation
d4ed84
  Resolves: bz#1482794
d4ed84
d4ed84
* Mon Aug 21 2017 Jan Grulich <jgrulich@redhat.com> - 5.9.1-1
d4ed84
- Update to 5.9.1
d4ed84
  Resolves: bz#1482794
d4ed84
1bd6f4
* Wed Jan 11 2017 Jan Grulich <jgrulich@redhat.com> - 5.6.2-1
1bd6f4
- Update to 5.6.2
1bd6f4
  Resolves: bz#1384834
1bd6f4
292203
* Tue Aug 30 2016 Jan Grulich <jgrulich@redhat.com> - 5.6.1-10
292203
- Increase build version to have newer version than in EPEL
292203
  Resolves: bz#1317418
292203
292203
* Wed Jun 08 2016 Jan Grulich <jgrulich@redhat.com> - 5.6.1-1
292203
- Update to 5.6.1
292203
  Resolves: bz#1317418
292203
292203
* Wed Apr 13 2016 Jan Grulich <jgrulich@redhat.com> - 5.6.0-6
292203
- Enable documentation
292203
  Resolves: bz#1317418
292203
292203
* Thu Apr 07 2016 Jan Grulich <jgrulich@redhat.com> - 5.6.0-5
292203
- Initial version for RHEL
292203
  Resolves: bz#1317418
292203
292203
* Sun Mar 20 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-4
292203
- rebuild
292203
292203
* Fri Mar 18 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-3
292203
- de-bootstap
292203
292203
* Fri Mar 18 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-2
292203
- rebuild
292203
292203
* Mon Mar 14 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-1
292203
- 5.6.0 release
292203
292203
* Tue Feb 23 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.10.rc
292203
- Update to final RC
292203
292203
* Mon Feb 15 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.9.rc
292203
- Integrate RC builds.
292203
292203
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.0-0.8.beta
292203
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
292203
292203
* Mon Dec 28 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.7.beta
292203
- update source URL, BR: cmake, use %%license
292203
292203
* Mon Dec 21 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.6
292203
- Update to final beta release
292203
292203
* Thu Dec 10 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.5
292203
- Official beta release
292203
292203
* Sat Dec 05 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.4
292203
- (re)enable bootstrap
292203
292203
* Sat Dec 05 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.2
292203
- Beta 2
292203
292203
* Tue Nov 03 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.1
292203
- Start to implement 5.6.0 beta
292203
292203
* Thu Oct 15 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-2
292203
- Update to final release 5.5.1
292203
292203
* Tue Sep 29 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-1
292203
- Update to Qt 5.5.1 RC1
292203
292203
* Wed Jul 29 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-3
292203
- -docs: BuildRequires: qt5-qhelpgenerator, standardize bootstrapping
292203
292203
* Thu Jul 16 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-2
292203
- tighten qtbase dep (#1233829)
292203
292203
* Wed Jul 1 2015 Helio Chissini de Castro <helio@kde.org> 5.5.0-1
292203
- New final upstream release Qt 5.5.0
292203
292203
* Mon Jun 29 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-0.3.rc
292203
- Second round of builds now with bootstrap enabled due new qttools
292203
292203
* Thu Jun 25 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-0.2.rc
292203
- Update for official RC1 released packages
292203
292203
* Wed Jun 17 2015 Daniel Vrátil <dvratil@redhat.com> - 5.5.0-0.1.rc
292203
- Qt 5.5.0 RC1
292203
292203
* Wed Jun 03 2015 Jan Grulich <jgrulich@redhat.com> - 5.4.2-1
292203
- 5.4.2
292203
292203
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 5.4.1-3
292203
- Rebuilt for GCC 5 C++11 ABI change
292203
292203
* Fri Feb 27 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.4.1-2
292203
- rebuild (gcc5)
292203
292203
* Tue Feb 24 2015 Jan Grulich <jgrulich@redhat.com> 5.4.1-1
292203
- 5.4.1
292203
292203
* Mon Feb 16 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-2
292203
- rebuild (gcc5)
292203
292203
* Wed Dec 10 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-1
292203
- 5.4.0 (final)
292203
292203
* Fri Nov 28 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.3.rc
292203
- 5.4.0-rc
292203
292203
* Mon Nov 03 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.2.beta
292203
- out-of-tree build, use %%qmake_qt5
292203
292203
* Sat Oct 18 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.1.beta
292203
- 5.4.0-beta
292203
292203
* Tue Sep 16 2014 Rex Dieter <rdieter@fedoraproject.org> 5.3.2-1
292203
- 5.3.2
292203
292203
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.1-2
292203
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
292203
292203
* Tue Jun 17 2014 Jan Grulich <jgrulich@redhat.com> - 5.3.1-1
292203
- 5.3.1
292203
292203
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.0-2
292203
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
292203
292203
* Wed May 21 2014 Jan Grulich <jgrulich@redhat.com> - 5.3.0-1
292203
- 5.3.0
292203
292203
* Mon May 05 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-2
292203
- use standard (same as qtbase) .prl sanitation
292203
292203
* Wed Feb 05 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-1
292203
- 5.2.1
292203
292203
* Mon Jan 27 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-3
292203
- -examples subpkg
292203
292203
* Tue Jan 14 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-2
292203
- epel7 bootstrapped
292203
292203
* Thu Dec 12 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-1
292203
- 5.2.0
292203
292203
* Mon Dec 02 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.10.rc1
292203
- 5.2.0-rc1
292203
292203
* Sun Nov 10 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.4.beta1
292203
- rebuild (arm/qreal)
292203
292203
* Thu Oct 24 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.3.beta1
292203
- 5.2.0-beta1
292203
292203
* Wed Oct 16 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.2.alpha
292203
- bootstrap ppc
292203
292203
* Wed Oct 02 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.1.alpha
292203
- 5.2.0-alpha
292203
- -doc subpkg
292203
292203
* Wed Aug 28 2013 Rex Dieter <rdieter@fedoraproject.org> 5.1.1-1
292203
- 5.1.1
292203
292203
* Sat Aug 17 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.2-2
292203
- %%doc LICENSE.GPL LICENSE.LGPL LGPL_EXCEPTION.txt
292203
- update Source URL
292203
292203
* Thu Apr 11 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.2-1
292203
- 5.0.2
292203
292203
* Sat Feb 23 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.1-1
292203
- first try
292203