qt6gtk2/qt6gtk2.spec

61 lines
1.5 KiB
RPMSpec

Name: qt6gtk2
Version: 0.2
Release: 1mamba
Summary: GTK+2.0 integration plugins for Qt6
Group: Graphical Desktop/Look 'n' feel
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/trialuser02/qt6gtk2
Source: https://github.com/trialuser02/qt6gtk2.git/%{version}/qt6gtk2-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libX11-devel
BuildRequires: libat-spi2-core-devel
BuildRequires: libcairo-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcc
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libglvnd-devel
BuildRequires: libgtk2-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libpango-devel
BuildRequires: libstdc++6-devel
BuildRequires: libxkbcommon-devel
BuildRequires: qt6-qtbase-devel
## AUTOBUILDREQ-END
Requires: libQt6Core = %{_qt6_version}
%description
GTK+2.0 integration plugins for Qt6.
%debug_package
%prep
%setup -q
%build
%{_qt6_qmake}
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall INSTALL_ROOT=%{buildroot} STRIP=/bin/true
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_qt6_plugindir}/platformthemes/libqt6gtk2.so
%{_qt6_plugindir}/styles/libqt6gtk2-style.so
%doc AUTHORS COPYING
%changelog
* Mon Apr 01 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2-1mamba
- package created using the webbuild interface