diff --git a/README.md b/README.md index 1c327ed..da99abd 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # qt6gtk2 +GTK+2.0 integration plugins for Qt6. + diff --git a/qt6gtk2.spec b/qt6gtk2.spec new file mode 100644 index 0000000..6b83eea --- /dev/null +++ b/qt6gtk2.spec @@ -0,0 +1,60 @@ +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 +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 0.2-1mamba +- package created using the webbuild interface