diff --git a/libktorrent.spec b/libktorrent.spec index 6877df3..a7a0bcd 100644 --- a/libktorrent.spec +++ b/libktorrent.spec @@ -1,6 +1,6 @@ %define dirver 5.%(echo %version | cut -d. -f 2-3) Name: libktorrent -Version: 23.08.5 +Version: 24.02.1 Release: 1mamba Summary: Library for KTorrent, a BitTorrent client for KDE Group: System/Libraries @@ -8,28 +8,27 @@ Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://apps.kde.org/ktorrent/ -Source: https://download.kde.org/stable/release-service/%{version}/src/libktorrent-%{version}.tar.xz +Source: https://download.kde.org/%{stable_kde6}/release-service/%{version}/src/libktorrent-%{version}.tar.xz License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: libX11-devel BuildRequires: libgcc BuildRequires: libgcrypt-devel +BuildRequires: libglvnd-devel BuildRequires: libgmp-devel -BuildRequires: libkarchive-devel -BuildRequires: libkcompletion-devel -BuildRequires: libkconfig-devel -BuildRequires: libkcoreaddons-devel -BuildRequires: libki18n-devel -BuildRequires: libkio-devel -BuildRequires: libkjobwidgets-devel -BuildRequires: libkservice-devel -BuildRequires: libkwidgetsaddons-devel -BuildRequires: libkwindowsystem-devel -BuildRequires: libqca-qt5-devel -BuildRequires: libsolid-devel +BuildRequires: libkf6-karchive-devel +BuildRequires: libkf6-kcompletion-devel +BuildRequires: libkf6-kconfig-devel +BuildRequires: libkf6-kcoreaddons-devel +BuildRequires: libkf6-ki18n-devel +BuildRequires: libkf6-kio-devel +BuildRequires: libkf6-kjobwidgets-devel +BuildRequires: libkf6-kservice-devel +BuildRequires: libkf6-kwidgetsaddons-devel +BuildRequires: libkf6-solid-devel BuildRequires: libstdc++6-devel -BuildRequires: qt5-qtbase-devel +BuildRequires: qt6-qt5compat-devel +BuildRequires: qt6-qtbase-devel ## AUTOBUILDREQ-END BuildRequires: cmake @@ -51,14 +50,14 @@ This package contains static libraries and header files need for development. %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 +%find_lang %{name} --all-name %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -66,20 +65,26 @@ This package contains static libraries and header files need for development. %post -p /sbin/ldconfig %postun -p /sbin/ldconfig -%files -f %{name}5.lang +%files -f %{name}.lang %defattr(-,root,root) -%{_kde5_libdir}/libKF5Torrent.so.* +%{_kf6_libdir}/libKTorrent6.so.* %doc LICENSES %files devel %defattr(-,root,root) -%dir %{_kde5_includedir}/libktorrent -%{_kde5_includedir}/libktorrent/* -%dir %{_kde5_libdir}/cmake/KF5Torrent -%{_kde5_libdir}/cmake/KF5Torrent/*.cmake -%{_kde5_libdir}/libKF5Torrent.so +%dir %{_kf6_includedir}/libktorrent +%{_kf6_includedir}/libktorrent/* +%{_kf6_libdir}/libKTorrent6.so +%dir %{_kf6_libdir}/cmake/KTorrent6 +%{_kf6_libdir}/cmake/KTorrent6/*.cmake %changelog +* Fri Mar 22 2024 Automatic Build System 24.02.1-1mamba +- automatic version update by autodist + +* Sat Mar 02 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