commit 1e5583ea91e7560ced9cb48f12692a220e3c5205f24cf9dd22e434e2c7d0f6f9 Author: Christophe Marin Date: Thu Jul 4 20:42:41 2024 +0000 KDE Release Gear 24.05.2 OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kopeninghours?expand=0&rev=92 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/applications.keyring b/applications.keyring new file mode 100644 index 0000000..2998088 Binary files /dev/null and b/applications.keyring differ diff --git a/kopeninghours-24.05.2.tar.xz b/kopeninghours-24.05.2.tar.xz new file mode 100644 index 0000000..16c6e0e --- /dev/null +++ b/kopeninghours-24.05.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:648ecd8b22b4f0909674ce3a991f73167e6648b8ae35e689f816d1b0f583518c +size 74584 diff --git a/kopeninghours-24.05.2.tar.xz.sig b/kopeninghours-24.05.2.tar.xz.sig new file mode 100644 index 0000000..c8ec265 --- /dev/null +++ b/kopeninghours-24.05.2.tar.xz.sig @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEE2BwMs463Je9mkcOFu0YzUNbvMe8FAmaDnMQACgkQu0YzUNbv +Me8+YQ//YjaABc4M6xu51ibAXdYfwYKYLqIrInXRmcfbR+lRlOIUWpND8knI5hF9 +86eSNo/f/Lbpwo7XiZNT1U+vMwkkCJLrzVMog0z1CT/RE8s98nBugIsi+h+xTbdb +nYUgAs+ECc2liPBAYzvIFCmlFsRrlsPNnevcQ24xjx4ggxxijx7YBG1lJm+d2nHc +elGIzMaqgQEMkScNr89yhFUA19PiRDVJfPr+ah7zQmVhMbCaHLtU926WUCWT6tMJ +v3IglujRTbiBTjJIS/+zAVTvX7BYPsfMwu7fC3T5KUVKh8WptYxnOFuJZTux+EM/ +MVLtB+qP3gJ5Z4p6cHuuQTMn8kw+KNAuNzB1enxSKeEPsmZvpv3zY812RW2DytjU +jT2Hgne+TmhTliXBij6I8nHzdOe0Fu3Va8XJ/de/KFBBiy/rfKDdV7KiL5Xf9eTO +oSixzaEB+nPYm5IbLcRkXTEesHevtcJfQ6xfv0iDYB2QyEohaQdpjgGHavWxeD3d +TgZzRs2alze4ZPAHFto/Twuy6g67a2z+o7YtgVp9wBopA4ANbvG8V5dE5TtNmCDK +tXoo8ip/8Nmtp/tJMJ7T7eXu1FZAzai1CSvGPF1CqTTydZ4X6O6t0n+w+xbFCNUg +Y+GbdWQTU2cJKi8CmK2WDIuyqhVHKQ6umIM7/MEiQq2crycDZ9M= +=p3t2 +-----END PGP SIGNATURE----- diff --git a/kopeninghours.changes b/kopeninghours.changes new file mode 100644 index 0000000..a6d1c03 --- /dev/null +++ b/kopeninghours.changes @@ -0,0 +1,506 @@ +------------------------------------------------------------------- +Tue Jul 2 13:54:43 UTC 2024 - Christophe Marin + +- Update to 24.05.2 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/24.05.2/ +- No code change since 24.05.1 + +------------------------------------------------------------------- +Wed Jun 12 07:33:57 UTC 2024 - Christophe Marin + +- Update to 24.05.1 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/24.05.1/ +- Changes since 24.05.0: + * Update python package version + +------------------------------------------------------------------- +Sun May 19 09:56:46 UTC 2024 - Christophe Marin + +- Update to 24.05.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/gear/24.05.0/ +- No code change since 24.04.80 + +------------------------------------------------------------------- +Fri May 3 09:16:31 UTC 2024 - Christophe Marin + +- Update to 24.04.80 + * New feature release +- Changes since 24.02.2: + * Adapt test data to KHolidays changes + * Include ECMQmlModule only when needed (kde#483400) + * Keep year if months differ with day (undefined behaviour) (kde#452236) + +------------------------------------------------------------------- +Tue Apr 9 18:08:54 UTC 2024 - Christophe Marin + +- Update to 24.02.2 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/24.02.2/ +- No code change since 24.02.1 + +------------------------------------------------------------------- +Tue Mar 19 15:27:03 UTC 2024 - Christophe Marin + +- Update to 24.02.1 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/24.02.1/ +- Changes since 24.02.0: + * Adapt test data to KHolidays changes + * Include ECMQmlModule only when needed (kde#483400) + +------------------------------------------------------------------- +Fri Feb 23 14:00:01 UTC 2024 - Christophe Marin + +- Update to 24.02.0 + * New feature release +- No code change since 24.01.95 + +------------------------------------------------------------------- +Fri Feb 9 16:09:08 UTC 2024 - Christophe Marin + +- Update to 24.01.95 + * https://kde.org/announcements/megarelease/6/rc2/ + +------------------------------------------------------------------- +Fri Dec 15 21:31:01 UTC 2023 - Christophe Marin + +- Require extra-cmake-modules at build time + +------------------------------------------------------------------- +Tue Dec 5 14:20:02 UTC 2023 - Christophe Marin + +- Update to 23.08.4 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/23.08.4/ +- No code change since 23.08.3 + +------------------------------------------------------------------- +Tue Nov 7 17:05:05 UTC 2023 - Christophe Marin + +- Update to 23.08.3 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/23.08.3/ +- No code change since 23.08.2 + +------------------------------------------------------------------- +Tue Oct 10 18:27:51 UTC 2023 - Christophe Marin + +- Update to 23.08.2 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/23.08.2/ +- No code change since 23.08.1 + +------------------------------------------------------------------- +Tue Sep 12 11:56:19 UTC 2023 - Christophe Marin + +- Update to 23.08.1 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/23.08.1/ +- No code change since 23.08.0 + +------------------------------------------------------------------- +Sun Aug 20 13:59:53 UTC 2023 - Christophe Marin + +- Update to 23.08.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/gear/23.08.0/ +- No code change since 23.07.90 + +------------------------------------------------------------------- +Mon Aug 14 08:03:10 UTC 2023 - Christophe Marin + +- Update to 23.07.90 + * New feature release +- No code change since 23.07.80 + +------------------------------------------------------------------- +Tue Aug 1 10:14:08 UTC 2023 - Christophe Marin + +- Update to 23.07.80 + * New feature release +- Changes since 23.04.3: + * Repeat year and month, when both are specified + * Explicitly set target interface include directories + * Provide valid closed intervals for always closed expressions + +------------------------------------------------------------------- +Tue Jul 4 10:20:07 UTC 2023 - Christophe Marin + +- Update to 23.04.3 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/23.04.3/ +- No code change since 23.04.2 + +------------------------------------------------------------------- +Tue Jun 6 20:01:24 UTC 2023 - Christophe Marin + +- Update to 23.04.2 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/23.04.2/ +- No code change since 23.04.1 + +------------------------------------------------------------------- +Tue May 9 10:47:21 UTC 2023 - Christophe Marin + +- Update to 23.04.1 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/23.04.1/ +- No code change since 23.04.0 + +------------------------------------------------------------------- +Sat Apr 15 08:46:09 UTC 2023 - Christophe Marin + +- Update to 23.04.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/gear/23.04.0/ + +------------------------------------------------------------------- +Fri Mar 31 16:42:18 UTC 2023 - Christophe Marin + +- Update to 23.03.90 + * New feature release + +------------------------------------------------------------------- +Fri Mar 17 20:43:55 UTC 2023 - Christophe Marin + +- Update to 23.03.80 + * New feature release + +------------------------------------------------------------------- +Tue Feb 28 09:46:23 UTC 2023 - Christophe Marin + +- Update to 22.12.3 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/22.12.3/ + +------------------------------------------------------------------- +Tue Jan 31 10:34:12 UTC 2023 - Christophe Marin + +- Update to 22.12.2 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/22.12.2/ + +------------------------------------------------------------------- +Tue Jan 3 10:20:35 UTC 2023 - Christophe Marin + +- Update to 22.12.1 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/22.12.1/ + +------------------------------------------------------------------- +Fri Dec 2 12:25:53 UTC 2022 - Christophe Marin + +- Update to 22.12.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/gear/22.12.0/ + +------------------------------------------------------------------- +Sat Nov 26 16:45:33 UTC 2022 - Christophe Giboudeaux + +- Update to 22.11.90 + * New feature release + +------------------------------------------------------------------- +Sat Nov 12 08:54:40 UTC 2022 - Christophe Giboudeaux + +- Update to 22.11.80 + * New feature release + +------------------------------------------------------------------- +Tue Nov 1 11:21:00 UTC 2022 - Christophe Giboudeaux + +- Update to 22.08.3 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/22.08.3/ + +------------------------------------------------------------------- +Tue Oct 11 14:33:07 UTC 2022 - Christophe Giboudeaux + +- Update to 22.08.2 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/22.08.2/ + +------------------------------------------------------------------- +Tue Sep 6 15:20:26 UTC 2022 - Christophe Giboudeaux + +- Update to 22.08.1 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/22.08.1/ + +------------------------------------------------------------------- +Sun Aug 14 09:43:07 UTC 2022 - Christophe Giboudeaux + +- Update to 22.08.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/gear/22.08.0/ + +------------------------------------------------------------------- +Fri Aug 5 12:11:13 UTC 2022 - Christophe Giboudeaux + +- Update to 22.07.90 + * New feature release + +------------------------------------------------------------------- +Sat Jul 16 08:28:27 UTC 2022 - Christophe Giboudeaux + +- Update to 22.07.80 + * New feature release + +------------------------------------------------------------------- +Tue Jul 5 17:03:37 UTC 2022 - Christophe Giboudeaux + +- Update to 22.04.3 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/22.04.3/ + +------------------------------------------------------------------- +Wed Jun 8 09:55:33 UTC 2022 - Christophe Giboudeaux + +- Update to 22.04.2 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/22.04.2/ + +------------------------------------------------------------------- +Tue May 10 16:30:26 UTC 2022 - Christophe Giboudeaux + +- Update to 22.04.1 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/22.04.1/ + +------------------------------------------------------------------- +Mon Apr 18 07:52:06 UTC 2022 - Christophe Giboudeaux + +- Update to 22.04.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/gear/22.04.0/ + +------------------------------------------------------------------- +Fri Apr 8 18:20:13 UTC 2022 - Christophe Giboudeaux + +- Update to 22.03.90 + * New feature release + +------------------------------------------------------------------- +Wed Mar 23 08:14:33 UTC 2022 - Christophe Giboudeaux + +- Update to 22.03.80 + * New feature release +- Changes since 21.12.3: + * PyKOpeningHours/CMakeLists.txt - include ${Boost_INCLUDE_DIR} + * Show headers in qtc6 + * Fix autocorrect for cases where the state differs (kde#445787) + +------------------------------------------------------------------- +Tue Mar 1 09:57:36 UTC 2022 - Christophe Giboudeaux + +- Update to 21.12.3 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/21.12.3/ +- No code change since 21.12.2 + +------------------------------------------------------------------- +Tue Feb 1 13:03:24 UTC 2022 - Christophe Giboudeaux + +- Update to 21.12.2 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/21.12.2/ +- No code change since 21.12.1 + +------------------------------------------------------------------- +Tue Jan 4 10:26:05 UTC 2022 - Christophe Giboudeaux + +- Update to 21.12.1 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/21.12.1/ +- Changes since 21.12.0: + * Turn nthMask into a vector of entries, to preserve intervals and ordering (kde#445963) + * Extended monthdays: remove ascending requirement + * Extend the extended syntax for month day sets + * Fix OpeningHours::simplifiedExpression not really being const + * Simplify "Feb 1-29" to "Feb" (kde#446252) + * Consider "through" as alternative range separator (kde#446136) + * Do not repeat months when unnecessary (kde#446224) + * Fix autocorrect for cases where the state differs (kde#445787) + * Add more Spanish state values (kde#446134) + * Support 4 digit times to the extend possible (kde#446137) + * Merge adjacent single weekday and time range selectors (kde#445784) + * Convert 24/7 rules to timespan selectors when used in a timespan context (kde#445962) + * Add Russian language support for states and sun-based events (kde#445785) + * Parse Russian long-form time ranges + * Add localized Russian month names + * Parse localized Russian day names + +------------------------------------------------------------------- +Fri Dec 3 19:22:25 UTC 2021 - Christophe Giboudeaux + +- Update to 21.12.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/gear/21.12.0/ +- No code change since 21.11.90 + +------------------------------------------------------------------- +Sat Nov 27 10:11:20 UTC 2021 - Christophe Giboudeaux + +- Update to 21.11.90 + * New feature release +- No code change since 21.11.80 + +------------------------------------------------------------------- +Sat Nov 13 17:55:48 UTC 2021 - Christophe Giboudeaux + +- Update to 21.11.80 + * New feature release +- Changes since 21.08.3: + * Don't turn 20:00-26:00 into 20:00-02:00 + * Add Android CI + * Add FreeBSD CI + * Add Gitlab CI configuration + * replace "MacOSX" with "macOS" + +------------------------------------------------------------------- +Tue Nov 2 21:34:20 UTC 2021 - Christophe Giboudeaux + +- Update to 21.08.3 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/21.08.3/ +- Changes since 21.08.2: + * Fix evaluating single time open end ranges + * Don't turn 20:00-26:00 into 20:00-02:00 + +------------------------------------------------------------------- +Tue Oct 5 16:28:36 UTC 2021 - Christophe Giboudeaux + +- Update to 21.08.2 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/21.08.2/ +- No code change since 21.08.1 + +------------------------------------------------------------------- +Wed Sep 1 12:38:51 UTC 2021 - Christophe Giboudeaux + +- Update to 21.08.1 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/21.08.1 +- No code change since 21.08.0 + +------------------------------------------------------------------- +Fri Aug 6 09:40:09 UTC 2021 - Christophe Giboudeaux + +- Update to 21.08.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/gear/21.08.0 +- No code change since 21.07.90 + +------------------------------------------------------------------- +Fri Jul 30 10:05:21 UTC 2021 - Christophe Giboudeaux + +- Update to 21.07.90 + * New feature release +- No code change since 21.07.80 + +------------------------------------------------------------------- +Sat Jul 17 20:06:29 UTC 2021 - Christophe Giboudeaux + +- Update to 21.07.80 + * New feature release +- Changes since 21.04.3: + * Migrate to new REUSE CI check + * Fix invalid simplification on wrapped weekday selectors + * Work around qmlplugindump choking on gadget singletons + * Fix crash in simplifiedExpression for a null expression + * Simplify weekday lists: Mo,Tu,We => Mo-We + * Add support for a dot after short weekday names (Mo. Tu. We. etc.) + * Add support for "whitsun +1 day", should be "easter +50 days" + * Add support for non-standard "whitsun" = easter +49 days + * Also perform simplification in the command line validation tool + * The recent commit "generalize to comma" was about a simplification. + * Add simplifiedExpression() + * Generalize time-only-autocorrect to work with ',' as well. + * Fix crash in my recently-added autocorrect check + * autocorrect wrong use of ';' where ',' was expected +- Only install the license files once + +------------------------------------------------------------------- +Wed Jul 7 08:58:12 UTC 2021 - Christophe Giboudeaux + +- Update to 21.04.3 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/21.04.3 +- No code change since 21.04.2 + +------------------------------------------------------------------- +Tue Jun 8 12:40:27 UTC 2021 - Christophe Giboudeaux + +- Update to 21.04.2 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/21.04.2 +- No code change since 21.04.1 + +------------------------------------------------------------------- +Wed May 12 06:08:12 UTC 2021 - Christophe Giboudeaux + +- Update to 21.04.1 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/releases/21.04.1 +- No code change since 21.04.0 + +------------------------------------------------------------------- +Fri Apr 16 16:12:28 UTC 2021 - Christophe Giboudeaux + +- Update to 21.04.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/gear/21.04 +- No code change since 21.03.90 + +------------------------------------------------------------------- +Fri Apr 9 17:40:54 UTC 2021 - Christophe Giboudeaux + +- Update to 21.03.90 + * New feature release +- No code change since 21.03.80 + +------------------------------------------------------------------- +Sun Mar 21 17:29:37 UTC 2021 - Christophe Giboudeaux + +- Initial package. diff --git a/kopeninghours.spec b/kopeninghours.spec new file mode 100644 index 0000000..0625c13 --- /dev/null +++ b/kopeninghours.spec @@ -0,0 +1,115 @@ +# +# spec file for package kopeninghours +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define kf6_version 6.0.0 +%define qt6_version 6.6.0 + +%bcond_without released +Name: kopeninghours +Version: 24.05.2 +Release: 0 +Summary: OSM opening hours expression parser and evaluator +License: LGPL-2.0-or-later +URL: https://www.kde.org +Source0: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz +%if %{with released} +Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig +Source2: applications.keyring +%endif +BuildRequires: bison +BuildRequires: doxygen +BuildRequires: flex +BuildRequires: cmake(KF6Holidays) >= %{kf6_version} +BuildRequires: cmake(KF6I18n) >= %{kf6_version} +BuildRequires: cmake(Qt6Core) >= %{qt6_version} +BuildRequires: cmake(Qt6Qml) >= %{qt6_version} +BuildRequires: cmake(Qt6Test) >= %{qt6_version} +BuildRequires: cmake(Qt6ToolsTools) >= %{qt6_version} + +%description +A library for parsing and evaluating OSM opening hours expressions. + +%package imports +Summary: QML imports for kopeninghours +Requires: libKOpeningHours1 = %{version} + +%description imports +kopeninghours is a library for parsing and evaluating OSM opening hours +expressions. +This package contains QML imports for using kopeninghours in QML apps. + +%package -n libKOpeningHours1 +Summary: OSM opening hours expression parser and evaluator +Requires: kopeninghours >= %{version} + +%description -n libKOpeningHours1 +A library for parsing and evaluating OSM opening hours expressions. + +%package devel +Summary: Development files for KOpeningHours +Requires: libKOpeningHours1 = %{version} + +%description devel +Include files and libraries needed to build programs that use the KOpeningHours +library. + +%lang_package + +%prep +%autosetup -p1 + +%build +%cmake_kf6 \ + -DBUILD_WITH_QT6:BOOL=TRUE \ + -DBUILD_QCH:BOOL=TRUE \ + -DBUILD_TESTING:BOOL=TRUE + +%kf6_build + +%install +%kf6_install + +%find_lang %{name} + +%check +export QT_QPA_PLATFORM=offscreen +%ctest + +%ldconfig_scriptlets -n libKOpeningHours1 + +%files +%{_kf6_debugdir}/org_kde_kopeninghours.categories + +%files imports +%{_kf6_qmldir}/org/kde/kopeninghours/ + +%files -n libKOpeningHours1 +%license LICENSES/* +%{_kf6_libdir}/libKOpeningHours.so.* + +%files devel +%doc %{_kf6_qchdir}/KOpeningHours.* +%{_includedir}/KOpeningHours/ +%{_includedir}/kopeninghours/ +%{_includedir}/kopeninghours_version.h +%{_kf6_cmakedir}/KOpeningHours/ +%{_kf6_libdir}/libKOpeningHours.so + +%files lang -f %{name}.lang + +%changelog