This commit is contained in:
Helio Chissini de Castro 2017-05-09 22:00:51 +02:00
parent 30c04bc282
commit 004d78d42d
3 changed files with 9 additions and 35 deletions

1
.gitignore vendored
View File

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

View File

@ -1,17 +1,14 @@
%global qt_module qtscript %global qt_module qtscript
# To build without qttools doctools package, just undefine docs
%global docs 1
Summary: Qt5 - QtScript component Summary: Qt5 - QtScript component
Name: qt5-%{qt_module} Name: qt5-%{qt_module}
Version: 5.8.0 Version: 5.9.0
Release: 2%{?dist} Release: 0.beta.3%{?dist}
# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details # See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
License: LGPLv2 with exceptions or GPLv3 with exceptions License: LGPLv2 with exceptions or GPLv3 with exceptions
Url: http://www.qt.io 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
# add s390(x0 support to Platform.h (taken from webkit) # add s390(x0 support to Platform.h (taken from webkit)
Patch0: qtscript-opensource-src-5.5.0-s390.patch Patch0: qtscript-opensource-src-5.5.0-s390.patch
@ -32,18 +29,6 @@ Requires: qt5-qtbase-devel%{?_isa}
%description devel %description devel
%{summary}. %{summary}.
%if 0%{?docs}
%package doc
Summary: API documentation for %{name}
Requires: %{name} = %{version}-%{release}
BuildRequires: qt5-doctools
BuildRequires: qt5-qtbase-doc
Requires: qt5-qtbase-doc
BuildArch: noarch
%description doc
%{summary}.
%endif
%package examples %package examples
Summary: Programming examples for %{name} Summary: Programming examples for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
@ -52,7 +37,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
%prep %prep
%setup -q -n %{qt_module}-opensource-src-%{version} %setup -q -n %{qt_module}-opensource-src-%{version}-beta3
%patch0 -p1 -b .s390 %patch0 -p1 -b .s390
@ -64,19 +49,12 @@ pushd %{_target_platform}
make %{?_smp_mflags} make %{?_smp_mflags}
%if 0%{?docs}
make %{?_smp_mflags} docs
%endif
popd popd
%install %install
make install INSTALL_ROOT=%{buildroot} -C %{_target_platform} make install INSTALL_ROOT=%{buildroot} -C %{_target_platform}
%if 0%{?docs}
make install_docs INSTALL_ROOT=%{buildroot} -C %{_target_platform}
%endif
## .prl file love (maybe consider just deleting these -- rex ## .prl file love (maybe consider just deleting these -- rex
# nuke dangling reference(s) to %%buildroot, excessive (.la-like) libs # nuke dangling reference(s) to %%buildroot, excessive (.la-like) libs
sed -i \ sed -i \
@ -110,19 +88,14 @@ rm -fv %{buildroot}%{_qt5_libdir}/lib*.la
%{_qt5_libdir}/pkgconfig/Qt5*.pc %{_qt5_libdir}/pkgconfig/Qt5*.pc
%{_qt5_archdatadir}/mkspecs/modules/*.pri %{_qt5_archdatadir}/mkspecs/modules/*.pri
%if 0%{?docs}
%files doc
%{_qt5_docdir}/qtscript.qch
%{_qt5_docdir}/qtscript/
%{_qt5_docdir}/qtscripttools.qch
%{_qt5_docdir}/qtscripttools/
%endif
%files examples %files examples
%{_qt5_examplesdir}/ %{_qt5_examplesdir}/
%changelog %changelog
* Tue May 09 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-0.beta.3
- Upstream beta 3
* Mon Apr 03 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.8.0-2 * Mon Apr 03 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.8.0-2
- build docs on all archs - build docs on all archs

View File

@ -1 +1 @@
SHA512 (qtscript-opensource-src-5.8.0.tar.xz) = 4eb56c83e8a1826e1a2a36096738a55c702c775a040f09ff2d351527d6cd02a21d48e0f45022691c0e5166aa9881fe70f5596df5eac78c23143ccb829ba54b06 SHA512 (qtscript-opensource-src-5.9.0-beta3.tar.xz) = 36d92b1babfabddece17acfefe222462fdc6bdcc7793837b7db4d83e5475e0993c98a2dcbe7c15c81b05846c146b5106018ead49331eac91c9100ee6ad740872