%global commit0 ddf8f3112c45690f2b641488d2dddb33c848940d %global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) %global bumpver 1 Name: kopeninghours Version: 24.11.80%{?bumpver:^%{bumpver}.git%{shortcommit0}} Release: 1%{?dist} Summary: Library for parsing and evaluating OSM opening hours expressions License: BSD-3-Clause AND CC0-1.0 AND LGPL-2.0-or-later URL: https://invent.kde.org/libraries/%{name} %apps_source BuildRequires: extra-cmake-modules BuildRequires: gcc-c++ BuildRequires: kf6-rpm-macros BuildRequires: cmake BuildRequires: cmake(KF6Holidays) BuildRequires: cmake(KF6I18n) BuildRequires: cmake(Qt6Core) BuildRequires: cmake(Qt6Qml) BuildRequires: flex BuildRequires: bison BuildRequires: python3-devel BuildRequires: boost-devel Requires: kf6-filesystem %description %{summary}. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} Requires: cmake(Qt6Core) %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %{!?bumpver:%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'} %autosetup -n %{sourcerootdir} -p1 %build %cmake_kf6 -DQT_MAJOR_VERSION=6 %cmake_build %install %cmake_install %find_lang %{name} %files -f %{name}.lang %license LICENSES/*.txt %doc README.md %{_kf6_datadir}/qlogging-categories6/org_kde_kopeninghours.categories %{_kf6_libdir}/libKOpeningHours.so.1 %{_kf6_libdir}/libKOpeningHours.so.24* %{_qt6_qmldir}/org/kde/kopeninghours/ %{python3_sitelib}/PyKOpeningHours/ %files devel %{_includedir}/kopeninghours_version.h %{_includedir}/kopeninghours/ %{_includedir}/KOpeningHours/ %{_kf6_libdir}/cmake/KOpeningHours/ %{_kf6_libdir}/libKOpeningHours.so %changelog %{?kde_snapshot_changelog_entry} * Fri Nov 15 2024 Pavel Solovev - 24.11.80-1 - Update to 24.11.80 * Tue Nov 05 2024 Pavel Solovev - 24.08.3-1 - Update to 24.08.3 * Mon Oct 07 2024 Pavel Solovev - 24.08.2-1 - Update to 24.08.2 * Tue Sep 10 2024 Pavel Solovev - 24.08.1-1 - Update to 24.08.1 * Fri Aug 16 2024 Pavel Solovev - 24.08.0-1 - Update to 24.08.0 * Fri Aug 09 2024 Pavel Solovev - 24.07.90-1 - Update to 24.07.90 * Thu Jul 25 2024 Pavel Solovev - 24.07.80-1 - Update to 24.07.80 * Thu Jul 04 2024 Pavel Solovev - 24.05.2-1 - Update to 24.05.2 * Thu Jun 13 2024 Pavel Solovev - 24.05.1-1 - Update to 24.05.1 * Thu May 23 2024 Pavel Solovev - 24.05.0-1 - Update to 24.05.0 * Fri Apr 26 2024 Pavel Solovev - 24.04.80-1 - Update to 24.04.80 * Thu Apr 11 2024 Pavel Solovev - 24.02.2-1 - Update to 24.02.2 * Thu Mar 21 2024 Pavel Solovev - 24.02.1-1 - Update to 24.02.1 * Wed Mar 20 2024 Pavel Solovev - 24.02.0-2 - qmlcache rebuild * Mon Dec 18 2023 Steve Cossette - 24.01.80-1 - 24.01.80 * Mon Oct 09 2023 Steve Cossette - 23.08.2-1 - Initial Release