diff --git a/kopeninghours.spec b/kopeninghours.spec index 481bfee..ee53391 100644 --- a/kopeninghours.spec +++ b/kopeninghours.spec @@ -1,5 +1,5 @@ Name: kopeninghours -Version: 23.08.5 +Version: 24.02.1 Release: 1mamba Summary: A library for parsing and evaluating OSM opening hours expressions Group: System/Libraries @@ -13,13 +13,13 @@ License: LGPL BuildRequires: glibc-devel BuildRequires: libboost-devel BuildRequires: libgcc -BuildRequires: libkholidays-devel -BuildRequires: libki18n-devel +BuildRequires: libkf6-kholidays-devel +BuildRequires: libkf6-ki18n-devel BuildRequires: libpython3-devel BuildRequires: libpython311-devel BuildRequires: libstdc++6-devel -BuildRequires: qt5-qtbase-devel -BuildRequires: qt5-qtdeclarative-devel +BuildRequires: qt6-qtbase-devel +BuildRequires: qt6-qtdeclarative-devel ## AUTOBUILDREQ-END BuildRequires: python-boost-py3 BuildRequires: cmake @@ -49,15 +49,16 @@ This package contains libraries and header files for developing applications tha %setup -q %build -%cmake -d build \ +%cmake_kf6 \ + -DQT_MAJOR_VERSION=6 \ -DPYTHON_LIBRARY=%{_libdir}/libpython%{python3_version}.so \ -DPYTHON_INCLUDE_DIR=%{python3_inc} -%make +%cmake_build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%makeinstall -C build +%cmake_install %find_lang %{name} || touch %{name}.lang @@ -70,9 +71,9 @@ This package contains libraries and header files for developing applications tha %files -n lib%{name} -f %{name}.lang %defattr(-,root,root) %{_libdir}/libKOpeningHours.so.* -%dir %{_libdir}/qt5/qml/org/kde/kopeninghours -%{_libdir}/qt5/qml/org/kde/kopeninghours/* -%{_datadir}/qlogging-categories5/org_kde_kopeninghours.categories +%dir %{_kf6_qmldir}/org/kde/kopeninghours +%{_kf6_qmldir}/org/kde/kopeninghours/* +%{_datadir}/qlogging-categories6/org_kde_kopeninghours.categories %dir %{python3_sitelib}/PyKOpeningHours %{python3_sitelib}/PyKOpeningHours/* %doc LICENSES @@ -87,9 +88,19 @@ This package contains libraries and header files for developing applications tha %{_libdir}/libKOpeningHours.so %dir %{_libdir}/cmake/KOpeningHours %{_libdir}/cmake/KOpeningHours/KOpeningHours*.cmake +%{_qt6_docdir}/KOpeningHours.* %doc README.md README.md.license %changelog +* Fri Mar 22 2024 Automatic Build System 24.02.1-1mamba +- automatic version update by autodist + +* Mon Mar 11 2024 Silvan Calarco 24.02.0-2mamba +- rebuilt with qt6 + +* Mon Mar 04 2024 Automatic Build System 24.02.0-1mamba +- automatic version update by autodist + * Sat Feb 17 2024 Automatic Build System 23.08.5-1mamba - automatic version update by autodist