diff --git a/cervisia.spec b/cervisia.spec index 56e6e4c..1e17d75 100644 --- a/cervisia.spec +++ b/cervisia.spec @@ -1,5 +1,5 @@ Name: cervisia -Version: 23.08.5 +Version: 24.02.1 Release: 1mamba Summary: KDE CVS Frontend Group: Graphical Desktop/Applications/Development @@ -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/cervisia-%{version}.tar.xz +Source: https://download.kde.org/%{stable_kde6}/release-service/%{version}/src/cervisia-%{version}.tar.xz License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -42,7 +42,7 @@ BuildRequires: automoc4 BuildRequires: cmake Requires: cvs Provides: cervisia4 -Obsoletes: cervisia4 +Obsoletes: cervisia4 < 24.02.0 %description KDE CVS Frontend. @@ -53,14 +53,16 @@ KDE CVS Frontend. %setup -q %build -%cmake_kde5 -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 --all-name || touch %{name}5_qt.lang +%find_lang %{name} --with-qt --with-html --all-name || touch %{name}.lang %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -71,59 +73,49 @@ exit 0 %posttrans update-desktop-database -q >/dev/null 2>&1 -update-mime-database -n %{_kde5_mimedir} >/dev/null 2>&1 -gtk-update-icon-cache %{_kde5_icondir}/hicolor >/dev/null 2>&1 +update-mime-database -n %{_kf6_mimedir} >/dev/null 2>&1 +gtk-update-icon-cache %{_kf6_icondir}/hicolor >/dev/null 2>&1 exit 0 %postun if [ $1 -eq 0 ]; then update-desktop-database -q >/dev/null 2>&1 - update-mime-database -n %{_kde5_mimedir} >/dev/null 2>&1 - touch --no-create %{_kde5_icondir}/hicolor >/dev/null 2>&1 - gtk-update-icon-cache %{_kde5_icondir}/hicolor >/dev/null 2>&1 + update-mime-database -n %{_kf6_mimedir} >/dev/null 2>&1 + touch --no-create %{_kf6_icondir}/hicolor >/dev/null 2>&1 + gtk-update-icon-cache %{_kf6_icondir}/hicolor >/dev/null 2>&1 fi exit 0 -%files -f %{name}5_qt.lang +%files -f %{name}.lang %defattr(-,root,root) -%{_kde5_bindir}/cervisia -%{_kde5_bindir}/cvsaskpass -%{_kde5_bindir}/cvsservice5 -%{_libdir}/qt5/plugins/cervisiapart5.so -%{_kde5_libdir}/libkdeinit5_cervisia.so -%{_kde5_libdir}/libkdeinit5_cvsaskpass.so -%{_kde5_libdir}/libkdeinit5_cvsservice.so +%{_kf6_bindir}/cervisia +%{_kf6_bindir}/cvsaskpass +%{_kf6_bindir}/cvsservice5 +%{_libdir}/qt6/plugins/cervisiapart5.so +%{_kf6_libdir}/libkdeinit5_cervisia.so +%{_kf6_libdir}/libkdeinit5_cvsaskpass.so +%{_kf6_libdir}/libkdeinit5_cvsservice.so %{_datadir}/metainfo/org.kde.cervisia.appdata.xml %{_datadir}/applications/org.kde.cervisia.desktop -%{_kde5_kcfgdir}/cervisiapart.kcfg -%dir %{_kde5_icondir}/hicolor -%{_kde5_icondir}/hicolor/* +%{_kf6_kcfgdir}/cervisiapart.kcfg +%dir %{_kf6_icondir}/hicolor +%{_kf6_icondir}/hicolor/* %{_datadir}/knotifications5/cervisia.notifyrc +%{_datadir}/kxmlgui5/cervisia/cervisiashellui.rc +%{_datadir}/kxmlgui5/cervisiapart/cervisiaui.rc %{_datadir}/kservices5/org.kde.*.desktop -%dir %{_datadir}/kxmlgui5/cervisia -%{_datadir}/kxmlgui5/cervisia/* -%dir %{_datadir}/kxmlgui5/cervisiapart -%{_datadir}/kxmlgui5/cervisiapart/* %{_datadir}/dbus-1/interfaces/org.kde.cervisia5.*.xml %{_mandir}/man1/cervisia.1* %{_mandir}/*/man1/cervisia.1* -%doc %lang(en) %{_kde5_htmldir}/en/cervisia/* -%doc %lang(ca) %{_kde5_htmldir}/ca/cervisia/* -%doc %lang(de) %{_kde5_htmldir}/de/cervisia/* -%doc %lang(es) %{_kde5_htmldir}/es/cervisia/* -%doc %lang(et) %{_kde5_htmldir}/et/cervisia/* -%doc %lang(fr) %{_kde5_htmldir}/fr/cervisia/* -%doc %lang(gl) %{_kde5_htmldir}/gl/cervisia/* -%doc %lang(it) %{_kde5_htmldir}/it/cervisia/* -%doc %lang(nl) %{_kde5_htmldir}/nl/cervisia/* -%doc %lang(pt) %{_kde5_htmldir}/pt/cervisia/* -%doc %lang(pt_BR) %{_kde5_htmldir}/pt_BR/cervisia/* -%doc %lang(ru) %{_kde5_htmldir}/ru/cervisia/* -%doc %lang(sv) %{_kde5_htmldir}/sv/cervisia/* -%doc %lang(uk) %{_kde5_htmldir}/uk/cervisia/* %doc COPYING COPYING.DOC COPYING.LIB %changelog +* Mon Mar 25 2024 Automatic Build System 24.02.1-1mamba +- automatic version update by autodist + +* 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