This commit is contained in:
Helio Chissini de Castro 2017-05-05 20:24:44 +02:00
parent 259951fb6b
commit 3be2c8f22a
3 changed files with 12 additions and 37 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
/qtx11extras-opensource-src-5.7.1.tar.xz
/qtx11extras-opensource-src-5.8.0.tar.xz
/qtx11extras-opensource-src-5.9.0-beta3.tar.xz

View File

@ -1,17 +1,14 @@
%global qt_module qtx11extras
# To build without qttools doctools package, just undefine docs
%global docs 1
Summary: Qt5 - X11 support library
Name: qt5-%{qt_module}
Version: 5.8.0
Release: 2%{?dist}
Version: 5.9.0
Release: 0.beta.3%{?dist}
# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
License: LGPLv2 with exceptions or GPLv3 with exceptions
Url: http://www.qt.io
Source0: http://download.qt.io/official_releases/qt/5.8/%{version}/submodules/%{qt_module}-opensource-src-%{version}.tar.xz
Source0: https://download.qt.io/development_releases/qt/5.9/%{version}-beta3/submodules/%{qt_module}-opensource-src-%{version}-beta3.tar.xz
BuildRequires: qt5-qtbase-devel >= %{version}
BuildRequires: qt5-qtbase-private-devel
@ -29,20 +26,8 @@ Requires: qt5-qtbase-devel%{?_isa}
%description devel
%{summary}.
%if 0%{?docs}
%package doc
Summary: API documentation for %{name}
Requires: %{name} = %{version}-%{release}
BuildRequires: qt5-doctools
BuildRequires: qt5-qtbase-doc
BuildArch: noarch
%description doc
%{summary}.
%endif
%prep
%setup -q -n %{qt_module}-opensource-src-%{version}
%setup -q -n %{qt_module}-opensource-src-%{version}-beta3
%build
mkdir %{_target_platform}
@ -51,19 +36,9 @@ pushd %{_target_platform}
make %{?_smp_mflags}
%if 0%{?docs}
make %{?_smp_mflags} docs
%endif
popd
%install
make install INSTALL_ROOT=%{buildroot} -C %{_target_platform}
%if 0%{?docs}
make install_docs INSTALL_ROOT=%{buildroot} -C %{_target_platform}
%endif
## .prl/.la file love
# nuke .prl reference(s) to %%buildroot, excessive (.la-like) libs
pushd %{buildroot}%{_qt5_libdir}
@ -92,14 +67,13 @@ popd
%{_qt5_libdir}/pkgconfig/Qt5X11Extras.pc
%{_qt5_archdatadir}/mkspecs/modules/qt_lib_x11extras*.pri
%if 0%{?docs}
%files doc
%{_qt5_docdir}/qtx11extras.qch
%{_qt5_docdir}/qtx11extras/
%endif
%changelog
* Fri May 05 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-0.beta.3
- Beta 3 release
* Sat Apr 15 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-0.beta.1
- New upstream beta
* Mon Apr 03 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.8.0-2
- build docs on all archs

View File

@ -1 +1 @@
SHA512 (qtx11extras-opensource-src-5.8.0.tar.xz) = c52d7b936cd3a44c0775a78f07e64f2718594d8a9cb76c5163725469fcafe634983e5855d7dd690f8210a6c22e58f8b635f09ca80396811858e79c2f8b7a5db7
SHA512 (qtx11extras-opensource-src-5.9.0-beta3.tar.xz) = 3ec043f9b693409a34a7bab22a6a4d465d5d720c80557ade7b28ce0252493bb1248c1266c340468237e0f877e2765a07ff31d3c61335ca3d8395a9ff3fcae43d