01cde37
%{?mingw_package_header}
d470a20
d470a20
%global qt_module qtgraphicaleffects
908e2e1
#global pre beta
d470a20
61868f3
#global commit fcbc6043f102dce56f0c457748f489e7e2bd0c0b
61868f3
#global shortcommit %(c=%{commit}; echo ${c:0:7})
d470a20
61868f3
%if 0%{?commit:1}
61868f3
%global source_folder %{qt_module}-%{commit}
d470a20
%else
908e2e1
%global source_folder %{qt_module}-everywhere-src-%{version}%{?pre:-%{pre}}
d470a20
%endif
d470a20
554083d
# first two digits of version
554083d
%global release_version %(echo %{version} | awk -F. '{print $1"."$2}')
554083d
d470a20
Name:           mingw-qt5-%{qt_module}
80558c5
Version:        5.12.4
562aca7
Release:        3%{?dist}
d470a20
Summary:        Qt5 for Windows - QtGraphicalEffects component
d470a20
d470a20
License:        GPLv3 with exceptions or LGPLv2 with exceptions
61868f3
URL:            http://qt.io/
d470a20
61868f3
%if 0%{?commit:1}
908e2e1
Source0:        https://github.com/qt/%{qt_module}/archive/%{commit}/%{qt_module}-everywhere-src-%{commit}.tar.gz
d470a20
%else
fc8c7c9
Source0:        http://download.qt.io/%{?pre:development}%{?!pre:official}_releases/qt/%{release_version}/%{version}%{?pre:-%pre}/submodules/%{qt_module}-everywhere-src-%{version}%{?pre:-%pre}.tar.xz
d470a20
%endif
d470a20
d470a20
BuildArch:      noarch
d470a20
d470a20
BuildRequires:  mingw32-filesystem >= 96
61868f3
BuildRequires:  mingw32-qt5-qtbase = %{version}
c57dfb6
BuildRequires:  mingw32-qt5-qtdeclarative = %{version}
c57dfb6
BuildRequires:  mingw32-qt5-qmldevtools-devel = %{version}
d470a20
d470a20
BuildRequires:  mingw64-filesystem >= 96
61868f3
BuildRequires:  mingw64-qt5-qtbase = %{version}
c57dfb6
BuildRequires:  mingw64-qt5-qtdeclarative = %{version}
c57dfb6
BuildRequires:  mingw64-qt5-qmldevtools-devel = %{version}
d470a20
d470a20
d470a20
%description
d470a20
This package contains the Qt software toolkit for developing
d470a20
cross-platform applications.
d470a20
d470a20
This is the Windows version of Qt, for use in conjunction with the
d470a20
Fedora Windows cross-compiler.
d470a20
d470a20
d470a20
# Win32
d470a20
%package -n mingw32-qt5-%{qt_module}
d470a20
Summary:        Qt5 for Windows - QtGraphicalEffects component
d470a20
d470a20
# This package only contains QtQuick 2.0 based .qml files.
d470a20
# The automatic dependency extractor isn't able to process
d470a20
# this type of files yet, so add a manual dependency
d470a20
Requires:       mingw32-qt5-qtdeclarative
d470a20
d470a20
%description -n mingw32-qt5-%{qt_module}
d470a20
This package contains the Qt software toolkit for developing
d470a20
cross-platform applications.
d470a20
d470a20
This is the Windows version of Qt, for use in conjunction with the
d470a20
Fedora Windows cross-compiler.
d470a20
d470a20
d470a20
# Win64
d470a20
%package -n mingw64-qt5-%{qt_module}
d470a20
Summary:        Qt5 for Windows - QtGraphicalEffects component
d470a20
d470a20
# This package only contains QtQuick 2.0 based .qml files.
d470a20
# The automatic dependency extractor isn't able to process
d470a20
# this type of files yet, so add a manual dependency
d470a20
Requires:       mingw64-qt5-qtdeclarative
d470a20
d470a20
%description -n mingw64-qt5-%{qt_module}
d470a20
This package contains the Qt software toolkit for developing
d470a20
cross-platform applications.
d470a20
d470a20
This is the Windows version of Qt, for use in conjunction with the
d470a20
Fedora Windows cross-compiler.
d470a20
d470a20
d470a20
%prep
01cde37
%autosetup -p1 -n %{source_folder}
61868f3
%if 0%{?commit:1}
61868f3
# Make sure the syncqt tool is run when using a git snapshot
61868f3
mkdir .git
61868f3
%endif
d470a20
d470a20
d470a20
%build
d470a20
%mingw_qmake_qt5 ../%{qt_module}.pro
d470a20
%mingw_make %{?_smp_mflags}
d470a20
d470a20
d470a20
%install
61868f3
%mingw_make install INSTALL_ROOT=%{buildroot}
d470a20
ab04f93
# Exclude debug files from the main files (note: the debug files are only created after %%install, so we can't search for them directly)
ab04f93
find %{buildroot}%{mingw32_prefix} | grep -E '.(exe|dll|pyd)$' | sed 's|^%{buildroot}\(.*\)$|%%exclude \1.debug|' > mingw32-qt5-%{qt_module}.debugfiles
ab04f93
find %{buildroot}%{mingw64_prefix} | grep -E '.(exe|dll|pyd)$' | sed 's|^%{buildroot}\(.*\)$|%%exclude \1.debug|' > mingw64-qt5-%{qt_module}.debugfiles
ab04f93
d470a20
d470a20
# Win32
ab04f93
%files -n mingw32-qt5-%{qt_module} -f mingw32-qt5-%{qt_module}.debugfiles
86f174d
%license LICENSE.LGPL* LICENSE.GPL*
86f174d
%{mingw32_libdir}/qt5/qml/QtGraphicalEffects/
d470a20
d470a20
# Win64
ab04f93
%files -n mingw64-qt5-%{qt_module} -f mingw64-qt5-%{qt_module}.debugfiles
86f174d
%license LICENSE.LGPL* LICENSE.GPL*
86f174d
%{mingw64_libdir}/qt5/qml/QtGraphicalEffects/
d470a20
d470a20
d470a20
%changelog
562aca7
* Tue Aug 27 2019 Sandro Mani <manisandro@gmail.com> - 5.12.4-3
562aca7
- Rebuild to fix pkg-config files (#1745257)
562aca7
308efc6
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.12.4-2
308efc6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
308efc6
80558c5
* Thu Jul 18 2019 Sandro Mani <manisandro@gmail.com> - 5.12.4-1
80558c5
- Update to 5.12.4
80558c5
61d3146
* Thu Apr 18 2019 Sandro Mani <manisandro@gmail.com> - 5.12.3-1
61d3146
- Update to 5.12.3
61d3146
e4fb111
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.11.3-2
e4fb111
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
e4fb111
1d10552
* Mon Jan 14 2019 Sandro Mani <manisandro@gmail.com> - 5.11.3-1
1d10552
- Update to 5.11.3
1d10552
b331bf0
* Sun Sep 23 2018 Sandro Mani <manisandro@gmail.com> - 5.11.2-1
b331bf0
- Update to 5.11.2
b331bf0
e814b13
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.11.1-2
e814b13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
e814b13
4164fa2
* Wed Jun 20 2018 Sandro Mani <manisandro@gmail.com> - 5.11.1-1
4164fa2
- Update to 5.11.1
4164fa2
cd7b859
* Wed May 30 2018 Sandro Mani <manisandro@gmail.com> - 5.11.0-1
cd7b859
- Update to 5.11.0
cd7b859
802335b
* Fri Feb 16 2018 Sandro Mani <manisandro@gmail.com> - 5.10.1-1
802335b
- Update to 5.10.1
802335b
2979d0b
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.10.0-2
2979d0b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
2979d0b
908e2e1
* Wed Dec 20 2017 Sandro Mani <manisandro@gmail.com> - 5.10.0-1
908e2e1
- Update to 5.10.0
908e2e1
61447b2
* Mon Nov 27 2017 Sandro Mani <manisandro@gmail.com> - 5.9.3-1
61447b2
- Update to 5.9.3
61447b2
93c5fa2
* Wed Oct 11 2017 Sandro Mani <manisandro@gmail.com> - 5.9.2-1
93c5fa2
- Update to 5.9.2
93c5fa2
ab04f93
* Sat Sep 09 2017 Sandro Mani <manisandro@gmail.com> - 5.9.1-3
ab04f93
- Fix debug files in main package
ab04f93
4529703
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.9.1-2
4529703
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
4529703
86f174d
* Fri Jun 30 2017 Sandro Mani <manisandro@gmail.com> - 5.9.1-1
86f174d
- Update to 5.9.1
86f174d
86f174d
* Wed Jun 28 2017 Sandro Mani <manisandro@gmail.com> - 5.9.0-1
86f174d
- Update to 5.9.0
86f174d
d3afc6e
* Tue May 09 2017 Sandro Mani <manisandro@gmail.com> - 5.8.0-2
d3afc6e
- Rebuild for dropped 0022-Allow-usage-of-static-version-with-CMake.patch in qtbase
d3afc6e
61868f3
* Thu May 04 2017 Sandro Mani <manisandro@gmail.com> - 5.8.0-1
61868f3
- Update to 5.8.0
61868f3
8a52b69
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.7.1-2
8a52b69
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
8a52b69
01cde37
* Sat Feb 04 2017 Sandro Mani <manisandro@gmail.com> - 5.7.1-1
01cde37
- Update to 5.7.1
01cde37
fcb5f35
* Sun Apr 10 2016 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.6.0-1
fcb5f35
- Update to 5.6.0
fcb5f35
c45f20c
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.5.1-2
c45f20c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
c45f20c
5c906c7
* Wed Dec 30 2015 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.5.1-1
5c906c7
- Update to 5.5.1
5c906c7
948b1fe
* Fri Aug  7 2015 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.5.0-1
948b1fe
- Update to 5.5.0
948b1fe
c56809c
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.4.1-2
c56809c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
c56809c
842895a
* Sun Mar 22 2015 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.4.1-1
842895a
- Update to 5.4.1
842895a
972294f
* Thu Jan  1 2015 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.4.0-1
972294f
- Update to 5.4.0
972294f
303e3cd
* Sat Sep 20 2014 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.3.2-1
303e3cd
- Update to 5.3.2
303e3cd
6ee3876
* Tue Jul  8 2014 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.3.1-1
6ee3876
- Update to 5.3.1
6ee3876
d88dba9
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.0-2
d88dba9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
d88dba9
0d167f2
* Sun May 25 2014 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.3.0-1
0d167f2
- Update to 5.3.0
0d167f2
b44cc99
* Sat Feb  8 2014 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.2.1-1
b44cc99
- Update to 5.2.1
b44cc99
0e93e7a
* Sun Jan  5 2014 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.2.0-1
0e93e7a
- Update to 5.2.0
0e93e7a
cf2c657
* Fri Nov 29 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.2.0-0.1.rc1
cf2c657
- Update to 5.2.0 RC1
cf2c657
083af5b
* Sat Sep  7 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.1.1-1
083af5b
- Update to 5.1.1
083af5b
ddf6564
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.0-2
ddf6564
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
ddf6564
554083d
* Thu Jul 11 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.1.0-1
554083d
- Update to 5.1.0
554083d
d470a20
* Fri May 31 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.0.2-4
d470a20
- Changed URL to http://qt-project.org/
d470a20
d470a20
* Thu May 30 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.0.2-3
d470a20
- Don't generate a debuginfo subpackage as this package doesn't have compiled code
d470a20
d470a20
* Sun May 26 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.0.2-2
d470a20
- Add manual Requires: mingw{32,64}-qt5-qtdeclarative
d470a20
  as the automatic dependency extractor isn't able to
d470a20
  process this type of files yet
d470a20
d470a20
* Fri May 10 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.0.2-1
d470a20
- Update to 5.0.2
d470a20
d470a20
* Sat Feb  9 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.0.1-1
d470a20
- Update to 5.0.1
d470a20
d470a20
* Fri Jan 11 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.0.0-1
d470a20
- Update to Qt 5.0.0 Final
d470a20
d470a20
* Mon Nov 12 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.0.0-0.2.beta1.git20121112.fcbc6043
d470a20
- Update to 20121112 snapshot (rev fcbc6043)
d470a20
- Rebuild against latest mingw-qt5-qtbase
d470a20
d470a20
* Mon Sep 10 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.0.0-0.1.beta1
d470a20
- Initial release
d470a20