qt6-qt5compat/qt6-qt5compat.spec

86 lines
2.5 KiB
RPMSpec
Raw Permalink Normal View History

%define majver %(echo %version | cut -d. -f1-2)
Name: qt6-qt5compat
Version: 6.2.4
Release: 1mamba
Summary: Qt6 compat component to Qt5
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.qt.io/
Source: https://download.qt.io/official_releases/qt/%{majver}/%{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
BuildRequires: qt6-qtdeclarative-devel = %{version}
%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
* Mon Mar 21 2022 Automatic Build System <autodist@mambasoft.it> 6.2.4-1mamba
- automatic version update by autodist
* Sun Jan 30 2022 Automatic Build System <autodist@mambasoft.it> 6.2.3-1mamba
- automatic version update by autodist
* Thu Dec 30 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 6.2.2-1mamba
- package created using the webbuild interface