diff --git a/kdiagram.spec b/kdiagram.spec index 56c1285..1ee5ffd 100644 --- a/kdiagram.spec +++ b/kdiagram.spec @@ -1,28 +1,28 @@ %define majver %(echo %version | cut -d. -f1-2) Name: kdiagram -Version: 2.8.0 +Version: 3.0.1 Release: 1mamba Summary: KDE Frameworks 5 diagram libraries Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: http://www.kde.org +URL: https://kde.org/ Source: https://download.kde.org/stable/kdiagram/%{version}/kdiagram-%{version}.tar.xz -# Source: http://download.kde.org/stable/frameworks/%{majver}/...-%{version}.tar.xz License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libgcc -BuildRequires: libqt5-devel +BuildRequires: libglvnd-devel BuildRequires: libstdc++6-devel +BuildRequires: qt6-qtbase-devel +BuildRequires: qt6-qtsvg-devel ## AUTOBUILDREQ-END BuildRequires: cmake BuildRequires: rpm-macros-kde5 BuildRequires: extra-cmake-modules Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description KDE Frameworks 5 diagram libraries. @@ -49,14 +49,15 @@ This package contains libraries and header files for developing applications tha %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 --all-name || touch %{name}5_qt.lang +%find_lang %{name} --with-qt --all-name || touch %{name}.lang %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -69,28 +70,32 @@ exit 0 /sbin/ldconfig exit 0 -%files -n lib%{name} -f %{name}5_qt.lang +%files -n lib%{name} -f %{name}.lang %defattr(-,root,root) -%{_libdir}/libKChart.so.* -%{_libdir}/libKGantt.so.* +%{_libdir}/libKChart6.so.* +%{_libdir}/libKGantt6.so.* %files -n lib%{name}-devel %defattr(-,root,root) -%dir %{_includedir}/KChart -%{_includedir}/KChart/* -%dir %{_includedir}/KGantt -%{_includedir}/KGantt/* -%{_includedir}/*.h -%dir %{_libdir}/cmake/KChart -%{_libdir}/cmake/KChart/*.cmake -%dir %{_libdir}/cmake/KGantt -%{_libdir}/cmake/KGantt/*.cmake -%{_libdir}/libKChart.so -%{_libdir}/libKGantt.so -%{_kde5_mkspecsdir}/qt_KChart.pri -%{_kde5_mkspecsdir}/qt_KGantt.pri +%dir %{_includedir}/KChart6 +%{_includedir}/KChart6/* +%dir %{_includedir}/KGantt6 +%{_includedir}/KGantt6/* +%dir %{_libdir}/cmake/KChart6 +%{_libdir}/cmake/KChart6/*.cmake +%dir %{_libdir}/cmake/KGantt6 +%{_libdir}/cmake/KGantt6/*.cmake +%{_libdir}/libKChart6.so +%{_libdir}/libKGantt6.so +%{_qt6_archdatadir}/mkspecs/modules/qt_KChart6.pri +%{_qt6_archdatadir}/mkspecs/modules/qt_KGantt6.pri +%{_qt6_docdir}/KChart6.* +%{_qt6_docdir}/KGantt6.* %changelog +* Sat Jan 27 2024 Automatic Build System 3.0.1-1mamba +- automatic version update by autodist + * Fri Jan 15 2021 Automatic Build System 2.8.0-1mamba - automatic version update by autodist