diff --git a/kpublictransport.spec b/kpublictransport.spec index 75aaf83..dd620d0 100644 --- a/kpublictransport.spec +++ b/kpublictransport.spec @@ -1,7 +1,7 @@ %define majver %(echo %version | cut -d. -f1-2) Name: kpublictransport -Version: 23.08.5 +Version: 24.02.1 Release: 1mamba Summary: A library for accessing realtime public transport data and for performing public transport journey queries Group: System/Libraries @@ -9,22 +9,23 @@ Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://kde.org/ -Source: https://download.kde.org/stable/release-service/%{version}/src/kpublictransport-%{version}.tar.xz +Source: https://download.kde.org/%{stable_kde6}/release-service/%{version}/src/kpublictransport-%{version}.tar.xz License: LGPL, BSD ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libgcc BuildRequires: libglib-devel -BuildRequires: libki18n-devel -BuildRequires: libnetworkmanager-qt5-devel +BuildRequires: libglvnd-devel +BuildRequires: libkf6-ki18n-devel +BuildRequires: libkf6-networkmanager-qt-devel BuildRequires: libnm-devel BuildRequires: libstdc++6-devel BuildRequires: libz-devel -BuildRequires: qt5-qtbase-devel -BuildRequires: qt5-qtdeclarative-devel +BuildRequires: qt6-qtbase-devel +BuildRequires: qt6-qtdeclarative-devel ## AUTOBUILDREQ-END BuildRequires: cmake -BuildRequires: rpm-macros-kde5 +BuildRequires: kf6-rpm-macros BuildRequires: extra-cmake-modules Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} @@ -53,12 +54,12 @@ 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 %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -70,9 +71,9 @@ This package contains libraries and header files for developing applications tha %defattr(-,root,root) %{_libdir}/libKPublicTransport.so.* %{_libdir}/libKPublicTransportOnboard.so.* -%dir %{_libdir}/qt5/qml/org/kde/kpublictransport -%{_libdir}/qt5/qml/org/kde/kpublictransport/* -%{_datadir}/qlogging-categories5/org_kde_kpublictransport*.categories +%dir %{_kf6_qmldir}/org/kde/kpublictransport +%{_kf6_qmldir}/org/kde/kpublictransport/* +%{_datadir}/qlogging-categories6/org_kde_kpublictransport*.categories %doc LICENSES/* %files -n lib%{name}-devel @@ -83,8 +84,15 @@ This package contains libraries and header files for developing applications tha %{_libdir}/libKPublicTransportOnboard.so %dir %{_libdir}/cmake/KPublicTransport %{_libdir}/cmake/KPublicTransport/KPublicTransport*.cmake +%{_qt6_docdir}/KPublicTransport.* %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