Blame mingw-qt6-qtserialport.spec

88486dc
%{?mingw_package_header}
88486dc
88486dc
%global qt_module qtserialport
88486dc
#global pre rc2
88486dc
88486dc
#global commit a73dfa7c63b82e25f93e44ed6386664373aaca74
88486dc
#global shortcommit %%(c=%%{commit}; echo ${c:0:7})
88486dc
88486dc
%if 0%{?commit:1}
88486dc
%global source_folder %{qt_module}-%{commit}
88486dc
%else
88486dc
%global source_folder %{qt_module}-everywhere-src-%{version}%{?pre:-%{pre}}
88486dc
%endif
88486dc
88486dc
# first two digits of version
88486dc
%define release_version %(echo %{version} | awk -F. '{print $1"."$2}')
88486dc
88486dc
Name:           mingw-qt6-%{qt_module}
23a1d02
Version:        6.7.1
d33077e
Release:        1%{?dist}
88486dc
Summary:        Qt6 for Windows - Qt Serial Port component
88486dc
b779928
License:        LGPL-3.0-only OR GPL-3.0-only WITH Qt-GPL-exception-1.0
88486dc
URL:            http://qt.io/
88486dc
88486dc
%if 0%{?commit:1}
88486dc
Source0:        https://github.com/qt/%{qt_module}/archive/%{commit}/%{qt_module}-everywhere-src-%{commit}.tar.gz
88486dc
%else
88486dc
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
88486dc
%endif
88486dc
88486dc
BuildArch:      noarch
88486dc
88486dc
BuildRequires:  cmake
88486dc
BuildRequires:  ninja-build
88486dc
88486dc
BuildRequires:  mingw32-filesystem >= 96
d610846
BuildRequires:  mingw32-gcc-c++
88486dc
BuildRequires:  mingw32-qt6-qtbase = %{version}
88486dc
88486dc
BuildRequires:  mingw64-filesystem >= 96
d610846
BuildRequires:  mingw64-gcc-c++
88486dc
BuildRequires:  mingw64-qt6-qtbase = %{version}
88486dc
88486dc
88486dc
%description
88486dc
This package contains the Qt software toolkit for developing
88486dc
cross-platform applications.
88486dc
88486dc
This is the Windows version of Qt, for use in conjunction with the
88486dc
Fedora Windows cross-compiler.
88486dc
88486dc
88486dc
# Win32
88486dc
%package -n mingw32-qt6-%{qt_module}
88486dc
Summary:        Qt6 for Windows - Qt Serial Port component
88486dc
88486dc
%description -n mingw32-qt6-%{qt_module}
88486dc
This package contains the Qt software toolkit for developing
88486dc
cross-platform applications.
88486dc
88486dc
This is the Windows version of Qt, for use in conjunction with the
88486dc
Fedora Windows cross-compiler.
88486dc
88486dc
88486dc
# Win64
88486dc
%package -n mingw64-qt6-%{qt_module}
88486dc
Summary:        Qt6 for Windows - Qt Serial Port component
88486dc
88486dc
%description -n mingw64-qt6-%{qt_module}
88486dc
This package contains the Qt software toolkit for developing
88486dc
cross-platform applications.
88486dc
88486dc
This is the Windows version of Qt, for use in conjunction with the
88486dc
Fedora Windows cross-compiler.
88486dc
88486dc
88486dc
%{?mingw_debug_package}
88486dc
88486dc
88486dc
%prep
88486dc
%autosetup -p1 -n %{source_folder}
88486dc
88486dc
88486dc
%build
d33077e
export MINGW32_CXXFLAGS="%{mingw32_cflags} -msse2"
d33077e
export MINGW64_CXXFLAGS="%{mingw64_cflags} -msse2"
88486dc
%mingw_cmake -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo
88486dc
%mingw_ninja
88486dc
88486dc
88486dc
%install
88486dc
%mingw_ninja_install
88486dc
88486dc
88486dc
# Win32
88486dc
%files -n mingw32-qt6-%{qt_module}
5016d68
%license LICENSES/*GPL*
88486dc
%{mingw32_bindir}/Qt6SerialPort.dll
88486dc
%{mingw32_includedir}/qt6/QtSerialPort/
88486dc
%{mingw32_libdir}/cmake/Qt6SerialPort/
88486dc
%{mingw32_libdir}/cmake/Qt6BuildInternals/StandaloneTests/QtSerialPortTestsConfig.cmake
50f4359
%{mingw32_libdir}/pkgconfig/Qt6SerialPort.pc
88486dc
%{mingw32_libdir}/libQt6SerialPort.dll.a
cd6f5bc
%{mingw32_libdir}/qt6/metatypes/qt6serialport_relwithdebinfo_metatypes.json
88486dc
%{mingw32_libdir}/qt6/mkspecs/modules/qt_lib_serialport.pri
88486dc
%{mingw32_libdir}/qt6/mkspecs/modules/qt_lib_serialport_private.pri
88486dc
%{mingw32_libdir}/Qt6SerialPort.prl
cd6f5bc
%{mingw32_libdir}/qt6/modules/SerialPort.json
88486dc
88486dc
88486dc
# Win64
88486dc
%files -n mingw64-qt6-%{qt_module}
5016d68
%license LICENSES/*GPL*
88486dc
%{mingw64_bindir}/Qt6SerialPort.dll
88486dc
%{mingw64_includedir}/qt6/QtSerialPort/
88486dc
%{mingw64_libdir}/cmake/Qt6SerialPort/
88486dc
%{mingw64_libdir}/cmake/Qt6BuildInternals/StandaloneTests/QtSerialPortTestsConfig.cmake
50f4359
%{mingw64_libdir}/pkgconfig/Qt6SerialPort.pc
88486dc
%{mingw64_libdir}/libQt6SerialPort.dll.a
cd6f5bc
%{mingw64_libdir}/qt6/metatypes/qt6serialport_relwithdebinfo_metatypes.json
88486dc
%{mingw64_libdir}/qt6/mkspecs/modules/qt_lib_serialport.pri
88486dc
%{mingw64_libdir}/qt6/mkspecs/modules/qt_lib_serialport_private.pri
88486dc
%{mingw64_libdir}/Qt6SerialPort.prl
cd6f5bc
%{mingw64_libdir}/qt6/modules/SerialPort.json
88486dc
88486dc
88486dc
%changelog
23a1d02
* Sun May 26 2024 Sandro Mani <manisandro@gmail.com> - 6.7.1-1
23a1d02
- Update to 6.7.1
23a1d02
349e679
* Mon Apr 08 2024 Sandro Mani <manisandro@gmail.com> - 6.7.0-1
349e679
- Update to 6.7.0
349e679
d33077e
* Sun Feb 18 2024 Sandro Mani <manisandro@gmail.com> - 6.6.2-1
d33077e
- Update to 6.6.2
d33077e
2e023a3
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 6.6.1-3
2e023a3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
2e023a3
bcf3578
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 6.6.1-2
bcf3578
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
bcf3578
7fd7fc7
* Sun Dec 03 2023 Sandro Mani <manisandro@gmail.com> - 6.6.1-1
7fd7fc7
- Update to 6.6.1
7fd7fc7
1a0b5e5
* Wed Oct 18 2023 Sandro Mani <manisandro@gmail.com> - 6.6.0-1
1a0b5e5
- Update to 6.6.0
1a0b5e5
f715f15
* Wed Oct 04 2023 Sandro Mani <manisandro@gmail.com> - 6.5.3-1
f715f15
- Update to 6.5.3
f715f15
b779928
* Sun Jul 30 2023 Sandro Mani <manisandro@gmail.com> - 6.5.2-1
b779928
- Update to 6.5.2
b779928
4664f3e
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 6.5.1-2
4664f3e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
4664f3e
9b864ea
* Tue May 30 2023 Sandro Mani <manisandro@gmail.com> - 6.5.1-1
9b864ea
- Update to 6.5.1
9b864ea
cd6f5bc
* Fri Apr 07 2023 Sandro Mani <manisandro@gmail.com> - 6.5.0-1
cd6f5bc
- Update to 6.5.0
cd6f5bc
771086d
* Wed Mar 29 2023 Sandro Mani <manisandro@gmail.com> - 6.4.3-1
771086d
- Update to 6.4.3
771086d
9f7ba09
* Tue Mar 28 2023 Sandro Mani <manisandro@gmail.com> - 6.4.2-1
9f7ba09
- Update to 6.4.2
9f7ba09
49b46b1
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 6.4.2-2
49b46b1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
49b46b1
a432a08
* Wed Jan 18 2023 Sandro Mani <manisandro@gmail.com> - 6.4.2-1
a432a08
- Update to 6.4.2
a432a08
690841a
* Sat Nov 26 2022 Sandro Mani <manisandro@gmail.com> - 6.4.1-1
690841a
- Update to 6.4.1
690841a
5016d68
* Fri Nov 04 2022 Sandro Mani <manisandro@gmail.com> - 6.4.0-1
5016d68
- Update to 6.4.0
5016d68
9c979ac
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6.3.1-2
9c979ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
9c979ac
50f4359
* Tue Jul 19 2022 Sandro Mani <manisandro@gmail.com> - 6.3.1-1
50f4359
- Update to 6.3.1
50f4359
ed19dd8
* Fri Apr 29 2022 Sandro Mani <manisandro@gmail.com> - 6.3.0-1
ed19dd8
- Update to 6.3.0
ed19dd8
d638786
* Sun Mar 06 2022 Sandro Mani <manisandro@gmail.com> - 6.2.3-2
d638786
- Re-enable s390x build
d638786
d1a89af
* Tue Feb 08 2022 Sandro Mani <manisandro@gmail.com> - 6.2.3-1
d1a89af
- Update to 6.2.3
d1a89af
c683d6d
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6.2.2-2
c683d6d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
c683d6d
c7f4110
* Thu Dec 16 2021 Sandro Mani <manisandro@gmail.com> - 6.2.2-1
c7f4110
- Update to 6.2.2
c7f4110
88486dc
* Tue Nov 09 2021 Sandro Mani <manisandro@gmail.com> - 6.2.1-1
88486dc
- Update to 6.2.1
88486dc
88486dc
* Sun Oct 03 2021 Sandro Mani <manisandro@gmail.com> - 6.2.0-1
88486dc
- Update to 6.2.0
88486dc
88486dc
* Wed Sep 29 2021 Sandro Mani <manisandro@gmail.com> - 6.2.0-0.2.rc2
88486dc
- Initial package