diff --git a/analitza.spec b/analitza.spec index 9026fab..d3ee221 100644 --- a/analitza.spec +++ b/analitza.spec @@ -2,7 +2,7 @@ %global __debug_package 1 Name: analitza -Version: 23.08.5 +Version: 24.02.1 Release: 1mamba Summary: KDE library for mathematical features Group: Graphical Desktop/Applications/Scientific @@ -10,33 +10,28 @@ Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://kde.org/ -Source: http://download.kde.org/stable/release-service/%{version}/src/analitza-%{version}.tar.xz +Source: https://download.kde.org/%{stable_kde6}/release-service/%{version}/src/analitza-%{version}.tar.xz License: GPL BuildRequires: cmake ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: libQt5Svg-devel BuildRequires: libgcc +BuildRequires: libglvnd-devel BuildRequires: libstdc++6-devel -BuildRequires: qt5-qtbase-devel -BuildRequires: qt5-qtdeclarative-devel +BuildRequires: qt6-qt5compat-devel +BuildRequires: qt6-qtbase-devel +BuildRequires: qt6-qtdeclarative-devel +BuildRequires: qt6-qtsvg-devel ## AUTOBUILDREQ-END BuildRequires: extra-cmake-modules %description Algebraic calculator and libraries. -%package -n calgebra -Group: Graphical Desktop/Applications/Scientific -Summary: Algebraic calculator -Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} - -%description -n calgebra -Algebraic calculator. - %package -n lib%{name} Group: System/Libraries Summary: Shared libraries to work with mathematical expressions +Obsoletes: calgebra < 24.02.0 %description -n lib%{name} This package contains shared libraries for %{name}. @@ -55,19 +50,19 @@ This package contains libraries and header files for developing applications tha %setup -q %build -%cmake_kde5 -d build \ +%cmake_kf6\ \ %ifarch arm -DWITH_OpenGL:BOOL=false %endif -%make +%cmake_build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%makeinstall -C build +%cmake_install -%find_lang %{name}5_qt --with-qt --with-man --all-name || touch %{name}5_qt.lang +%find_lang %{name} --with-qt --with-man --all-name || touch %{name}.lang %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -78,38 +73,40 @@ This package contains libraries and header files for developing applications tha %postun /sbin/ldconfig || : -%files -n calgebra +%files -n lib%{name} -f %{name}.lang %defattr(-,root,root) -#%{_kde4_bindir}/calgebra - -%files -n lib%{name} -f %{name}5_qt.lang -%defattr(-,root,root) -%{_kde5_libdir}/libAnalitza.so.* -%{_kde5_libdir}/libAnalitzaGui.so.* -%{_kde5_libdir}/libAnalitzaPlot.so.* -%{_kde5_libdir}/libAnalitzaWidgets.so.* -%dir %{_kde5_libdir}/qt5/qml/org/kde/analitza -%{_kde5_libdir}/qt5/qml/org/kde/analitza/* -%dir %{_kde5_sharedir}/libanalitza/plots -%{_kde5_sharedir}/libanalitza/plots/*.plots +%{_kf6_libdir}/libAnalitza.so.* +%{_kf6_libdir}/libAnalitzaGui.so.* +%{_kf6_libdir}/libAnalitzaPlot.so.* +%{_kf6_libdir}/libAnalitzaWidgets.so.* +%dir %{_qt6_qmldir}/org/kde/analitza +%{_qt6_qmldir}/org/kde/analitza/* +%dir %{_datadir}/libanalitza/plots +%{_datadir}/libanalitza/plots/*.plots %doc COPYING COPYING.DOC COPYING.LIB %files -n lib%{name}-devel %defattr(-,root,root) -%dir %{_includedir}/Analitza5/analitza -%{_includedir}/Analitza5/analitza_version.h -%{_includedir}/Analitza5/analitza/*.h -%dir %{_includedir}/Analitza5/analitzagui -%{_includedir}/Analitza5/analitzagui/*.h -%dir %{_includedir}/Analitza5/analitzaplot -%{_includedir}/Analitza5/analitzaplot/*.h -%{_kde5_libdir}/libAnalitza.so -%{_kde5_libdir}/libAnalitzaGui.so -%{_kde5_libdir}/libAnalitzaPlot.so -%{_kde5_libdir}/libAnalitzaWidgets.so -%{_kde5_libdir}/cmake/Analitza5/Analitza5*.cmake +%dir %{_includedir}/Analitza6/analitza +%{_includedir}/Analitza6/analitza_version.h +%{_includedir}/Analitza6/analitza/*.h +%dir %{_includedir}/Analitza6/analitzagui +%{_includedir}/Analitza6/analitzagui/*.h +%dir %{_includedir}/Analitza6/analitzaplot +%{_includedir}/Analitza6/analitzaplot/*.h +%{_kf6_libdir}/libAnalitza.so +%{_kf6_libdir}/libAnalitzaGui.so +%{_kf6_libdir}/libAnalitzaPlot.so +%{_kf6_libdir}/libAnalitzaWidgets.so +%{_kf6_libdir}/cmake/Analitza6/Analitza6*.cmake %changelog +* Thu Mar 21 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