diff --git a/ktorrent.spec b/ktorrent.spec index c6c70df..712e723 100644 --- a/ktorrent.spec +++ b/ktorrent.spec @@ -3,7 +3,7 @@ %define libver 1.%(echo %version | cut -d. -f2-3) Name: ktorrent -Version: 23.08.4 +Version: 24.02.1 Release: 1mamba Summary: BitTorrent client for KDE Group: Graphical Desktop/Applications/Networking @@ -11,7 +11,7 @@ Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://kde.org -Source: https://download.kde.org/stable/release-service/%{version}/src/ktorrent-%{version}.tar.xz +Source: https://download.kde.org/%{stable_kde6}/release-service/%{version}/src/ktorrent-%{version}.tar.xz License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -79,13 +79,13 @@ KTorrent is a BitTorrent program for KDE. It's main features are : %setup -q %build -%cmake_kde5 -d build +%cmake_kf6 -%make +%cmake_build %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} -%makeinstall -C build +%cmake_install %find_lang ktorrent --with-html rm -f %{buildroot}%{_kde4_libdir}/libktcore.so @@ -94,40 +94,47 @@ rm -f %{buildroot}%{_kde4_libdir}/libktcore.so [ "%{buildroot}" != / ] && rm -rf %{buildroot} %posttrans -gtk-update-icon-cache %{_kde5_icondir}/hicolor &>/dev/null +gtk-update-icon-cache %{_kf6_icondir}/hicolor &>/dev/null update-desktop-database -q &>/dev/null exit 0 %postun if [ $1 -eq 0 ] ; then - 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 update-desktop-database -q &>/dev/null fi exit 0 %files -f ktorrent.lang %defattr(-,root,root) -%{_kde5_bindir}/ktorrent -%{_kde5_bindir}/ktmagnetdownloader -%{_kde5_bindir}/ktupnptest -%{_kde5_datadir}/ktorrent -%{_kde5_icondir}/hicolor/*/apps/ktorrent.png -%{_kde5_icondir}/hicolor/*/actions/*.png -%{_kde5_icondir}/hicolor/*/actions/*.svgz -%{_kde5_libdir}/libktcore.so.* -%{_kde5_htmldir}/en/* -%dir %{_libdir}/qt5/plugins/ktorrent_plugins -%{_libdir}/qt5/plugins/ktorrent_plugins/ktorrent*.so +%{_kf6_bindir}/ktorrent +%{_kf6_bindir}/ktmagnetdownloader +%{_kf6_bindir}/ktupnptest %{_datadir}/applications/org.kde.ktorrent.desktop -%{_datadir}/knotifications5/ktorrent.notifyrc -%dir %{_datadir}/kxmlgui5/ktorrent -%{_datadir}/kxmlgui5/ktorrent/ktorrent*.rc -%{_datadir}/kxmlgui5/ktorrent/kttorrentactivityui.rc +%{_datadir}/knotifications6/ktorrent.notifyrc %{_datadir}/metainfo/org.kde.ktorrent.appdata.xml +%dir %{_libdir}/qt6/plugins/ktorrent_plugins +%{_qt6_plugindir}/ktorrent_plugins/*.so +%ifnarch %{ix86} +%dir %{_kf6_datadir}/ktorrent +%{_kf6_datadir}/ktorrent/* +%endif +%dir %{_datadir}/kxmlgui5/ktorrent +%{_datadir}/kxmlgui5/ktorrent/*.rc +%{_kf6_icondir}/hicolor/*/apps/ktorrent.png +%{_kf6_icondir}/hicolor/*/actions/*.png +%{_kf6_icondir}/hicolor/*/actions/*.svgz +%{_kf6_libdir}/libktcore.so.* %doc LICENSES %changelog +* Sun Mar 24 2024 Automatic Build System 24.02.1-1mamba +- automatic version update by autodist + +* Sun Mar 03 2024 Automatic Build System 24.02.0-1mamba +- automatic version update by autodist + * Fri Dec 08 2023 Automatic Build System 23.08.4-1mamba - automatic version update by autodist