diff --git a/README.md b/README.md index 308f33d..515efe2 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # qt6-qtshadertools +Qt6 shader tools component. + diff --git a/qt6-qtshadertools.spec b/qt6-qtshadertools.spec new file mode 100644 index 0000000..872ece2 --- /dev/null +++ b/qt6-qtshadertools.spec @@ -0,0 +1,81 @@ +%define majver %(echo %version | cut -d. -f1-2) + +Name: qt6-qtshadertools +Version: 6.2.2 +Release: 1mamba +Summary: Qt6 shader tools component +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://www.qt.io/ +Source: https://download.qt.io/official_releases/qt/%{majver}/%{version}/submodules/qtshadertools-everywhere-src-%{version}.tar.xz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libglvnd-devel +BuildRequires: libstdc++6-devel +BuildRequires: libxkbcommon-devel +BuildRequires: qt6-qtbase-devel +## AUTOBUILDREQ-END +BuildRequires: cmake + +%description +Qt6 shader tools component. + +%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 qtshadertools-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}/libQt6ShaderTools.so.* +%{_libdir}/metatypes/qt6shadertools_release_metatypes.json +%doc LICENSE.* + +%files devel +%defattr(-,root,root) +%{_libdir}/qt6/bin/qsb +%dir %{_includedir}/qt6/QtShaderTools +%{_includedir}/qt6/QtShaderTools/* +%{_libdir}/libQt6ShaderTools.prl +%{_libdir}/libQt6ShaderTools.so +%{_libdir}/qt6/mkspecs/modules/qt_lib_shadertools*.pri +%{_datadir}/qt6/modules/ShaderTools.json +%{_libdir}/cmake/Qt6BuildInternals/StandaloneTests/QtShaderToolsTestsConfig.cmake +%dir %{_libdir}/cmake/Qt6ShaderTools +%{_libdir}/cmake/Qt6ShaderTools/Qt6ShaderTools*.cmake +%dir %{_libdir}/cmake/Qt6ShaderToolsTools +%{_libdir}/cmake/Qt6ShaderToolsTools/Qt6ShaderTools*.cmake + +%changelog +* Wed Dec 08 2021 Automatic Build System 6.2.2-1mamba +- automatic version update by autodist + +* Tue Nov 30 2021 Silvan Calarco 6.2.1-1mamba +- package created using the webbuild interface