diff --git a/kig.spec b/kig.spec index d8ce47b..b569983 100644 --- a/kig.spec +++ b/kig.spec @@ -1,5 +1,5 @@ Name: kig -Version: 23.08.5 +Version: 24.02.1 Release: 1mamba Summary: Interactive Geometry Group: Graphical Desktop/Applications/Educational @@ -7,7 +7,7 @@ Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://kde.org/ -Source: http://download.kde.org/stable/release-service/%{version}/src/kig-%{version}.tar.xz +Source: https://download.kde.org/%{stable_kde6}/release-service/%{version}/src/kig-%{version}.tar.xz License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -59,14 +59,16 @@ Features: %setup -q %build -%cmake -d build -%make +%cmake_kf6 \ + -DBUILD_WITH_QT6=OFF + +%cmake_build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%makeinstall -C build +%cmake_install -%find_lang %{name}5_qt --with-qt --with-man --with-html --all-name || touch %{name}5_qt.lang +%find_lang %{name} --with-qt --with-man --with-html --all-name || touch %{name}.lang %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -74,17 +76,17 @@ Features: %post ## remove the following line if no dynamic libraries are provided by this package /sbin/ldconfig -touch --no-create %{_kde5_icondir}/hicolor &>/dev/null -touch --no-create %{_kde5_icondir}/oxygen &>/dev/null +touch --no-create %{_kf6_icondir}/hicolor &>/dev/null +touch --no-create %{_kf6_icondir}/oxygen &>/dev/null exit 0 %posttrans ## remove the following line if no dynamic libraries are provided by this package /sbin/ldconfig update-desktop-database -q &>/dev/null -update-mime-database -n %{_kde5_mimedir} &>/dev/null -gtk-update-icon-cache %{_kde5_icondir}/hicolor &>/dev/null -gtk-update-icon-cache %{_kde5_icondir}/oxygen &>/dev/null +update-mime-database -n %{_kf6_mimedir} &>/dev/null +gtk-update-icon-cache %{_kf6_icondir}/hicolor &>/dev/null +gtk-update-icon-cache %{_kf6_icondir}/oxygen &>/dev/null exit 0 %postun @@ -92,29 +94,26 @@ exit 0 /sbin/ldconfig if [ $1 -eq 0 ]; then update-desktop-database -q &>/dev/null - update-mime-database -n %{_kde5_mimedir} &>/dev/null - touch --no-create %{_kde5_icondir}/hicolor &>/dev/null - touch --no-create %{_kde5_icondir}/oxygen &>/dev/null - gtk-update-icon-cache %{_kde5_icondir}/hicolor &>/dev/null - gtk-update-icon-cache %{_kde5_icondir}/oxygen &>/dev/null + update-mime-database -n %{_kf6_mimedir} &>/dev/null + touch --no-create %{_kf6_icondir}/hicolor &>/dev/null + touch --no-create %{_kf6_icondir}/oxygen &>/dev/null + gtk-update-icon-cache %{_kf6_icondir}/hicolor &>/dev/null + gtk-update-icon-cache %{_kf6_icondir}/oxygen &>/dev/null fi exit 0 -%files -f %{name}5_qt.lang +%files -f %{name}.lang %defattr(-,root,root) %{_bindir}/%{name} %{_bindir}/py%{name}.py -%{_libdir}/qt5/plugins/kf5/parts/kigpart.so +%{_qt6_plugindir}/kf5/parts/kigpart.so %{_datadir}/applications/org.kde.kig.desktop -%{_datadir}/metainfo/org.kde.kig.appdata.xml +%{_metainfodir}/org.kde.kig.metainfo.xml %dir %{_datadir}/kig %{_datadir}/kig/icons/hicolor/*/actions/*.png %{_datadir}/kig/icons/hicolor/scalable/actions/*.svgz %{_datadir}/kig/tips %{_datadir}/katepart5/syntax/python-kig.xml -#%{_datadir}/kservices5/kig_part.desktop -%{_datadir}/kxmlgui5/kig/kigpartui.rc -%{_datadir}/kxmlgui5/kig/kigui.rc %dir %{_datadir}/kig/builtin-macros %{_datadir}/kig/builtin-macros/*.kigt %{_datadir}/icons/hicolor/*/apps/%{name}.png @@ -125,6 +124,12 @@ exit 0 %doc AUTHORS LICENSES %changelog +* Mon Mar 25 2024 Automatic Build System 24.02.1-1mamba +- automatic version update by autodist + +* Mon Mar 04 2024 Automatic Build System 24.02.0-1mamba +- automatic version update by autodist + * Fri Feb 16 2024 Automatic Build System 23.08.5-1mamba - automatic version update by autodist