diff --git a/kolourpaint.spec b/kolourpaint.spec index 6a57c09..6411df6 100644 --- a/kolourpaint.spec +++ b/kolourpaint.spec @@ -1,13 +1,13 @@ Name: kolourpaint -Version: 23.08.5 +Version: 24.02.1 Release: 1mamba Summary: A simple pixel oriented image drawing program Group: Graphical Desktop/Applications/Graphics Vendor: openmamba Distribution: openmamba -Packager: Davide Madrisan +Packager: Silvan Calarco URL: https://kde.org/ -Source: http://download.kde.org/stable/release-service/%{version}/src/kolourpaint-%{version}.tar.xz +Source: https://download.kde.org/%{stable_kde6}/release-service/%{version}/src/kolourpaint-%{version}.tar.xz License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -25,7 +25,7 @@ BuildRequires: libki18n-devel BuildRequires: libkio-devel BuildRequires: libkitemviews-devel BuildRequires: libkjobwidgets-devel -BuildRequires: libksane-devel +BuildRequires: libksane5-devel BuildRequires: libkservice-devel BuildRequires: libktextwidgets-devel BuildRequires: libkwidgetsaddons-devel @@ -37,11 +37,12 @@ BuildRequires: libstdc++6-devel BuildRequires: qt5-qtbase-devel ## AUTOBUILDREQ-END BuildRequires: cmake +BuildRequires: libksane5-devel >= 24.02.0-2mamba Provides: libkolourpaint = %{?epoch:%epoch:}%{version}-%{release} -Obsoletes: libkolourpaint -Obsoletes: libkolourpaint-devel +Obsoletes: libkolourpaint < 24.02.0 +Obsoletes: libkolourpaint-devel < 24.02.0 Provides: kolourpaint4 -Obsoletes: kolourpaint4 +Obsoletes: kolourpaint4 < 24.02.0 %description Kolourpaint is a simple pixel oriented image drawing program. @@ -52,71 +53,64 @@ Kolourpaint is a simple pixel oriented image drawing program. %setup -q %build -%cmake_kde5 -d build -%make +%cmake_kf6 +%cmake_build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%makeinstall -C build +%cmake_install -rm -f %{buildroot}%{_kde5_libdir}/libkolourpaint_lgpl.so +rm -f %{buildroot}%{_kf6_libdir}/libkolourpaint_lgpl.so -%find_lang %{name}5_qt --with-qt --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 -update-mime-database -n %{_kde5_mimedir} &>/dev/null -gtk-update-icon-cache %{_kde5_icondir}/hicolor &>/dev/null +update-mime-database -n %{_kf6_mimedir} &>/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 - update-mime-database -n %{_kde5_mimedir} &>/dev/null - touch --no-create %{_kde5_icondir}/hicolor &>/dev/null - gtk-update-icon-cache %{_kde5_icondir}/hicolor &>/dev/null + update-mime-database -n %{_kf6_mimedir} &>/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) -%{_kde5_bindir}/kolourpaint -%{_kde5_datadir}/kolourpaint -%doc %lang(en) %{_kde5_htmldir}/en/kolourpaint -%{_kde5_icondir}/hicolor/*/apps/kolourpaint.png -%{_kde5_icondir}/hicolor/scalable/apps/kolourpaint.svgz -%{_kde5_libdir}/libkolourpaint_lgpl.so.* -%{_datadir}/kxmlgui5/kolourpaint/kolourpaintui.rc +%{_kf6_bindir}/kolourpaint +%{_kf6_datadir}/kolourpaint +%{_kf6_icondir}/hicolor/*/apps/kolourpaint.png +%{_kf6_icondir}/hicolor/scalable/apps/kolourpaint.svgz +%{_kf6_libdir}/libkolourpaint_lgpl.so.* %{_datadir}/metainfo/org.kde.kolourpaint.appdata.xml -%{_kde5_xdgappsdir}/org.kde.kolourpaint.desktop -%lang(ca) %{_datadir}/doc/HTML/ca/kolourpaint -%lang(de) %{_datadir}/doc/HTML/de/kolourpaint -%lang(es) %{_datadir}/doc/HTML/es/kolourpaint -%lang(et) %{_datadir}/doc/HTML/et/kolourpaint -%lang(fr) %{_datadir}/doc/HTML/fr/kolourpaint -%lang(gl) %{_datadir}/doc/HTML/gl/kolourpaint -%lang(it) %{_datadir}/doc/HTML/it/kolourpaint -%lang(nl) %{_datadir}/doc/HTML/nl/kolourpaint -%lang(pl) %{_datadir}/doc/HTML/pl/kolourpaint -%lang(pt_BR) %{_datadir}/doc/HTML/pt_BR/kolourpaint -%lang(pt) %{_datadir}/doc/HTML/pt/kolourpaint -%lang(ru) %{_datadir}/doc/HTML/ru/kolourpaint -%lang(sv) %{_datadir}/doc/HTML/sv/kolourpaint -%lang(uk) %{_datadir}/doc/HTML/uk/kolourpaint +%{_datadir}/applications/org.kde.kolourpaint.desktop %doc AUTHORS COPYING COPYING.DOC COPYING.LIB #BUGS ChangeLog NEWS README %changelog +* Fri Mar 22 2024 Automatic Build System 24.02.1-1mamba +- automatic version update by autodist + +* Fri Mar 15 2024 Silvan Calarco 24.02.0-2mamba +- rebuilt with libksane5 24.02.0-2mamba + +* Fri Mar 01 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