This commit is contained in:
Helio Chissini de Castro 2017-05-09 13:55:40 +02:00
parent 76930a4154
commit 4a886759bd
3 changed files with 9 additions and 34 deletions

1
.gitignore vendored
View File

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

View File

@ -1,8 +1,5 @@
%global qt_module qtmultimedia
#global docs 1
%global openal 1
%global gst 0.10
@ -12,12 +9,12 @@
Summary: Qt5 - Multimedia support
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
# filter plugin/qml provides
%global __provides_exclude_from ^(%{_qt5_archdatadir}/qml/.*\\.so|%{_qt5_plugindir}/.*\\.so)$
@ -58,18 +55,6 @@ Requires: pkgconfig(libpulse-mainloop-glib)
%description devel
%{summary}.
%if 0%{?docs}
%package doc
Summary: API documentation for %{name}
License: GFDL
Requires: %{name} = %{version}-%{release}
BuildRequires: qt5-doctools
BuildRequires: qt5-qtbase-doc
BuildArch: noarch
%description doc
%{summary}.
%endif
%package examples
Summary: Programming examples for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
@ -78,7 +63,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
%prep
%setup -q -n %{qt_module}-opensource-src-%{version}
%setup -q -n %{qt_module}-opensource-src-%{version}-beta3
%build
@ -90,19 +75,12 @@ 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}
@ -154,13 +132,6 @@ popd
%{_qt5_libdir}/pkgconfig/Qt5MultimediaWidgets.pc
%{_qt5_archdatadir}/mkspecs/modules/*.pri
%if 0%{?docs}
%files doc
%license LICENSE.FDL
%{_qt5_docdir}/qtmultimedia.qch
%{_qt5_docdir}/qtmultimedia/
%endif
%if 0%{?_qt5_examplesdir:1}
%files examples
%{_qt5_examplesdir}/
@ -168,6 +139,9 @@ popd
%changelog
* Tue May 09 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-0.beta.3
- Upstream beta 3
* Fri Mar 31 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.8.0-2
- -devel: pkgconfig(libpulse-mainloop-glib) (#1438077)

View File

@ -1 +1 @@
SHA512 (qtmultimedia-opensource-src-5.8.0.tar.xz) = 71f8f93bf55a59c36cfa52bea8b226b29d6cfd88c1906e784e3b0b5ca7511e5ce17fc09c92e906df697305895d7e0ece8408dd864293330dcf686d2f7cc55ecb
SHA512 (qtmultimedia-opensource-src-5.9.0-beta3.tar.xz) = 631e9e1dbf4a0e2380d67bf2c5dbaced7bfc51fd94de553e45129de8cce156e2edf7e3048cd602da6e110512684f2f350598eb352a7a8b30e222abb408d17a4f