%define framework kcolorscheme %define majver %(echo %version | cut -d. -f1-2) Name: kf6-kcolorscheme Version: 6.3.0 Release: 1mamba Summary: Classes to read and interact with KColorScheme Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://invent.kde.org/frameworks/kcolorscheme Source: https://download.kde.org/%{stable_kf6}/frameworks/%{majver}/kcolorscheme-%{version}.tar.xz License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libgcc BuildRequires: libglvnd-devel BuildRequires: libkf6-kconfig-devel BuildRequires: libkf6-kguiaddons-devel BuildRequires: libkf6-ki18n-devel BuildRequires: libstdc++6-devel BuildRequires: qt6-qtbase-devel ## AUTOBUILDREQ-END BuildRequires: cmake BuildRequires: kf6-rpm-macros BuildRequires: extra-cmake-modules Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %description Classes to read and interact with KColorScheme. %package -n lib%{name} Group: System/Libraries Summary: Shared libraries for %{name} %description -n lib%{name} This package contains shared libraries for %{name}. %package -n lib%{name}-devel Group: Development/Libraries Summary: Development files for %{name} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %description -n lib%{name}-devel This package contains libraries and header files for developing applications that use %{name}. %debug_package %prep %setup -q -n %{framework}-%{version} %build %cmake_kf6 %cmake_build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %cmake_install %find_lang %{name} --with-qt --with-man --with-html --all-name || touch %{name}.lang %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -n lib%{name} -p /sbin/ldconfig %postun -n lib%{name} -p /sbin/ldconfig %files -n lib%{name} -f %{name}.lang %defattr(-,root,root) %{_libdir}/libKF6ColorScheme.so.* %{_datadir}/qlogging-categories6/kcolorscheme.categories %doc LICENSES %files -n lib%{name}-devel %defattr(-,root,root) %dir %{_kf6_includedir}/KColorScheme %{_kf6_includedir}/KColorScheme/* %{_libdir}/libKF6ColorScheme.so %dir %{_libdir}/cmake/KF6ColorScheme %{_libdir}/cmake/KF6ColorScheme/KF6ColorScheme*.cmake %{_qt6_docdir}/KF6ColorScheme.* %changelog * Sat Jun 08 2024 Automatic Build System 6.3.0-1mamba - automatic version update by autodist * Sun May 12 2024 Automatic Build System 6.2.0-1mamba - automatic version update by autodist * Sat Apr 13 2024 Automatic Build System 6.1.0-1mamba - automatic version update by autodist * Thu Feb 29 2024 Automatic Build System 6.0.0-1mamba - automatic version update by autodist * Wed Feb 07 2024 Automatic Build System 5.249.0-1mamba - automatic version update by autodist * Sat Jan 13 2024 Silvan Calarco 5.248.0-1mamba - package created using the webbuild interface