From 384a3fe2a22d14c7f4b4b549bed54fbca935cd12 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 17:10:13 +0100 Subject: [PATCH] package created using the webbuild interface [release 6.2.2-1mamba;Thu Dec 30 2021] --- README.md | 2 ++ qt6-qt5compat.spec | 77 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 79 insertions(+) create mode 100644 qt6-qt5compat.spec diff --git a/README.md b/README.md index a0dc0a6..0d3fc7c 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # qt6-qt5compat +Qt6 compat component to Qt5. + diff --git a/qt6-qt5compat.spec b/qt6-qt5compat.spec new file mode 100644 index 0000000..4b394c5 --- /dev/null +++ b/qt6-qt5compat.spec @@ -0,0 +1,77 @@ +Name: qt6-qt5compat +Version: 6.2.2 +Release: 1mamba +Summary: Qt6 compat component to Qt5 +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://www.qt.io/ +Source: https://download.qt.io/official_releases/qt/6.2/%{version}/submodules/qt5compat-everywhere-src-%{version}.tar.xz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libglvnd-devel +BuildRequires: libicu-devel +BuildRequires: libstdc++6-devel +BuildRequires: libxkbcommon-devel +BuildRequires: qt6-qtbase-devel +BuildRequires: qt6-qtdeclarative-devel +## AUTOBUILDREQ-END +BuildRequires: cmake + +%description +Qt6 compat component to Qt5. + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q -n qt5compat-everywhere-src-%{version} + +%build +%cmake -d build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libQt6Core5Compat.so.* +%{_libdir}/qml/Qt5Compat/GraphicalEffects/* +%{_libdir}/metatypes/qt6core5compat_release_metatypes.json +%doc LICENSE.* + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/qt6/QtCore5Compat +%{_includedir}/qt6/QtCore5Compat/* +%{_libdir}/libQt6Core5Compat.prl +%{_libdir}/libQt6Core5Compat.so +%{_libdir}/qt6/mkspecs/modules/qt_lib_core5compat*.pri +%{_datadir}/qt6/modules/Core5Compat.json +%{_libdir}/cmake/Qt6/FindWrapIconv.cmake +%{_libdir}/cmake/Qt6BuildInternals/StandaloneTests/Qt5CompatTestsConfig.cmake +%dir %{_libdir}/cmake/Qt6Core5Compat +%{_libdir}/cmake/Qt6Core5Compat/Qt6Core5Compat*.cmake +%{_libdir}/cmake/Qt6Qml/QmlPlugins/Qt6qtgraphicaleffects*.cmake + +%changelog +* Thu Dec 30 2021 Silvan Calarco 6.2.2-1mamba +- package created using the webbuild interface