diff --git a/gwenview.spec b/gwenview.spec index c49fd89..726b277 100644 --- a/gwenview.spec +++ b/gwenview.spec @@ -1,5 +1,5 @@ Name: gwenview -Version: 23.08.5 +Version: 24.02.1 Release: 1mamba Summary: A fast and easy to use image viewer application Group: Graphical Desktop/Applications/Graphics @@ -7,56 +7,52 @@ Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://apps.kde.org/gwenview/ -Source: http://download.kde.org/stable/release-service/%{version}/src/gwenview-%{version}.tar.xz +Source: https://download.kde.org/%{stable_kde6}/release-service/%{version}/src/gwenview-%{version}.tar.xz License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: libQt5Svg-devel -BuildRequires: libQt5X11Extras-devel BuildRequires: libX11-devel -BuildRequires: libbaloo-devel BuildRequires: libcfitsio-devel BuildRequires: libexiv2-devel BuildRequires: libgcc +BuildRequires: libglvnd-devel BuildRequires: libjpeg-devel -BuildRequires: libkactivities-devel -BuildRequires: libkauth-devel -BuildRequires: libkbookmarks-devel -BuildRequires: libkcodecs-devel -BuildRequires: libkcompletion-devel -BuildRequires: libkconfig-devel -BuildRequires: libkconfigwidgets-devel -BuildRequires: libkcoreaddons-devel -BuildRequires: libkdcraw-devel -BuildRequires: libkfilemetadata-devel -BuildRequires: libkguiaddons-devel -BuildRequires: libki18n-devel -BuildRequires: libkiconthemes-devel -BuildRequires: libkimageannotator-devel -BuildRequires: libkio-devel -BuildRequires: libkitemmodels-devel -BuildRequires: libkitemviews-devel -BuildRequires: libkjobwidgets-devel -BuildRequires: libknotifications-devel -BuildRequires: libkparts-devel -BuildRequires: libkservice-devel -BuildRequires: libktextwidgets-devel -BuildRequires: libkwidgetsaddons-devel -BuildRequires: libkwindowsystem-devel -BuildRequires: libkxmlgui-devel +BuildRequires: libkf6-baloo-devel +BuildRequires: libkf6-kbookmarks-devel +BuildRequires: libkf6-kcolorscheme-devel +BuildRequires: libkf6-kcompletion-devel +BuildRequires: libkf6-kconfig-devel +BuildRequires: libkf6-kconfigwidgets-devel +BuildRequires: libkf6-kcoreaddons-devel +BuildRequires: libkf6-kfilemetadata-devel +BuildRequires: libkf6-kguiaddons-devel +BuildRequires: libkf6-ki18n-devel +BuildRequires: libkf6-kiconthemes-devel +BuildRequires: libkf6-kio-devel +BuildRequires: libkf6-kitemmodels-devel +BuildRequires: libkf6-kitemviews-devel +BuildRequires: libkf6-kjobwidgets-devel +BuildRequires: libkf6-knotifications-devel +BuildRequires: libkf6-kparts-devel +BuildRequires: libkf6-kservice-devel +BuildRequires: libkf6-kwidgetsaddons-devel +BuildRequires: libkf6-kwindowsystem-devel +BuildRequires: libkf6-kxmlgui-devel +BuildRequires: libkf6-purpose-devel +BuildRequires: libkf6-solid-devel +BuildRequires: libkimageannotator-qt6-devel BuildRequires: liblcms2-devel -BuildRequires: libphonon-devel +BuildRequires: libphonon-qt6-devel +BuildRequires: libplasma-activities-devel BuildRequires: libpng-devel -BuildRequires: libpurpose-devel -BuildRequires: libsolid-devel -BuildRequires: libsonnet-devel BuildRequires: libstdc++6-devel BuildRequires: libtiff-devel BuildRequires: libwayland-devel +BuildRequires: libxkbcommon-devel BuildRequires: libz-devel -BuildRequires: perl-devel -BuildRequires: qt5-qtbase-devel -BuildRequires: qt5-qtwayland-devel +BuildRequires: qt6-qtbase-devel +BuildRequires: qt6-qtsvg-devel +BuildRequires: qt6-qtwayland-devel ## AUTOBUILDREQ-END BuildRequires: libkimageannotator-devel >= 0.7.0-1mamba BuildRequires: libkipi5-devel >= 16.12.0-1mamba @@ -74,49 +70,48 @@ Gwenview is a fast and easy to use image viewer for KDE. %setup -q %build -%cmake_kde5 -d build -%make +%cmake_kf6 +%cmake_build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%makeinstall -C build +%cmake_install -%find_lang %{name}5_qt --with-qt --with-html --all-name || touch %{name}5_qt.lang +%find_lang %{name} --with-qt --with-html --all-name || touch %{name}.lang %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post /sbin/ldconfig -touch --no-create %{_kde5_icondir}/hicolor &>/dev/null +touch --no-create %{_kf6_icondir}/hicolor &>/dev/null exit 0 %posttrans /sbin/ldconfig update-desktop-database -q &>/dev/null -gtk-update-icon-cache %{_kde5_icondir}/hicolor &>/dev/null +gtk-update-icon-cache %{_kf6_icondir}/hicolor &>/dev/null exit 0 %postun /sbin/ldconfig if [ $1 -eq 0 ]; then update-desktop-database -q &>/dev/null - touch --no-create %{_kde5_icondir}/hicolor &>/dev/null - gtk-update-icon-cache %{_kde5_icondir}/hicolor &>/dev/null + touch --no-create %{_kf6_icondir}/hicolor &>/dev/null + gtk-update-icon-cache %{_kf6_icondir}/hicolor &>/dev/null fi exit 0 -%files -f %{name}5_qt.lang +%files -f %{name}.lang %defattr(-,root,root) %{_bindir}/gwenview %{_bindir}/gwenview_importer %{_libdir}/libgwenviewlib.so.* -%{_libdir}/qt5/plugins/kf5/parts/gvpart.so -%{_libdir}/qt5/plugins/kf5/kfileitemaction/slideshowfileitemaction.so -%{_datadir}/qlogging-categories5/gwenview.categories +%{_libdir}/qt6/plugins/kf6/parts/gvpart.so +%{_libdir}/qt6/plugins/kf6/kfileitemaction/slideshowfileitemaction.so +%{_datadir}/qlogging-categories6/gwenview.categories %{_datadir}/metainfo/org.kde.gwenview.appdata.xml %{_datadir}/applications/org.kde.gwenview*.desktop -%{_datadir}/kconf_update/* %dir %{_datadir}/gwenview %dir %{_datadir}/gwenview/color-schemes %{_datadir}/gwenview/color-schemes/fullscreen.colors @@ -124,16 +119,19 @@ exit 0 %{_datadir}/gwenview/cursors/zoom.png %dir %{_datadir}/gwenview/images %{_datadir}/gwenview/images/background.png -%{_datadir}/icons/hicolor/*/actions/document-share.png -%{_datadir}/icons/hicolor/*/apps/gwenview.png -#%{_datadir}/kservices5/ServiceMenus/slideshow.desktop -%{_datadir}/kservices5/gvpart.desktop -#%{_datadir}/kxmlgui5/gvpart/gvpart.rc %{_datadir}/solid/actions/gwenview_importer.desktop %{_datadir}/solid/actions/gwenview_importer_camera.desktop +%{_datadir}/icons/hicolor/*/actions/document-share.png +%{_datadir}/icons/hicolor/*/apps/gwenview.png %doc COPYING COPYING.DOC %changelog +* Thu Mar 21 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